aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/illusions.h
diff options
context:
space:
mode:
authorjohndoe1232014-03-17 12:57:39 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commitf98c0defe561889fa40694484ee251174c59f5a4 (patch)
tree716069d7038e4178058e4b15360511a02b106bf3 /engines/illusions/illusions.h
parent9385238a59dc5e1790a21a8f9eaf761fc93a660e (diff)
downloadscummvm-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.h9
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);