aboutsummaryrefslogtreecommitdiff
path: root/engines/access/room.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-07 21:54:22 -0400
committerPaul Gilbert2014-08-07 21:54:22 -0400
commit0c38730f3fd4965fbf1b854f76ff936dddf9f931 (patch)
treea9777d76edcb2ae6448dab5003d07ca60a271f4f /engines/access/room.h
parent0183007d0b4f3b951ef2c704894655e894ce4a71 (diff)
downloadscummvm-rg350-0c38730f3fd4965fbf1b854f76ff936dddf9f931.tar.gz
scummvm-rg350-0c38730f3fd4965fbf1b854f76ff936dddf9f931.tar.bz2
scummvm-rg350-0c38730f3fd4965fbf1b854f76ff936dddf9f931.zip
ACCESS: Implement buildScreen
Diffstat (limited to 'engines/access/room.h')
-rw-r--r--engines/access/room.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/engines/access/room.h b/engines/access/room.h
index c42c3f1142..fa41d32552 100644
--- a/engines/access/room.h
+++ b/engines/access/room.h
@@ -24,12 +24,34 @@
#define ACCESS_ROOM_H
#include "common/scummsys.h"
+#include "common/array.h"
+#include "common/rect.h"
+#include "access/data.h"
namespace Access {
-class AccessEngine;
+class Plotter {
+public:
+ Common::Array<Common::Rect> _walls;
+ Common::Array<Common::Rect> _blocks;
+ int _blockIn;
+ int _delta;
+};
+
+class JetFrame {
+public:
+ int _wallCode;
+ int _wallCodeOld;
+ int _wallCode1;
+ int _wallCode1Old;
+
+ JetFrame() {
+ _wallCode = _wallCodeOld = 0;
+ _wallCode1 = _wallCode1Old = 0;
+ }
+};
-class Room {
+class Room: public Manager {
private:
void roomLoop();
protected:
@@ -48,6 +70,8 @@ protected:
virtual void setIconPalette() {}
public:
+ Plotter _plotter;
+ Common::Array<JetFrame> _jetFrame;
int _function;
int _roomFlag;
public:
@@ -61,6 +85,8 @@ public:
* Clear all the data used by the room
*/
void clearRoom();
+
+ void buildColumn(int playX, int screenX);
};