Commit graph

352 commits

Author SHA1 Message Date
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
Max Horn
87d97ead35 fix by hibernatus
svn-id: r10725
2003-10-10 14:14:36 +00:00
Chris Apers
3f06651bab Moved PalmOS initializations out of namespaces.
svn-id: r10703
2003-10-09 14:17:06 +00:00
Travis Howell
94be874b70 I had this wrong way around.
svn-id: r10691
2003-10-09 05:44:46 +00:00
Travis Howell
f57a6d74a1 Fix text when room scrolls in game versions < 3.
Manual redraw of verbs areas isn't require after reload of game in loom/loomcd, causes glitches in some locations.

svn-id: r10648
2003-10-06 23:12:01 +00:00
Travis Howell
9e0b1ca890 Use _roomPalette for 256 color 'SMALL_HEADER' games too, since it seems to help some.
svn-id: r10599
2003-10-05 02:58:11 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
6f978e9e30 some minor cleanup
svn-id: r10437
2003-09-27 20:31:19 +00:00