46 #include "str.h" |
46 #include "str.h" |
47 #include "commands.h" |
47 #include "commands.h" |
48 |
48 |
49 CommandDef* g_CommDef; |
49 CommandDef* g_CommDef; |
50 |
50 |
51 #define MAX |
|
52 void ReadCommands () { |
51 void ReadCommands () { |
53 ScriptReader* r = new ScriptReader ((char*)"commands.def"); |
52 ScriptReader* r = new ScriptReader ((char*)"commands.def"); |
54 g_CommDef = NULL; |
53 g_CommDef = NULL; |
55 CommandDef* curdef = g_CommDef; |
54 CommandDef* curdef = g_CommDef; |
56 unsigned int numCommDefs = 0; |
55 unsigned int numCommDefs = 0; |