diff options
author | Denis Kasak | 2009-07-24 05:00:53 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-24 05:00:53 +0000 |
commit | c1ad0c3926f4d53a9c5fdefefde9344d4abb6f10 (patch) | |
tree | b6927f0a7416aa6148ea023d9bb0a5460fef00cf /engines/draci/game.h | |
parent | a2bca06b3fe00379d8accf29e7f442fe0a3cd781 (diff) | |
download | scummvm-rg350-c1ad0c3926f4d53a9c5fdefefde9344d4abb6f10.tar.gz scummvm-rg350-c1ad0c3926f4d53a9c5fdefefde9344d4abb6f10.tar.bz2 scummvm-rg350-c1ad0c3926f4d53a9c5fdefefde9344d4abb6f10.zip |
* Added tracking and deleting animations by index (which represents the order in which they were loaded). This is needed by some GPL commands.
* Added Game::getNumObjects() which returns the number of objects in the game
* Fixed segfault (accessing a null Animation *)
* Added some docs to various things
svn-id: r42683
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index 511ce95e85..d4c9c256ee 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -177,6 +177,7 @@ public: void loadOverlays(); void loadObject(uint numObj); + uint getNumObjects(); GameObject *getObject(uint objNum); int getVariable(int varNum); @@ -184,6 +185,9 @@ public: int getIconStatus(int iconID); + int getMarkedAnimationIndex(); + void setMarkedAnimationIndex(int index); + private: DraciEngine *_vm; int *_variables; @@ -193,6 +197,8 @@ private: byte *_iconStatus; GameObject *_objects; Room _currentRoom; + + int _markedAnimationIndex; //!< Used by the Mark GPL command }; } // End of namespace Draci |