22 #ifndef SCUMM_SCRIPT_V5_H 23 #define SCUMM_SCRIPT_V5_H 25 #include "scumm/scumm.h" 31 uint16 _cursorImages[4][17];
32 byte _cursorHotspots[2 * 4];
37 uint16 xStrips, yStrips;
41 char _saveLoadVarsFilename[256];
54 void clearFlashlight();
56 void resetCursors()
override;
59 void setupOpcodes()
override;
61 void scummLoop_handleActors()
override;
62 void scummLoop_handleSaveLoad()
override;
64 void setupScummVars()
override;
65 void resetScummVars()
override;
66 virtual void decodeParseString();
67 void decodeParseStringTextString(
int textSlot);
68 void printPatchedMI1CannibalString(
int textSlot,
const byte *ptr);
72 void readMAXS(
int blockSize)
override;
74 int getWordVararg(
int *ptr);
77 virtual int getVarOrDirectByte(byte mask);
78 virtual int getVarOrDirectWord(byte mask);
80 virtual void getResultPos();
81 void setResult(
int result);
83 void animateCursor()
override;
85 void setBuiltinCursor(
int index)
override;
86 void redefineBuiltinCursorFromChar(
int index,
int chr);
87 void redefineBuiltinCursorHotspot(
int index,
int x,
int y);
89 void drawFlashlight();
91 void walkActorToActor(
int actor,
int toActor,
int dist);
100 void o5_actorFollowCamera();
101 void o5_actorFromPos();
105 void o5_animateActor();
107 void o5_chainScript();
108 void o5_cursorCommand();
113 void o5_delayVariable();
115 void o5_doSentence();
117 void o5_drawObject();
119 void o5_endCutscene();
121 void o5_expression();
123 void o5_findInventory();
124 void o5_findObject();
125 void o5_freezeScripts();
126 void o5_getActorCostume();
127 void o5_getActorElevation();
128 void o5_getActorFacing();
129 void o5_getActorMoving();
130 void o5_getActorRoom();
131 void o5_getActorScale();
132 void o5_getActorWalkBox();
133 void o5_getActorWidth();
136 void o5_getAnimCounter();
137 void o5_getClosestObjActor();
139 void o5_getInventoryCount();
140 void o5_getObjectOwner();
141 void o5_getObjectState();
142 void o5_getRandomNr();
143 void o5_getStringWidth();
144 void o5_getVerbEntrypoint();
145 void o5_ifClassOfIs();
147 void o5_isActorInBox();
150 void o5_isGreaterEqual();
152 void o5_isLessEqual();
153 void o5_isNotEqual();
154 void o5_isScriptRunning();
155 void o5_isSoundRunning();
156 void o5_jumpRelative();
159 void o5_loadRoomWithEgo();
163 void o5_notEqualZero();
165 void o5_beginOverride();
166 void o5_panCameraTo();
167 void o5_pickupObject();
170 void o5_pseudoRoom();
172 void o5_putActorAtObject();
173 void o5_putActorInRoom();
175 void o5_resourceRoutines();
177 void o5_saveRestoreVerbs();
178 void o5_setCameraAt();
180 void o5_setObjectName();
181 void o5_setOwnerOf();
183 void o5_setVarRange();
184 void o5_soundKludge();
185 void o5_startMusic();
186 void o5_startObject();
187 void o5_startScript();
188 void o5_startSound();
190 void o5_stopObjectCode();
191 void o5_stopObjectScript();
192 void o5_stopScript();
198 void o5_walkActorTo();
199 void o5_walkActorToActor();
200 void o5_walkActorToObject();
Definition: scumm_v5.h:29
Definition: serializer.h:79
void jumpRelative(bool cond)
Definition: detection.h:132