From 404c7cd5d33e81c7724cb78dfce5701b26b4659b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 17 Aug 2014 11:14:30 -0400 Subject: ACCESS: Split the bubble box code from Room into it's own file --- engines/access/room.h | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) (limited to 'engines/access/room.h') diff --git a/engines/access/room.h b/engines/access/room.h index 22dbd16411..f76db6f681 100644 --- a/engines/access/room.h +++ b/engines/access/room.h @@ -58,22 +58,6 @@ public: } }; -class BubbleBox { -public: - int _type; - Common::Rect _bounds; - Common::String _bubbleTitle; - const char *_bubblePtr; - int _maxChars; - Common::Array _bubbles; -public: - BubbleBox(); - - void load(Common::SeekableReadStream *stream); - - void clearBubbles(); -}; - class Room: public Manager { private: void roomLoop(); @@ -125,10 +109,11 @@ protected: virtual void roomMenu() = 0; virtual void mainAreaClick() = 0; +public: + virtual void setIconPalette() {} public: Plotter _plotter; Common::Array _jetFrame; - BubbleBox _bubbleBox; int _function; int _roomFlag; byte *_playField; @@ -156,21 +141,8 @@ public: void buildRow(int playY, int screenY); void init4Quads(); - - virtual void setIconPalette() {} - void placeBubble(); - void placeBubble1(); - - void calcBubble(); - - void printBubble(); - - void drawBubble(int index); - - void doBox(); }; - class RoomInfo { public: struct FileIdent { -- cgit v1.2.3