From 1732428aa63c35c3989568fbc3a3e9c63bc8482c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 18 Jun 2015 19:21:04 -0400 Subject: 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 --- engines/sherlock/scalpel/tsage/logo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock/scalpel/tsage') 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(); -- cgit v1.2.3