1265 |
1265 |
1266 return NULL; |
1266 return NULL; |
1267 } |
1267 } |
1268 |
1268 |
1269 static void IConsoleStdLibRegister() { |
1269 static void IConsoleStdLibRegister() { |
|
1270 // functions |
1270 IConsoleCmdRegister("debug_level",IConsoleStdLibDebugLevel); |
1271 IConsoleCmdRegister("debug_level",IConsoleStdLibDebugLevel); |
1271 IConsoleCmdRegister("dump_vars",IConsoleStdLibListDumpVariables); |
1272 IConsoleCmdRegister("dump_vars",IConsoleStdLibListDumpVariables); |
1272 IConsoleCmdRegister("echo",IConsoleStdLibEcho); |
1273 IConsoleCmdRegister("echo",IConsoleStdLibEcho); |
1273 IConsoleCmdRegister("echoc",IConsoleStdLibEchoC); |
1274 IConsoleCmdRegister("echoc",IConsoleStdLibEchoC); |
1274 IConsoleCmdRegister("exit",IConsoleStdLibExit); |
1275 IConsoleCmdRegister("exit",IConsoleStdLibExit); |
1279 IConsoleCmdRegister("random",IConsoleStdLibRandom); |
1280 IConsoleCmdRegister("random",IConsoleStdLibRandom); |
1280 IConsoleCmdRegister("list_cmds",IConsoleStdLibListCommands); |
1281 IConsoleCmdRegister("list_cmds",IConsoleStdLibListCommands); |
1281 IConsoleCmdRegister("list_vars",IConsoleStdLibListVariables); |
1282 IConsoleCmdRegister("list_vars",IConsoleStdLibListVariables); |
1282 IConsoleCmdRegister("screenshot",IConsoleStdLibScreenShot); |
1283 IConsoleCmdRegister("screenshot",IConsoleStdLibScreenShot); |
1283 IConsoleCmdRegister("varinfo",IConsoleStdLibVarInfo); |
1284 IConsoleCmdRegister("varinfo",IConsoleStdLibVarInfo); |
|
1285 IConsoleCmdRegister("resetengines",IConsoleResetEngines); |
|
1286 |
|
1287 // variables |
1284 IConsoleVarRegister("cursor_rate",(void *) &_icursor_rate,ICONSOLE_VAR_BYTE); |
1288 IConsoleVarRegister("cursor_rate",(void *) &_icursor_rate,ICONSOLE_VAR_BYTE); |
1285 IConsoleVarRegister("con_developer",(void *) &_stdlib_con_developer,ICONSOLE_VAR_BOOLEAN); |
1289 IConsoleVarRegister("con_developer",(void *) &_stdlib_con_developer,ICONSOLE_VAR_BOOLEAN); |
1286 IConsoleVarRegister("developer",(void *) &_stdlib_developer,ICONSOLE_VAR_BYTE); |
1290 IConsoleVarRegister("developer",(void *) &_stdlib_developer,ICONSOLE_VAR_BYTE); |
1287 #if defined(_DEBUG) |
1291 #if defined(_DEBUG) |
1288 { |
1292 { |