aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/screen.h')
-rw-r--r--engines/sherlock/screen.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/engines/sherlock/screen.h b/engines/sherlock/screen.h
index 661cc483fc..9d3ed0c60c 100644
--- a/engines/sherlock/screen.h
+++ b/engines/sherlock/screen.h
@@ -60,11 +60,8 @@ class SherlockEngine;
class Screen : public Surface {
private:
SherlockEngine *_vm;
- int _fontNumber;
Common::List<Common::Rect> _dirtyRects;
uint32 _transitionSeed;
- ImageFile *_font;
- int _fontHeight;
Surface _sceneSurface;
// Rose Tattoo fields
@@ -84,7 +81,7 @@ private:
/**
* Draws the given string into the back buffer using the images stored in _font
*/
- void writeString(const Common::String &str, const Common::Point &pt, byte color);
+ 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
@@ -104,11 +101,6 @@ public:
virtual ~Screen();
/**
- * Set the font to use for writing text on the screen
- */
- void setFont(int fontNumber);
-
- /**
* Handles updating any dirty areas of the screen Surface object to the physical screen
*/
void update();
@@ -211,21 +203,6 @@ public:
void blockMove(const Common::Point &scorllPos);
/**
- * Returns the width of a string in pixels
- */
- int stringWidth(const Common::String &str);
-
- /**
- * Returns the width of a character in pixels
- */
- int charWidth(char c);
-
- /**
- * Return the font height
- */
- int fontHeight() const { return _fontHeight; }
-
- /**
* Fills an area on the back buffer, and then copies it to the screen
*/
void vgaBar(const Common::Rect &r, int color);