From 8d6c8ed452bc60a963774ea7a26ff92472752d63 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 16 Aug 2014 20:26:17 -0400 Subject: ACCESS: Beginnings of code for text bubble drawing --- engines/access/room.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'engines/access/room.h') 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 _bubbleTit; + int _bubblePtr; + int _maxChars; + Common::Array _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; + 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(); }; -- cgit v1.2.3