Commit graph

202 commits

Author SHA1 Message Date
Max Horn
ec4cc7d774 more special palette fixes by erik
svn-id: r7689
2003-05-19 11:34:13 +00:00
Jamieson Christian
ac9a392a5b Fixed VC++ warnings
svn-id: r7652
2003-05-18 23:45:34 +00:00
Max Horn
5ac005860c warning() automatically outputs a newline after the warning message; adding a newline into the format string adds another newline (which contains the single char '!')
svn-id: r7647
2003-05-18 21:14:50 +00:00
Max Horn
7ec709e35f Part of patch #739119 (attempt to fix bug #651077 at least partially)
svn-id: r7643
2003-05-18 19:51:50 +00:00
Max Horn
3244a79d46 V2 camera fix (again thanks MadMoose)
svn-id: r7587
2003-05-16 23:54:58 +00:00
Jamieson Christian
9d7cd48dcc Fixed VC++ warnings
svn-id: r7555
2003-05-16 00:07:47 +00:00
Max Horn
9018be6cb3 moved drawBox to gfx.cpp (seems to be the more logical location)
svn-id: r7554
2003-05-15 23:50:16 +00:00
Max Horn
5e756aa8b8 cleanup
svn-id: r7550
2003-05-15 22:48:06 +00:00
Max Horn
7baef4ad4e make some more use of ScummVM::Point; cleanup
svn-id: r7549
2003-05-15 22:41:35 +00:00
Max Horn
f4c7f37743 Make use of ScummVM::Rect
svn-id: r7546
2003-05-15 22:30:32 +00:00
Max Horn
8b419944ee ScummPoint -> ScummVM::Point
svn-id: r7543
2003-05-15 21:57:38 +00:00
Max Horn
82e2d852f1 cleanup
svn-id: r7538
2003-05-15 21:31:03 +00:00
Max Horn
095aff34d5 cleanup / added FIXME
svn-id: r7536
2003-05-15 21:09:55 +00:00
Max Horn
6fa0114eee adding some asserts (e.g. against that evil COMI crasher)
svn-id: r7526
2003-05-15 17:53:23 +00:00
Max Horn
23fd68d2b6 fixed light blue EGA palette entry
svn-id: r7507
2003-05-14 14:07:11 +00:00
Max Horn
bc99915aa5 V2 text drawing
svn-id: r7502
2003-05-14 13:30:52 +00:00
Max Horn
05c44e606e various V8 tweaks
svn-id: r7494
2003-05-14 09:47:53 +00:00
Max Horn
08f7ec192e NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
47227fdf77 cleanup (fixes another VC warning, too ;-)
svn-id: r7480
2003-05-12 21:53:36 +00:00
Max Horn
b2d7f502f6 made hasCharsetMask return a bool (fixes VC compilation warnings)
svn-id: r7478
2003-05-12 21:35:56 +00:00
Max Horn
3f798a92b6 added a hack to draw z masks onto the screen (useful to debug potential z masking bugs, like bug #724685)
svn-id: r7476
2003-05-12 20:33:47 +00:00
Max Horn
b2f22cabf7 correction: V2 mask decompression works 100% correct. We just ignore it.
svn-id: r7430
2003-05-11 11:27:19 +00:00
Max Horn
e5f8056d88 cleanup / tweaks (V2 masking, at least in Zakdemo, seems not to work properly, though)
svn-id: r7429
2003-05-11 11:13:24 +00:00
Max Horn
134c32bc98 cleanup
svn-id: r7428
2003-05-11 00:28:43 +00:00
Max Horn
5be0ce7adc work around some illegal var access' in COMI/V8 - there are more, but I am not always sure if avoiding the access is the proper fix; maybe in some cases we should just define that var for V8 to the proper value?
svn-id: r7425
2003-05-10 22:35:12 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
2003-05-10 21:49:59 +00:00
Max Horn
08a9a07c40 fixed the way redrawBGStrip invokes drawBitmap -> this makes the office scene in the Zak intro show up correctly (again thanks to MadMoose for the clue that lead to the right solution :-)
svn-id: r7421
2003-05-10 21:33:28 +00:00
Max Horn
9401435b6f fixed operator precedence (thanks MadMoose)
svn-id: r7420
2003-05-10 21:23:17 +00:00
Max Horn
4c6cb1d7c9 removed obsolete check
svn-id: r7418
2003-05-10 18:33:04 +00:00
Max Horn
c490ba5253 oops
svn-id: r7417
2003-05-10 18:31:00 +00:00
Max Horn
f740959216 removed obsolete code; cleanup for my V2 drawBitmap 'hack', which got rid of most of the duplicate code
svn-id: r7416
2003-05-10 17:09:21 +00:00
Max Horn
76b7537149 implemented v2 masking (at least I get no negative effects, but anybody feel free to valgrind this :-)
svn-id: r7415
2003-05-10 16:57:04 +00:00
Max Horn
c4741d89a3 new V2 drawBitmap implementation which handles object drawing, too; no masking implemented yet. Once it fully works, will remove all the _egaStrip* stuff
svn-id: r7413
2003-05-10 14:30:58 +00:00
Max Horn
114af3159e added a 'width' parameter to drawBitmap (contrary to 'numstrips', it specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height'
svn-id: r7412
2003-05-10 12:59:32 +00:00
Max Horn
97197f95ea cleanup
svn-id: r7411
2003-05-10 12:23:02 +00:00
James Brown
ff3429ddab V2 Vars Fix
svn-id: r7404
2003-05-09 06:03:48 +00:00
Max Horn
15bddf437b updated my FIXME comment
svn-id: r7401
2003-05-09 01:17:31 +00:00
Max Horn
4d7f7a8c80 yet more v2 var fixes
svn-id: r7397
2003-05-08 21:14:21 +00:00
Max Horn
6d2c0de5f2 more v2 var access fixes
svn-id: r7395
2003-05-08 20:37:06 +00:00
Max Horn
0461222181 fixed various cases of bad var access
svn-id: r7394
2003-05-08 15:58:30 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
svn-id: r7393
2003-05-08 15:48:50 +00:00
Max Horn
b1145090f6 Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and #659158)
svn-id: r7384
2003-05-07 22:56:06 +00:00
Max Horn
30ebd2d7ff fixed drawing code for height != 128, but added a (temporary) hack to ignore any such drawing anyway, for demo purposes
svn-id: r7308
2003-05-04 03:27:55 +00:00
Max Horn
0f9e9dcae6 there ya go
svn-id: r7307
2003-05-04 03:08:52 +00:00
Max Horn
6994cc1eea much better, but still buggy
svn-id: r7306
2003-05-04 03:05:16 +00:00
Max Horn
fbbe36c927 cleanup
svn-id: r7305
2003-05-04 03:01:55 +00:00
Max Horn
3b77249ab0 cleanup; got rid of o2_printEgo
svn-id: r7300
2003-05-04 01:10:45 +00:00
Max Horn
9466a5dcef Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)
svn-id: r7290
2003-05-03 20:49:53 +00:00
Max Horn
797c222ec7 VAR_V5_DRAWFLAGS == VAR_CURRENT_LIGHTS; fixed bug #601139
svn-id: r7234
2003-04-30 21:30:59 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00