30 #include "cge2/cge2.h" 34 #define kCommandFrameRate 80 35 #define kCommandFrameDelay (1000 / kCommandFrameRate) 36 #define kNoByte -1 // Recheck this! We have no proof for it's original value. 97 CommandType _commandType;
102 CallbackType _cbType;
104 static const char *_commandText[];
110 void addCommand(CommandType com,
int ref,
int val,
void *ptr);
111 void addCallback(CommandType com,
int ref,
int val, CallbackType cbType);
112 void insertCommand(CommandType com,
int ref,
int val,
void *ptr);
115 int getComId(
const char *com);
116 const char *getComStr(CommandType cmdType);