diff options
Diffstat (limited to 'engines/director/director.h')
-rw-r--r-- | engines/director/director.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/director/director.h b/engines/director/director.h index 2f0b65288f..3c3e2e947a 100644 --- a/engines/director/director.h +++ b/engines/director/director.h @@ -28,6 +28,7 @@ #include "common/hashmap.h" #include "engines/engine.h" +#include "director/cast.h" namespace Common { class MacResManager; @@ -50,7 +51,7 @@ struct DirectorGameDescription; class DirectorSound; class Lingo; class Score; -struct Cast; +class Cast; enum { kDebugLingoExec = 1 << 0, @@ -89,6 +90,7 @@ public: Archive *getMainArchive() const { return _mainArchive; } Lingo *getLingo() const { return _lingo; } Score *getCurrentScore() const { return _currentScore; } + Score *getSharedScore() const { return _sharedScore; } void setPalette(byte *palette, uint16 count); bool hasFeature(EngineFeature f) const; const byte *getPalette() const { return _currentPalette; } @@ -103,11 +105,12 @@ public: void cleanupMainArchive(); void processEvents(); // evetns.cpp + void setDraggedSprite(uint16 id); // events.cpp Common::HashMap<int, Common::SeekableSubReadStreamEndian *> *getSharedDIB() const { return _sharedDIB; } Common::HashMap<int, Common::SeekableSubReadStreamEndian *> *getSharedBMP() const { return _sharedBMP; } Common::HashMap<int, Common::SeekableSubReadStreamEndian *> *getSharedSTXT() const { return _sharedSTXT; } - Common::HashMap<int, Cast *> *getSharedCasts(); + Common::HashMap<int, CastType> *getSharedCastTypes(); Common::HashMap<Common::String, Score *> *_movies; @@ -159,7 +162,11 @@ private: Graphics::MacPatterns _director3QuickDrawPatterns; Common::String _sharedCastFile; - Common::HashMap<int, Cast *> _dummyCast; + Common::HashMap<int, CastType> _dummyCastType; + + bool _draggingSprite; + uint16 _draggingSpriteId; + Common::Point _draggingSpritePos; private: void testFontScaling(); |