aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game.h')
-rw-r--r--engines/gob/game.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/gob/game.h b/engines/gob/game.h
index 186afdee1a..7f8bf67153 100644
--- a/engines/gob/game.h
+++ b/engines/gob/game.h
@@ -27,6 +27,8 @@
#define GOB_GAME_H
#include "gob/util.h"
+#include "gob/video.h"
+#include "gob/sound/sounddesc.h"
namespace Gob {
@@ -53,6 +55,10 @@ public:
void clear();
+ bool setMedia(uint8 env);
+ bool getMedia(uint8 env);
+ bool clearMedia(uint8 env);
+
private:
struct Environment {
int32 cursorHotspotX;
@@ -63,9 +69,16 @@ private:
Resources *resources;
};
+ struct Media {
+ SurfacePtr sprites[10];
+ SoundDesc sounds[10];
+ Font *fonts[17];
+ };
+
GobEngine *_vm;
Environment _environments[kEnvironmentCount];
+ Media _media[kEnvironmentCount];
};
class Game {