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/actor.cpp | |
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/actor.cpp')
-rw-r--r-- | engines/illusions/actor.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp index ee4f677187..d7d7fb5702 100644 --- a/engines/illusions/actor.cpp +++ b/engines/illusions/actor.cpp @@ -24,6 +24,7 @@ #include "illusions/actor.h" #include "illusions/camera.h" #include "illusions/input.h" +#include "illusions/screen.h" namespace Illusions { @@ -60,7 +61,7 @@ void Actor::unpause() { } void Actor::createSurface(SurfInfo &surfInfo) { - _surface = _vm->allocSurface(surfInfo); + _surface = _vm->_screen->allocSurface(surfInfo); if (_frameIndex) { if (_surfaceTextFlag) { /* TODO @@ -348,4 +349,7 @@ void Control::setActorFrameIndex(int16 frameIndex) { } } +// Controls + + } // End of namespace Illusions |