Commit Graph

34 Commits

Author SHA1 Message Date
Torbjörn Andersson
074bc1f47e SHERLOCK: Fix drawing glitch mentioned in bug #6928
This would happen when drawing an unscaled, flipped sprite that
was clipped because it was partway below the bottom of the
screen. It was incorrectly adjusting the top and bottom again,
even though flipping only affects left and right.
2015-10-04 02:01:52 +02:00
Paul Gilbert
bb01b27777 SHERLOCK: 3DO: Implementing high-resolution mode for 3DO version
This will allow us to play the portrait movies at full resolution,
and better display the fonts, which dont look good at low resolution
2015-09-13 12:22:31 -04:00
Paul Gilbert
1a92f869b8 SHERLOCK: 3DO: Change more color method params from byte to uint 2015-09-09 08:15:59 -04:00
Paul Gilbert
e0ad8a9ef5 SHERLOCK: 3DO: Set up RGB color constants for 3DO 2015-09-06 20:52:15 -04:00
Paul Gilbert
c6633404c9 SHERLOCK: RT: Simplified implementation of transBlitFrom 2015-08-22 20:41:50 -04:00
Paul Gilbert
c0915e95a0 SHERLOCK: RT: Fix Sherlock being drawn behind desk at Hospital 2015-08-22 12:10:01 -04:00
Paul Gilbert
b07c56923b SHERLOCK: RT: Fix drawing scaled images with image offsets 2015-08-09 18:40:04 -04:00
Paul Gilbert
5117482f79 SHERLOCK: RT: Implement maskArea 2015-07-22 21:02:29 -04:00
Paul Gilbert
81125fd5d7 SHERLOCK: RT: Add dirty rect call to transBlitFrom 2015-07-19 21:11:51 -04:00
Paul Gilbert
9ca62e6f61 SHERLOCK: RT: Consolidate scroll position into the Screen class 2015-07-04 11:28:55 -04:00
Paul Gilbert
5a5a225216 SHERLOCK: RT: Implemented further journal draw methods 2015-06-21 17:23:26 -04:00
Paul Gilbert
1732428aa6 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
2015-06-18 19:21:04 -04:00
Filippos Karapetis
5ece075b58 SHERLOCK: RT: Reduce code duplication when writing fancy strings 2015-06-18 12:24:53 +03:00
Martin Kiewitz
b668b1edd7 SHERLOCK: 3DO: fix setPixels() for RGB565 2015-06-12 13:30:16 +02:00
Martin Kiewitz
6c2c0cdfef SHERLOCK: surface setPixels get pixelformat 2015-06-12 11:59:33 +02:00
Martin Kiewitz
a08b0b9e59 SHERLOCK: remove transBlitFromUnscaled3DO 2015-06-12 11:11:55 +02:00
Paul Gilbert
40a3a3b835 SHERLOCK: RT map display partially working 2015-06-11 08:32:31 -04:00
Paul Gilbert
1dda0f6c40 SHERLOCK: Split up font handling into a new Fonts surface base class
This will be needed for Rose Tattoo, which needs to be able to
write text to arbitrary surfaces
2015-06-10 19:46:14 -04:00
Martin Kiewitz
6aaee559dc SHERLOCK: 3DO intro: implement fade from white 2015-06-10 07:14:15 +02:00
Martin Kiewitz
4c9e67ccfa SHERLOCK: 3DO animation support 2015-06-07 17:05:26 +02:00
Paul Gilbert
2ac05321aa SHERLOCK: Reverse scaling factor in transBlitFrom to match original
Original uses scale amounts > 256 for image reduction, and values
less than that for image expansion
2015-06-06 15:36:23 -04:00
Paul Gilbert
e28aa3af79 SHERLOCK: Properly handle horizontal flipping in transBlitFrom 2015-06-06 14:31:19 -04:00
Paul Gilbert
3fda42fbff SHERLOCK: Initiial handling of scaling in transBlitFrom 2015-06-06 14:25:09 -04:00
Paul Gilbert
1f9d1e9c16 SHERLOCK: Implement RT drawAllShapes and support methods 2015-06-02 21:26:42 -04:00
Paul Gilbert
895189e3ff SHERLOCK: More RT doBgAnim code, interface draw 2015-05-29 22:56:34 -04:00
Paul Gilbert
88d2458143 SHERLOCK: Implement additions to updateBackground, some method stubs 2015-05-28 19:59:03 -04:00
Strangerke
4849e00897 SHERLOCK: Fix some issues pointed by eriktorbjorn 2015-05-19 19:06:44 +02:00
Paul Gilbert
8ae0014bc2 SHERLOCK: Refactor Surface not to descend directly from Graphics::Surface 2015-05-19 09:10:35 -04:00
Paul Gilbert
2752db8103 SHERLOCK: Remove iimplicit conversion operator from ImageFrame 2015-05-19 07:50:50 -04:00
Paul Gilbert
1df183ffcb SHERLOCK: Move method comments from cpp to headers 2015-05-19 07:37:55 -04:00
Paul Gilbert
0b50a077f7 SHERLOCK: Fix spacing in constructors 2015-05-18 18:12:58 -04:00
Paul Gilbert
95ce29ac74 SHERLOCK: Fix random pixel transitions, and make it the default fade style 2015-05-15 20:44:12 -04:00
Paul Gilbert
91d69c7dc1 SHERLOCK: Simplify blitFrom methods 2015-05-13 21:24:42 -04:00
Paul Gilbert
24b93a14be SHERLOCK: Renamed graphics.cpp to surface.cpp 2015-05-13 20:05:19 -04:00