commands.cxx

changeset 16
393359908179
parent 12
1bdbfcca2fc6
child 17
b4fcc69e426a
equal deleted inserted replaced
15:284c2fc6c1cd 16:393359908179
48 #include "commands.h" 48 #include "commands.h"
49 49
50 CommandDef* g_CommDef; 50 CommandDef* g_CommDef;
51 51
52 void ReadCommands () { 52 void ReadCommands () {
53 ScriptReader* r = new ScriptReader ((char*)"commands.def"); 53 ScriptReader* r = new ScriptReader ("commands.def");
54 g_CommDef = NULL; 54 g_CommDef = NULL;
55 CommandDef* curdef = g_CommDef; 55 CommandDef* curdef = g_CommDef;
56 unsigned int numCommDefs = 0; 56 unsigned int numCommDefs = 0;
57 57
58 while (r->PeekNext().compare ("") != 0) { 58 while (r->PeekNext().compare ("") != 0) {

mercurial