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/surface.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/surface.h')
-rw-r--r-- | engines/sherlock/surface.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h index d42dd5c21e..49726d55fa 100644 --- a/engines/sherlock/surface.h +++ b/engines/sherlock/surface.h @@ -71,11 +71,6 @@ protected: Graphics::Surface _surface; virtual void addDirtyRect(const Common::Rect &r) {} - - /** - * 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); public: Surface(uint16 width, uint16 height, Common::Platform platform); Surface(); @@ -164,6 +159,11 @@ public: */ void setPixels(byte *pixels, int width, int height); + /** + * 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); + inline uint16 w() const { return _surface.w; } inline uint16 h() const { return _surface.h; } inline const byte *getPixels() const { return (const byte *)_surface.getPixels(); } |