diff options
author | Paul Gilbert | 2015-06-21 10:11:43 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-21 10:11:43 -0400 |
commit | deada3e30d1b897191dd2a97ac74999a1f967578 (patch) | |
tree | 4b1358b3553b923d76852946fed96c1d4edf06da /engines/sherlock/tattoo/tattoo_user_interface.h | |
parent | dec2b0857ca54ecf61e95c731d10ebfb85b5b375 (diff) | |
download | scummvm-rg350-deada3e30d1b897191dd2a97ac74999a1f967578.tar.gz scummvm-rg350-deada3e30d1b897191dd2a97ac74999a1f967578.tar.bz2 scummvm-rg350-deada3e30d1b897191dd2a97ac74999a1f967578.zip |
SHERLOCK: RT: Beginnings of journal display
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.h')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.h b/engines/sherlock/tattoo/tattoo_user_interface.h index 935e0769ed..49f7c1f37e 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.h +++ b/engines/sherlock/tattoo/tattoo_user_interface.h @@ -25,6 +25,7 @@ #include "common/scummsys.h" #include "sherlock/saveload.h" +#include "sherlock/screen.h" #include "sherlock/user_interface.h" #include "sherlock/tattoo/widget_inventory.h" #include "sherlock/tattoo/widget_text.h" @@ -60,6 +61,8 @@ private: WidgetSceneTooltip _tooltipWidget; WidgetVerbs _verbsWidget; WidgetBase *_widget; + byte _lookupTable[PALETTE_COUNT]; + byte _lookupTable1[PALETTE_COUNT]; private: /** * Draws designated areas of the screen that are meant to be grayed out using grayscale colors @@ -138,6 +141,9 @@ public: Common::KeyState _keyState; Common::Point _lookPos; int _scrollHighlight; + ImageFile *_mask, *_mask1; + Common::Point _maskOffset; + int _maskCounter; public: TattooUserInterface(SherlockEngine *vm); virtual ~TattooUserInterface() {} @@ -190,6 +196,11 @@ public: void pickUpObject(int objNum); void putMessage(const Common::String &str); + + /** + * Makes a greyscale translation table for each palette entry in the table + */ + void setupBGArea(const byte cMap[PALETTE_SIZE]); public: /** * Resets the user interface |