diff options
author | johndoe123 | 2014-04-15 13:50:05 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 60600191a07fe8e7f4945b5dab63b5b374111ed4 (patch) | |
tree | 02b0a8e0db3dc5e095b2b93fedb0e1f576048f1a /engines/illusions/illusions.h | |
parent | 1f74de6a4679cecba4fd77e9c79cfaee9c3dd0f6 (diff) | |
download | scummvm-rg350-60600191a07fe8e7f4945b5dab63b5b374111ed4.tar.gz scummvm-rg350-60600191a07fe8e7f4945b5dab63b5b374111ed4.tar.bz2 scummvm-rg350-60600191a07fe8e7f4945b5dab63b5b374111ed4.zip |
ILLUSIONS: Use the UpdateFunctions class for update routines
Diffstat (limited to 'engines/illusions/illusions.h')
-rw-r--r-- | engines/illusions/illusions.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/engines/illusions/illusions.h b/engines/illusions/illusions.h index 4ef193156d..ae7b4af7b1 100644 --- a/engines/illusions/illusions.h +++ b/engines/illusions/illusions.h @@ -72,6 +72,7 @@ class Sequence; class SpecialCode; class TalkItems; class ThreadList; +class UpdateFunctions; enum { kGameIdBBDOU = 1, @@ -96,6 +97,7 @@ public: Common::RandomSource *_random; Dictionary *_dict; ResourceSystem *_resSys; + UpdateFunctions *_updateFunctions; void updateEvents(); @@ -133,11 +135,14 @@ public: return _gameDescription->gameId; } - Common::Point *getObjectActorPositionPtr(uint32 objectId); + void runUpdateFunctions(); + int updateActors(uint flags); + int updateSequences(uint flags); + int updateGraphics(uint flags); + int updateSprites(uint flags); + uint32 getElapsedUpdateTime(); - int updateActors(); - int updateSequences(); - int updateGraphics(); + Common::Point *getObjectActorPositionPtr(uint32 objectId); int getRandom(int max); int convertPanXCoord(int16 x); bool calcPointDirection(Common::Point &srcPt, Common::Point &dstPt, uint &facing); |