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];
105 static const uint8 kTotCount = 100;
124 Tot _tots[kTotCount];
127 void freeTot(Tot &tot);
129 bool loadIDE(Tot &tot);
131 int findFree()
const;
133 bool call(
const Tot &tot, uint16 offset)
const;
146 MouseButtons _mouseButtons;
148 bool _hasForwardedEventsFromVideo;
149 MouseButtons _forwardedMouseButtonsFromVideo;
150 int16 _forwardedKeyFromVideo;
160 char _forceHandleMouse;
167 void playTot(int32
function);
169 void capturePush(int16 left, int16 top, int16 width, int16 height);
170 void capturePop(
char doDraw);
172 void freeSoundSlot(int16 slot);
174 void wantScroll(int16 x, int16 y);
175 void evaluateScroll();
177 int16 checkKeys(int16 *pMousex = 0, int16 *pMouseY = 0,
178 MouseButtons *pButtons = 0,
char handleMouse = 0);
182 void switchTotSub(int16 index, int16
function);
200 int8 _curEnvironment;
201 int8 _numEnvironments;
206 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