+ struct DIRECTIVE {
+ bool done;
+ char *desc;
+ };
+
+ DIRECTIVE directives[numdirectives];
+
+ directives[0].desc = "s_GameServ - GameServ Nickname";
+ directives[1].desc = "GSHOST - GameServ Hostname";
+ directives[2].desc = "GSIDENT - GameServ Ident";
+ directives[3].desc = "SERVERNAME - Pseudo Server's Name";
+ directives[4].desc = "C_FOREST - Forest Channel";
+ directives[5].desc = "C_FORESTTOPIC - Topic for the Forest Channel";
+ directives[6].desc = "REMOTESERVER - Server for gameserv to connect to (ip or hostname)";
+ directives[7].desc = "REMOTEPORT - Port on the remote server to connect to";
+ directives[8].desc = "REMOTEPASS - Password on the remote server";
+ directives[9].desc = "PLAYERDATA - File to store the player saves in";
+ directives[10].desc = "MONSTERDATA - File to load the monsters from";
+ directives[11].desc = "ADMINPASS - Password to identify as an admin with";
+ directives[12].desc = "WELCOMEDELAY - Delay (in seconds) to wait before welcoming new users to the network";
+ directives[13].desc = "FORESTFIGHTS - Number of forest fights players get every day";
+ directives[14].desc = "UPDATEPERIOD - Number of seconds between every player data save";
+ directives[15].desc = "PIDFILE - Filename to store the gameserv process ID in";
+ directives[16].desc = "MAXAFIGHTDISTANCE - The maximum number of levels above you "\
+ "that you can fight player->player";
+ directives[17].desc = "MAXBFIGHTDISTANCE - The maximum number of levels below you "\
+ "that you can fight player->player";
+ directives[18].desc = "MAXIDLETIME - The maximum amount of time (in seconds) "\
+ "that a player can be idle before something happens";
+ directives[19].desc = "IDLECHECKPERIOD - The period (in seconds) in which the entire "\
+ "players list will be checked for idlers. See also: "\
+ "MAXIDLETIME";
+ directives[20].desc = "LISTENONC_FOREST - True/False as to "\
+ "whether or not to listen for forest "\
+ "commands on the forest channel";
+
+ configflags = 0;
+
+ for (int count = 0; count < numdirectives; count++)
+ {
+ directives[count].done = false;
+ }
+