aboutsummaryrefslogtreecommitdiff
path: root/engines/access/room.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-16 20:26:17 -0400
committerPaul Gilbert2014-08-16 20:26:17 -0400
commit8d6c8ed452bc60a963774ea7a26ff92472752d63 (patch)
tree478cd959643b4ba728089cf6346f9d9130b76177 /engines/access/room.h
parenta42e52fb5baa2d9ed9e2d726cfdf0365acd15472 (diff)
downloadscummvm-rg350-8d6c8ed452bc60a963774ea7a26ff92472752d63.tar.gz
scummvm-rg350-8d6c8ed452bc60a963774ea7a26ff92472752d63.tar.bz2
scummvm-rg350-8d6c8ed452bc60a963774ea7a26ff92472752d63.zip
ACCESS: Beginnings of code for text bubble drawing
Diffstat (limited to 'engines/access/room.h')
-rw-r--r--engines/access/room.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/engines/access/room.h b/engines/access/room.h
index 19c3cc423b..9b26ed24e8 100644
--- a/engines/access/room.h
+++ b/engines/access/room.h
@@ -58,6 +58,22 @@ public:
}
};
+class BubbleBox {
+public:
+ int _field0;
+ Common::Rect _bounds;
+ Common::Array<int> _bubbleTit;
+ int _bubblePtr;
+ int _maxChars;
+ Common::Array<Common::Rect> _bubbles;
+public:
+ BubbleBox();
+
+ void load(Common::SeekableReadStream *stream);
+
+ void clearBubbles();
+};
+
class Room: public Manager {
private:
void roomLoop();
@@ -114,6 +130,7 @@ protected:
public:
Plotter _plotter;
Common::Array<JetFrame> _jetFrame;
+ BubbleBox _bubbleBox;
int _function;
int _roomFlag;
byte *_playField;
@@ -141,6 +158,13 @@ public:
void buildRow(int playY, int screenY);
void init4Quads();
+
+ void placeBubble();
+ void placeBubble1();
+
+ void calcBubble();
+
+ void printBubble();
};