From 6780c63e538d28c13a5fc1db8c282d00a95bcaaa Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 10 Jun 2015 20:54:05 -0400 Subject: SHERLOCK: Implemented more support methods for RT map --- engines/sherlock/screen.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'engines/sherlock/screen.h') 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); -- cgit v1.2.3