X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Frun.h;h=400f0799b38379af51d63b31e26edd1618a3debf;hb=51aa064d49b98de950dbcd7b154fa73d5d2eb359;hp=07ca9029f24655a0b66a87466dc1ac512da0f4c3;hpb=1452d43c6d7c89219cda91362da53ac8e4acb887;p=plomrogue diff --git a/src/server/run.h b/src/server/run.h index 07ca902..400f079 100644 --- a/src/server/run.h +++ b/src/server/run.h @@ -11,9 +11,10 @@ /* Try parsing "msg" into a command to apply, and apply it. Record commands to - * the file at world.path_record if "do_record" is set. + * the file at world.path_record if "do_record" is set, and output them to + * stdout if "do_verbose" and world.is_verbose are set. */ -extern void obey_msg(char * msg, uint8_t do_record); +extern void obey_msg(char * msg, uint8_t do_record, uint8_t do_verbose); /* Loop for receiving commands via io_round() and acting on them. Exits with 1 * on "QUIT" command. In replay mode, exits with 0 on each non-"QUIT" command.