22 #ifndef ACCESS_SCRIPTS_H 23 #define ACCESS_SCRIPTS_H 25 #include "common/scummsys.h" 26 #include "common/memstream.h" 27 #include "access/data.h" 34 #define SCRIPT_START_BYTE 0xE0 35 #define ROOM_SCRIPT 2000 37 typedef void(Scripts::*ScriptMethodPtr)();
49 ScriptMethodPtr COMMAND_LIST[100];
51 virtual void executeSpecial(
int commandIndex,
int param1,
int param2) = 0;
52 virtual void executeCommand(
int commandIndex);
82 void cmdSetInventory();
83 void cmdCheckInventory();
103 void cmdSetDisplay();
107 void cmdVideoEnded();
109 void cmdPlayBufVid();
110 void cmdRemoveLast();
112 void cmdCheckAbout();
121 void cmdCheckVFrame();
122 void cmdJumpChoice();
123 void cmdReturnChoice();
124 void cmdClearBlock();
126 void cmdSetVideoSound();
127 void cmdPlayVideoSound();
128 void cmdPrintWatch();
130 void cmdPushLocation();
131 void cmdCheckTravel();
157 void setOpcodes_v2();
159 void setScript(
Resource *data,
bool restartFlag =
false);
161 void freeScriptData();
163 void searchForSequence();
178 void converse1(
int val);
void printString(const Common::String &msg)
Common::String readString()