Commit Graph

361 Commits

Author SHA1 Message Date
Max Horn
333a2aaea8 Fix for bugs #929722 (MI2: Difficulty selection screen regression) and #930385 (Subtitles are not shown correctly) by changing restoreCharsetBg() to only restore the screen area which is actually masked by text
svn-id: r13508
2004-04-08 23:43:30 +00:00
Max Horn
71bbdbfae4 Removed CharsetRenderer::_mask (this was used to optimize charset mask handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others
svn-id: r13464
2004-04-04 20:20:09 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Travis Howell
e68e003777 Minor correction
svn-id: r13015
2004-02-24 04:51:02 +00:00
Eugene Sandulenko
4117781522 Graphics decoders for 3DO HE titles. Preliminary implementation, don't
blame me :) After testing I'll convert it to C.

svn-id: r13014
2004-02-24 04:45:50 +00:00
Torbjörn Andersson
d660faa231 Reverted patch #889552. Kirben confirmed it was wrong for DOTT, and it was
causing regressions in FOA. See bug #884171 and #893500 for details.

svn-id: r12872
2004-02-14 10:43:55 +00:00
Max Horn
43efc8bed0 Patch #889552: Possible fix for bug #884171
svn-id: r12718
2004-02-03 08:47:38 +00:00
Max Horn
f94373b570 this is not necessary anymore
svn-id: r12512
2004-01-19 18:57:06 +00:00
Travis Howell
335bf94d5f Add back checks for invalid left/right values, fixes regressions for now.
svn-id: r12462
2004-01-18 02:31:53 +00:00
Max Horn
65bfcb71fe oops
svn-id: r12265
2004-01-08 21:58:46 +00:00
Max Horn
84f4a13730 more cleanup
svn-id: r12264
2004-01-08 21:44:03 +00:00
Max Horn
04b002bbaa move the charset mask to the charset renderer class; some other related changes
svn-id: r12263
2004-01-08 21:21:40 +00:00
Max Horn
6222d6e643 more cleanup
svn-id: r12234
2004-01-08 03:24:41 +00:00
Max Horn
d852e2855a cleanup (make some more use of class Common::Rect)
svn-id: r12232
2004-01-08 03:10:16 +00:00
Max Horn
467861917d various fixes for vertical scrolling rooms: fixed, screen updates (and made them more efficient), fixed transitionEffect() for 'high' rooms, documented drawStripToScreen() params a little (we really should start documenting for each function which takes coordinates in which coordinate system they are). Please test all vertical scrolling rooms (and others, too) for regressions
svn-id: r12228
2004-01-08 00:48:37 +00:00
Travis Howell
dd1eb2a4b4 Fix subtitles glitch when subtitles are shown during room scroll in pass.
svn-id: r12179
2004-01-06 13:28:19 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
2ecf66d561 get rid of VirtScreen::scrollable
svn-id: r12173
2004-01-06 12:16:28 +00:00
Max Horn
f5f357498f just always call updateDirtyScreen(kTextVirtScreen) - it won't do any harm for games not using that virt screen, but fixes the Indy part of the PASS demo
svn-id: r12172
2004-01-06 12:08:35 +00:00
Max Horn
cc67301791 renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
svn-id: r12168
2004-01-06 11:47:34 +00:00
Max Horn
5a3aa023b6 'proper' fix for V1 MM problem; added a FIXME
svn-id: r12149
2004-01-05 00:45:17 +00:00
Max Horn
181bb0baa5 fix bug #870433 (DIG: Scrolling regression with the lander game)
svn-id: r12148
2004-01-05 00:03:18 +00:00
Max Horn
1081c789a2 cleanup
svn-id: r12139
2004-01-04 14:49:14 +00:00
Max Horn
2ce4d13c04 split out cursor/palette code into separate source files
svn-id: r12138
2004-01-04 14:35:46 +00:00
Max Horn
d16ac3e88f turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp
svn-id: r12133
2004-01-04 13:49:03 +00:00
Max Horn
805f512452 replaced many instances of _screenWidth by VirtScreen::width, where approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling
svn-id: r12131
2004-01-04 13:09:02 +00:00
Max Horn
14cf65c0ab uhm? I don't see why VC 2003 would complain about this, but not about the many equal instances of this code (which, BTW, is perfectly valid C...)
svn-id: r12130
2004-01-04 12:35:51 +00:00
Max Horn
1ac275e20b I don't see why this would be needed (my guess is that the hack in initVirtScreen (to use _roomHeight) already covers this, and more)
svn-id: r12125
2004-01-04 01:20:26 +00:00
Max Horn
87abee70c1 remove this HACK workaround - I think I may have fixed the true cause (we'll see)
svn-id: r12124
2004-01-04 01:11:23 +00:00
Max Horn
bceb48f5e0 renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
105895da46 cleanup
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
acc4aa0fc2 oops
svn-id: r12120
2004-01-03 21:29:17 +00:00
Max Horn
22248a548f removed unused param in initScreens
svn-id: r12119
2004-01-03 21:26:44 +00:00
Max Horn
34db2e793a added & renamed some constants; fixed & added some doxygen comments; cleaned up the dirty screen code a bit (this should also fix a bug in V1/V2 games where part of the screen was not redrawn properly)
svn-id: r12118
2004-01-03 21:22:07 +00:00
Max Horn
cb628da846 fix indirect palette cycling
svn-id: r11929
2003-12-25 22:36:55 +00:00
Max Horn
3364949c82 Patch #861716: palManipulateInit for V6 games (I modified the patch a bit)
svn-id: r11718
2003-12-17 17:12:09 +00:00
Travis Howell
bee21ec3f8 Add extra color table entry for v1 games, for inventory/sentence color.
svn-id: r11653
2003-12-15 14:54:35 +00:00
Paweł Kołodziejski
9e176e5828 added ugly hack for maniac v1, it fix redrawing last 8 lines of gfx room layer after change room
svn-id: r11356
2003-11-23 09:56:19 +00:00
Paweł Kołodziejski
b19119e89f ops
svn-id: r11316
2003-11-16 21:26:10 +00:00
Paweł Kołodziejski
d5eddef057 changed some shift operators to *, /
svn-id: r11315
2003-11-16 20:52:57 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
Jonathan Gray
7c97e7c2b9 more spelling fixes
svn-id: r11176
2003-11-07 02:11:41 +00:00
Travis Howell
8d656e8efb Add hack from Jamieson, to prevent palette darkening when it shouldn't in Amiga versions of Mi2/FOA.
svn-id: r10820
2003-10-16 05:49:09 +00:00
Travis Howell
195b1d6aa4 Fix spacing
svn-id: r10818
2003-10-16 00:39:29 +00:00
Travis Howell
08b2020543 This should only apply to 32 color Amiga versions.
svn-id: r10785
2003-10-13 22:48:45 +00:00
Max Horn
5acafb15c2 cleanup; got rid of Gdi::_palette_mod in favor of Gdi::_roomPalette
svn-id: r10778
2003-10-13 12:56:53 +00:00
Torbjörn Andersson
472e7d6790 Whitespace change
svn-id: r10776
2003-10-13 11:59:48 +00:00
Max Horn
fafb90ddb5 code simplification
svn-id: r10762
2003-10-12 17:33:29 +00:00
Travis Howell
4445915403 Missed two spots
svn-id: r10740
2003-10-12 12:03:17 +00:00