31 #include "common/str.h" 34 #include "gob/video.h" 35 #include "gob/sound/sounddesc.h" 46 static const uint8 kEnvironmentCount = 20;
52 void get(uint8 env)
const;
56 bool has(
Variables *variables, uint8 startEnv = 0, int16 except = -1)
const;
57 bool has(
Script *script , uint8 startEnv = 0, int16 except = -1)
const;
58 bool has(
Resources *resources, uint8 startEnv = 0, int16 except = -1)
const;
64 bool setMedia(uint8 env);
65 bool getMedia(uint8 env);
66 bool clearMedia(uint8 env);
86 Environment _environments[kEnvironmentCount];
87 Media _media[kEnvironmentCount];
104 static const uint8 kTotCount = 100;
123 Tot _tots[kTotCount];
126 void freeTot(Tot &tot);
128 bool loadIDE(Tot &tot);
130 int findFree()
const;
132 bool call(
const Tot &tot, uint16 offset)
const;
145 MouseButtons _mouseButtons;
155 char _forceHandleMouse;
162 void playTot(int16
function);
164 void capturePush(int16 left, int16 top, int16 width, int16 height);
165 void capturePop(
char doDraw);
167 void freeSoundSlot(int16 slot);
169 void wantScroll(int16 x, int16 y);
170 void evaluateScroll();
172 int16 checkKeys(int16 *pMousex = 0, int16 *pMouseY = 0,
173 MouseButtons *pButtons = 0,
char handleMouse = 0);
177 void switchTotSub(int16 index, int16
function);
194 int8 _curEnvironment;
195 int8 _numEnvironments;
200 void clearUnusedEnvironment();
Definition: variables.h:33
In find(In first, In last, const T &v)
Definition: algorithm.h:225
Definition: resources.h:82
Definition: sounddesc.h:43
Definition: hotspots.h:40