aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-22 22:28:57 +0000
committerGregory Montoir2004-01-22 22:28:57 +0000
commit99e3175d548d5dce704aaedab9ed291a4b365dae (patch)
treecc1186fa37405b2bccb3b483390100e6edf591a0 /queen/graphics.h
parent90b96a94abeb8ee02d5468f9088a23174a0ccc60 (diff)
downloadscummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.tar.gz
scummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.tar.bz2
scummvm-rg350-99e3175d548d5dce704aaedab9ed291a4b365dae.zip
(slightly) less hackish bounding box code
svn-id: r12576
Diffstat (limited to 'queen/graphics.h')
-rw-r--r--queen/graphics.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/queen/graphics.h b/queen/graphics.h
index 967657461b..46a86f5e9f 100644
--- a/queen/graphics.h
+++ b/queen/graphics.h
@@ -73,6 +73,8 @@ struct BobSlot {
uint16 dx, dy;
uint16 total;
+ static const Box _defaultBox;
+
void curPos(int16 xx, int16 yy);
void move(int16 dstx, int16 dsty, int16 spd);
void moveOneStep();
@@ -95,7 +97,7 @@ public:
void unpackControlBank();
void setupMouseCursor();
- void drawBob(const BobSlot *bs, const BobFrame *bf, int16 x, int16 y);
+ void drawBob(const BobSlot *bs, const BobFrame *bf, const Box *box, int16 x, int16 y);
void drawInventoryItem(uint32 frameNum, uint16 x, uint16 y);
void pasteBob(uint16 objNum, uint16 image);
void shrinkFrame(const BobFrame *bf, uint16 percentage);
@@ -178,6 +180,9 @@ private:
int _cameraBob;
QueenEngine *_vm;
+
+ static const Box _gameScreenBox;
+ static const Box _fullScreenBox;
};
class BamScene {