27 #ifndef CGE_COMMANDHANDLER_H 28 #define CGE_COMMANDHANDLER_H 34 #define kCommandFrameRate 80 35 #define kCommandFrameDelay (1000 / kCommandFrameRate) 39 kCmdLabel, kCmdPause, kCmdWait, kCmdLevel, kCmdHide,
40 kCmdSay, kCmdInf, kCmdTime, kCmdCave, kCmdKill,
41 kCmdRSeq, kCmdSeq, kCmdSend, kCmdSwap, kCmdKeep,
42 kCmdGive, kCmdIf, kCmdGame, kCmdSetX0, kCmdSetY0,
43 kCmdSlave, kCmdSetXY, kCmdRelX, kCmdRelY, kCmdRelZ,
44 kCmdSetX, kCmdSetY, kCmdSetZ, kCmdTrans, kCmdPort,
45 kCmdNext, kCmdNNext, kCmdTNext, kCmdRNNext, kCmdRTNext,
46 kCmdRMNear, kCmdRmTake, kCmdFlag, kCmdSetRef, kCmdBackPt,
47 kCmdFlash, kCmdLight, kCmdSetVBarrier, kCmdSetHBarrier, kCmdWalk,
48 kCmdReach, kCmdCover, kCmdUncover, kCmdClear, kCmdTalk,
49 kCmdMouse, kCmdSound, kCmdCount, kCmdExec, kCmdStep,
56 CommandType _commandType;
62 static const char *_commandText[];
68 void addCommand(CommandType com,
int ref,
int val,
void *ptr);
69 void addCallback(CommandType com,
int ref,
int val, CallbackType cbType);
70 void insertCommand(CommandType com,
int ref,
int val,
void *ptr);