diff options
author | Gregory Montoir | 2003-10-17 14:26:05 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-10-17 14:26:05 +0000 |
commit | f4b5626fd763a22d96d39757c9688ffcf13bb823 (patch) | |
tree | cfe9aba53e7b35c19bbfaa1a750611784f5d6595 /queen/graphics.h | |
parent | 323c338169672d60b43d924c57b6e03adbd2ca21 (diff) | |
download | scummvm-rg350-f4b5626fd763a22d96d39757c9688ffcf13bb823.tar.gz scummvm-rg350-f4b5626fd763a22d96d39757c9688ffcf13bb823.tar.bz2 scummvm-rg350-f4b5626fd763a22d96d39757c9688ffcf13bb823.zip |
preliminar parallax scrolling support (Rita/Joe intro scene), not perfect as Bobs coordinates are also modified in cutaway/action_special_move
svn-id: r10860
Diffstat (limited to 'queen/graphics.h')
-rw-r--r-- | queen/graphics.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/queen/graphics.h b/queen/graphics.h index d68d4e8e5e..7a80bdb3d0 100644 --- a/queen/graphics.h +++ b/queen/graphics.h @@ -135,6 +135,7 @@ public: void bobDrawAll(); // drawbobs() void bobClearAll(); // clearallbobs() BobSlot *bob(int index); + void bobCustomParallax(uint16 roomNum); void textCurrentColor(uint8 color); // ink() void textSet(uint16 x, uint16 y, const char *text, bool outlined = true); // text() @@ -153,6 +154,8 @@ public: void journalBobSetup(uint32 bobnum, uint16 x, uint16 y, uint16 frame); void journalBobPreDraw(); + void setCameraBob(int bobNum); + void update(); @@ -187,7 +190,9 @@ private: TextSlot _texts[GAME_SCREEN_HEIGHT]; uint8 _curTextColor; - uint16 _cameraBob; // cambob + int _cameraBob; // cambob + + uint16 _lastRoom; // TEMP Display *_display; Resource *_resource; |