diff options
author | Filippos Karapetis | 2016-09-26 22:27:14 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-03 00:34:09 +0300 |
commit | 8767b44fe0e216145e6f4218966b604e158f912e (patch) | |
tree | 7a703ad68034e38aa50d2b964aa434465f298448 /engines/chewy/graphics.h | |
parent | 94a942755e745bc3553b3d8cc83e533688d867fa (diff) | |
download | scummvm-rg350-8767b44fe0e216145e6f4218966b604e158f912e.tar.gz scummvm-rg350-8767b44fe0e216145e6f4218966b604e158f912e.tar.bz2 scummvm-rg350-8767b44fe0e216145e6f4218966b604e158f912e.zip |
CHEWY: Initial work on cursor animations
Diffstat (limited to 'engines/chewy/graphics.h')
-rw-r--r-- | engines/chewy/graphics.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/chewy/graphics.h b/engines/chewy/graphics.h index 64c4255324..381e8f513c 100644 --- a/engines/chewy/graphics.h +++ b/engines/chewy/graphics.h @@ -27,18 +27,24 @@ namespace Chewy { +class SpriteResource; + class Graphics { public: - Graphics() {} - ~Graphics() {} + Graphics(); + ~Graphics(); void drawImage(Common::String filename, int imageNum); void playVideo(uint num); - void setCursor(uint num); + void setCursor(uint num, bool newCursor = true); void showCursor(); void hideCursor(); + void animateCursor(); + void nextCursor(); private: - + uint _curCursor; + uint _curCursorFrame; + SpriteResource *_cursorSprites; }; } // End of namespace Chewy |