diff options
author | johndoe123 | 2014-03-17 12:57:39 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | f98c0defe561889fa40694484ee251174c59f5a4 (patch) | |
tree | 716069d7038e4178058e4b15360511a02b106bf3 /engines/illusions/illusions.h | |
parent | 9385238a59dc5e1790a21a8f9eaf761fc93a660e (diff) | |
download | scummvm-rg350-f98c0defe561889fa40694484ee251174c59f5a4.tar.gz scummvm-rg350-f98c0defe561889fa40694484ee251174c59f5a4.tar.bz2 scummvm-rg350-f98c0defe561889fa40694484ee251174c59f5a4.zip |
ILLUSIONS: Add Screen class and ajust code to use it
Diffstat (limited to 'engines/illusions/illusions.h')
-rw-r--r-- | engines/illusions/illusions.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/illusions/illusions.h b/engines/illusions/illusions.h index 4b5a1683d5..efae32154f 100644 --- a/engines/illusions/illusions.h +++ b/engines/illusions/illusions.h @@ -57,6 +57,7 @@ class BackgroundResource; class Camera; class Control; class Input; +class Screen; class ScriptResource; class ScriptMan; @@ -78,19 +79,13 @@ public: void updateEvents(); + Screen *_screen; Input *_input; ScriptMan *_scriptMan; ActorItems *_actorItems; BackgroundItems *_backgroundItems; Camera *_camera; - // Screen functions - Graphics::Surface *allocSurface(int16 width, int16 height); - Graphics::Surface *allocSurface(SurfInfo &surfInfo); - bool isDisplayOn(); - uint16 getColorKey2(); - Graphics::Surface *getBackSurface(); - Common::Point *getObjectActorPositionPtr(uint32 objectId); Control *findControl(uint32 objectId); ActorType *findActorType(uint32 actorTypeId); |