forked from github/server
option --nomonsters um die Monster KI zu disablen (schnelleres debugging)
This commit is contained in:
parent
7ac253e6ff
commit
399e5aceb2
|
@ -98,6 +98,7 @@ extern int dropouts[2];
|
||||||
extern int * age;
|
extern int * age;
|
||||||
/* - exported global symbols ----------------------------------- */
|
/* - exported global symbols ----------------------------------- */
|
||||||
boolean nobattle = false;
|
boolean nobattle = false;
|
||||||
|
boolean nomonsters = false;
|
||||||
/* ------------------------------------------------------------- */
|
/* ------------------------------------------------------------- */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -3527,7 +3528,7 @@ processorders (void)
|
||||||
new_units();
|
new_units();
|
||||||
|
|
||||||
puts(" - Monster KI...");
|
puts(" - Monster KI...");
|
||||||
plan_monsters();
|
if (!nomonsters) plan_monsters();
|
||||||
set_passw(); /* und pruefe auf illegale Befehle */
|
set_passw(); /* und pruefe auf illegale Befehle */
|
||||||
|
|
||||||
puts(" - Defaults und Instant-Befehle...");
|
puts(" - Defaults und Instant-Befehle...");
|
||||||
|
|
|
@ -101,6 +101,7 @@ extern boolean noreports;
|
||||||
extern boolean nomer;
|
extern boolean nomer;
|
||||||
extern boolean nomsg;
|
extern boolean nomsg;
|
||||||
extern boolean nobattle;
|
extern boolean nobattle;
|
||||||
|
extern boolean nomonsters;
|
||||||
extern boolean nobattledebug;
|
extern boolean nobattledebug;
|
||||||
extern boolean dirtyload;
|
extern boolean dirtyload;
|
||||||
|
|
||||||
|
@ -499,6 +500,7 @@ usage(const char * prog, const char * arg)
|
||||||
"--noeiswald : beruhigt ungemein\n"
|
"--noeiswald : beruhigt ungemein\n"
|
||||||
"--nomsg : keine Messages (RAM sparen)\n"
|
"--nomsg : keine Messages (RAM sparen)\n"
|
||||||
"--nobattle : keine Kämpfe\n"
|
"--nobattle : keine Kämpfe\n"
|
||||||
|
"--nomonsters : keine monster KI\n"
|
||||||
"--nodebug : keine Logfiles für Kämpfe\n"
|
"--nodebug : keine Logfiles für Kämpfe\n"
|
||||||
"--debug : schreibt Debug-Ausgaben in die Datei debug\n"
|
"--debug : schreibt Debug-Ausgaben in die Datei debug\n"
|
||||||
"--nocr : keine CRs\n"
|
"--nocr : keine CRs\n"
|
||||||
|
@ -533,6 +535,7 @@ read_args(int argc, char **argv)
|
||||||
else if (strcmp(argv[i]+2, "nomsg")==0) nomsg = true;
|
else if (strcmp(argv[i]+2, "nomsg")==0) nomsg = true;
|
||||||
else if (strcmp(argv[i]+2, "noeiswald")==0) g_killeiswald = true;
|
else if (strcmp(argv[i]+2, "noeiswald")==0) g_killeiswald = true;
|
||||||
else if (strcmp(argv[i]+2, "nobattle")==0) nobattle = true;
|
else if (strcmp(argv[i]+2, "nobattle")==0) nobattle = true;
|
||||||
|
else if (strcmp(argv[i]+2, "nomonsters")==0) nomonsters = true;
|
||||||
else if (strcmp(argv[i]+2, "nodebug")==0) nobattledebug = true;
|
else if (strcmp(argv[i]+2, "nodebug")==0) nobattledebug = true;
|
||||||
#ifdef USE_MERIAN
|
#ifdef USE_MERIAN
|
||||||
else if (strcmp(argv[i]+2, "nomer")==0) nomer = true;
|
else if (strcmp(argv[i]+2, "nomer")==0) nomer = true;
|
||||||
|
|
Loading…
Reference in New Issue