aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-18 19:21:04 -0400
committerPaul Gilbert2015-06-18 19:21:04 -0400
commit1732428aa63c35c3989568fbc3a3e9c63bc8482c (patch)
tree915d16465e39c28b65c84b7e2d7f1688a16bacf2 /engines/sherlock/surface.h
parentf6c710e5b33b72723c4983bc498a4127497d772e (diff)
downloadscummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.tar.gz
scummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.tar.bz2
scummvm-rg350-1732428aa63c35c3989568fbc3a3e9c63bc8482c.zip
SHERLOCK: RT: Implement font _yOffsets table
Since this table must only be set up for RT when changing fonts, I needed to put an engine reference in the Fonts base class. Because of this, I've been able to simplify the creation of the various surfaces, since you no longer need to pass in the platform
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r--engines/sherlock/surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h
index adda03dcc6..80cf0ff287 100644
--- a/engines/sherlock/surface.h
+++ b/engines/sherlock/surface.h
@@ -70,7 +70,7 @@ protected:
virtual void addDirtyRect(const Common::Rect &r) {}
public:
- Surface(uint16 width, uint16 height, Common::Platform platform);
+ Surface(uint16 width, uint16 height);
Surface();
virtual ~Surface();
@@ -78,7 +78,7 @@ public:
* Sets up an internal surface with the specified dimensions that will be automatically freed
* when the surface object is destroyed
*/
- void create(uint16 width, uint16 height, Common::Platform platform);
+ void create(uint16 width, uint16 height);
Graphics::PixelFormat getPixelFormat();