diff options
author | Paul Gilbert | 2015-06-10 20:54:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-10 20:54:05 -0400 |
commit | 6780c63e538d28c13a5fc1db8c282d00a95bcaaa (patch) | |
tree | e32e766468349d1bd3830281635cfb2fa86c8e44 /engines/sherlock/screen.h | |
parent | dd1781a3f29fdcaad7b3551872e5246e4f694389 (diff) | |
download | scummvm-rg350-6780c63e538d28c13a5fc1db8c282d00a95bcaaa.tar.gz scummvm-rg350-6780c63e538d28c13a5fc1db8c282d00a95bcaaa.tar.bz2 scummvm-rg350-6780c63e538d28c13a5fc1db8c282d00a95bcaaa.zip |
SHERLOCK: Implemented more support methods for RT map
Diffstat (limited to 'engines/sherlock/screen.h')
-rw-r--r-- | engines/sherlock/screen.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/sherlock/screen.h b/engines/sherlock/screen.h index 9d3ed0c60c..c660fefe8c 100644 --- a/engines/sherlock/screen.h +++ b/engines/sherlock/screen.h @@ -37,6 +37,7 @@ namespace Sherlock { #define BG_GREYSCALE_RANGE_END 229 enum { + BLACK = 0, INFO_BLACK = 1, INFO_FOREGROUND = 11, INFO_BACKGROUND = 1, @@ -52,7 +53,8 @@ enum { BUTTON_BOTTOM = 248, TALK_FOREGROUND = 12, TALK_NULL = 16, - PEN_COLOR = 250 + PEN_COLOR = 250, + MAP_NAME_COLOR = 131 }; class SherlockEngine; @@ -77,11 +79,6 @@ private: * Returns the union of two dirty area rectangles */ bool unionRectangle(Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2); - - /** - * Draws the given string into the back buffer using the images stored in _font - */ - virtual void writeString(const Common::String &str, const Common::Point &pt, byte overrideColor); protected: /** * Adds a rectangle to the list of modified areas of the screen during the @@ -244,13 +241,17 @@ public: */ Common::Rect getDisplayBounds(); - int fontNumber() const { return _fontNumber; } - /** * Synchronize the data for a savegame */ void synchronize(Serializer &s); + /** + * Draws the given string into the back buffer using the images stored in _font + */ + virtual void writeString(const Common::String &str, const Common::Point &pt, byte overrideColor); + + // Rose Tattoo specific methods void initPaletteFade(int bytesToRead); |