aboutsummaryrefslogtreecommitdiff
path: root/engines/access/room.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-17 11:14:30 -0400
committerPaul Gilbert2014-08-17 11:14:30 -0400
commit404c7cd5d33e81c7724cb78dfce5701b26b4659b (patch)
tree8a12ed71a663b1ddf224d9cacdd9bbac6fa9c611 /engines/access/room.h
parent3e61eb9cc3f233fabf34f54069a1a1209e257008 (diff)
downloadscummvm-rg350-404c7cd5d33e81c7724cb78dfce5701b26b4659b.tar.gz
scummvm-rg350-404c7cd5d33e81c7724cb78dfce5701b26b4659b.tar.bz2
scummvm-rg350-404c7cd5d33e81c7724cb78dfce5701b26b4659b.zip
ACCESS: Split the bubble box code from Room into it's own file
Diffstat (limited to 'engines/access/room.h')
-rw-r--r--engines/access/room.h32
1 files changed, 2 insertions, 30 deletions
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<Common::Rect> _bubbles;
-public:
- BubbleBox();
-
- void load(Common::SeekableReadStream *stream);
-
- void clearBubbles();
-};
-
class Room: public Manager {
private:
void roomLoop();
@@ -126,9 +110,10 @@ protected:
virtual void mainAreaClick() = 0;
public:
+ virtual void setIconPalette() {}
+public:
Plotter _plotter;
Common::Array<JetFrame> _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 {