From ceda8aec0250ccc9be6ed98eae9679bb0c387cba Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Tue, 6 Jan 2004 14:21:50 +0000 Subject: moved animation stuff to Graphics class svn-id: r12182 --- queen/graphics.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'queen/graphics.h') 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; -- cgit v1.2.3