aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/graphics.h')
-rw-r--r--engines/queen/graphics.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/queen/graphics.h b/engines/queen/graphics.h
index 7eadf9a191..ad9a728cfe 100644
--- a/engines/queen/graphics.h
+++ b/engines/queen/graphics.h
@@ -86,9 +86,7 @@ struct BobSlot {
void scaleWalkSpeed(uint16 ms);
- void clear();
-
- static const Box _defaultBox;
+ void clear(const Box *defaultBox);
};
class QueenEngine;
@@ -135,6 +133,8 @@ public:
//! returns a reference to the specified bob
BobSlot *bob(int index);
+ void clearBob(int index) { bob(index)->clear(&_defaultBox); }
+
//! display a text 'near' the specified bob
void setBobText(const BobSlot *bob, const char *text, int textX, int textY, int color, int flags);
@@ -219,8 +219,9 @@ private:
QueenEngine *_vm;
- static const Box _gameScreenBox;
- static const Box _fullScreenBox;
+ const Box _defaultBox;
+ const Box _gameScreenBox;
+ const Box _fullScreenBox;
};
class BamScene {