aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/room.h
diff options
context:
space:
mode:
authorĽubomír Remák2018-07-15 00:18:54 +0200
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commitfebff83a4edc89e1dbc6f4c56f5531f0eb8f3287 (patch)
tree756129c1736a39aad5473d7873810a3a742911ae /engines/mutationofjb/room.h
parentd2e354b51f637dc2e9b251256b5a017cb41cfe59 (diff)
downloadscummvm-rg350-febff83a4edc89e1dbc6f4c56f5531f0eb8f3287.tar.gz
scummvm-rg350-febff83a4edc89e1dbc6f4c56f5531f0eb8f3287.tar.bz2
scummvm-rg350-febff83a4edc89e1dbc6f4c56f5531f0eb8f3287.zip
MUTATIONOFJB: Draw objects (first frame only) and improve conversation support.
Diffstat (limited to 'engines/mutationofjb/room.h')
-rw-r--r--engines/mutationofjb/room.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mutationofjb/room.h b/engines/mutationofjb/room.h
index e57d2ebb61..083fba6335 100644
--- a/engines/mutationofjb/room.h
+++ b/engines/mutationofjb/room.h
@@ -26,6 +26,7 @@
#include "common/scummsys.h"
#include "common/array.h"
#include "graphics/surface.h"
+#include "graphics/managed_surface.h"
namespace Graphics {
class Screen;
@@ -44,9 +45,11 @@ public:
Room(Game *game, Graphics::Screen *screen);
bool load(uint8 roomNumber, bool roomB);
void drawObjectAnimation(uint8 objectId, int animOffset);
+ void redraw();
private:
Game *_game;
Graphics::Screen *_screen;
+ Graphics::ManagedSurface _background;
Common::Array<Graphics::Surface> _surfaces;
Common::Array<int> _objectsStart;
};