aboutsummaryrefslogtreecommitdiff
path: root/queen/graphics.h
diff options
context:
space:
mode:
authorGregory Montoir2004-01-06 14:21:50 +0000
committerGregory Montoir2004-01-06 14:21:50 +0000
commitceda8aec0250ccc9be6ed98eae9679bb0c387cba (patch)
tree49658e4d23ac1d7c3bd7642d5f2a198f8ba224dd /queen/graphics.h
parent065f2bb9eb0ac7b7d7b56ef1f8e76c2638cb484e (diff)
downloadscummvm-rg350-ceda8aec0250ccc9be6ed98eae9679bb0c387cba.tar.gz
scummvm-rg350-ceda8aec0250ccc9be6ed98eae9679bb0c387cba.tar.bz2
scummvm-rg350-ceda8aec0250ccc9be6ed98eae9679bb0c387cba.zip
moved animation stuff to Graphics class
svn-id: r12182
Diffstat (limited to 'queen/graphics.h')
-rw-r--r--queen/graphics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/queen/graphics.h b/queen/graphics.h
index 0df17c1141..2b9140c331 100644
--- a/queen/graphics.h
+++ b/queen/graphics.h
@@ -179,6 +179,12 @@ public:
int textCenterX(const char *text) const; // MIDDLE()
void textColor(uint16 y, uint8 color) { _texts[y].color = color; }
+ uint16 animCreate(uint16 curImage, const Person *person);
+ void animSetup(const GraphicData *gd, uint16 firstImage, uint16 bobNum, bool visible);
+ void animReset(uint16 bobNum);
+ void animErase(uint16 bobNum);
+ void animEraseAll();
+
void loadPanel();
void putCameraOnBob(int bobNum) { _cameraBob = bobNum; }
@@ -209,6 +215,8 @@ private:
TextSlot _texts[GAME_SCREEN_HEIGHT];
uint8 _curTextColor;
+ AnimFrame _newAnim[17][30];
+
int _cameraBob;
QueenEngine *_vm;