diff options
author | Sven Hesse | 2011-01-27 13:27:58 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-27 13:27:58 +0000 |
commit | eb3667d7c9efcefe3a9e4e57edc3aefa603d6416 (patch) | |
tree | 138802865180f9034aa174868781e276e5089296 /engines/gob/game.h | |
parent | 95ed10addee68cc91c2e2b8f2450b63022c61162 (diff) | |
download | scummvm-rg350-eb3667d7c9efcefe3a9e4e57edc3aefa603d6416.tar.gz scummvm-rg350-eb3667d7c9efcefe3a9e4e57edc3aefa603d6416.tar.bz2 scummvm-rg350-eb3667d7c9efcefe3a9e4e57edc3aefa603d6416.zip |
GOB: Implement backuping of sprites, sounds, fonts in totSub
svn-id: r55565
Diffstat (limited to 'engines/gob/game.h')
-rw-r--r-- | engines/gob/game.h | 13 |
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 { |