aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/tsage
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/scalpel/tsage
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/scalpel/tsage')
-rw-r--r--engines/sherlock/scalpel/tsage/logo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp
index 9026dd7342..4eab01947a 100644
--- a/engines/sherlock/scalpel/tsage/logo.cpp
+++ b/engines/sherlock/scalpel/tsage/logo.cpp
@@ -104,7 +104,7 @@ void Visage::surfaceFromRes(ObjectSurface &s) {
int frameWidth = _stream->readUint16LE();
int frameHeight = _stream->readUint16LE();
Common::Rect r(0, 0, frameWidth, frameHeight);
- s.create(r.width(), r.height(), Common::kPlatformDOS); // maybe change this to a bool later? TODO
+ s.create(r.width(), r.height());
s._centroid.x = _stream->readSint16LE();
s._centroid.y = _stream->readSint16LE();