console_cmds.c
changeset 1093 4fdc46eaf423
parent 1089 6927d10ed92d
child 1095 b59632d9df1b
equal deleted inserted replaced
1092:e3b4a131db7c 1093:4fdc46eaf423
   138 
   138 
   139 	return 0;
   139 	return 0;
   140 }
   140 }
   141 
   141 
   142 extern bool SafeSaveOrLoad(const char *filename, int mode, int newgm);
   142 extern bool SafeSaveOrLoad(const char *filename, int mode, int newgm);
   143 extern void BuildFileList();
   143 extern void BuildFileList(void);
   144 extern void SetFiosType(const byte fiostype);
   144 extern void SetFiosType(const byte fiostype);
   145 
   145 
   146 /* Load a file-number from current dir */
   146 /* Load a file-number from current dir */
   147 static void LoadMap(uint no)
   147 static void LoadMap(uint no)
   148 {
   148 {
  1165 #ifdef _DEBUG
  1165 #ifdef _DEBUG
  1166 /* ****************************************** */
  1166 /* ****************************************** */
  1167 /*  debug commands and variables */
  1167 /*  debug commands and variables */
  1168 /* ****************************************** */
  1168 /* ****************************************** */
  1169 
  1169 
  1170 void IConsoleDebugLibRegister()
  1170 void IConsoleDebugLibRegister(void)
  1171 {
  1171 {
  1172 	// debugging variables and functions
  1172 	// debugging variables and functions
  1173 	extern bool _stdlib_con_developer; /* XXX extern in .c */
  1173 	extern bool _stdlib_con_developer; /* XXX extern in .c */
  1174 
  1174 
  1175 	IConsoleVarRegister("con_developer", &_stdlib_con_developer, ICONSOLE_VAR_BOOLEAN);
  1175 	IConsoleVarRegister("con_developer", &_stdlib_con_developer, ICONSOLE_VAR_BOOLEAN);