commands.cxx

changeset 11
f08abacb46c9
parent 10
2c0f76090372
child 12
1bdbfcca2fc6
equal deleted inserted replaced
10:2c0f76090372 11:f08abacb46c9
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 ((char*)"commands.def");
54 r->extdelimeters = true;
55 g_CommDef = NULL; 54 g_CommDef = NULL;
56 CommandDef* curdef = g_CommDef; 55 CommandDef* curdef = g_CommDef;
57 unsigned int numCommDefs = 0; 56 unsigned int numCommDefs = 0;
58 57
59 while (r->PeekNext().compare ("") != 0) { 58 while (r->PeekNext().compare ("") != 0) {

mercurial