1491 Commits

Author SHA1 Message Date
Max Horn
e5fe73726a cleaned up / fixed some V2 state stuff
svn-id: r7422
2003-05-10 21:35:06 +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
6bf0b6cb0d fixed script dumping for flobject script in V6/V7 games
svn-id: r7419
2003-05-10 18:38:59 +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
Jonathan Gray
7f0b853ca7 fix variable acces
svn-id: r7414
2003-05-10 14:40:09 +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
Max Horn
54a9ad3204 super hackish mouse click support for Zak (doesn't do anything useful in MM yet; and in Zak, all clicks are for the scene, i.e. no verb clicks etc.)
svn-id: r7408
2003-05-09 22:26:00 +00:00
Max Horn
3a9d8cd8f4 implemented v2 walkboxes (at least the debugger output looks right now, though I might have overlooked something)
svn-id: r7406
2003-05-09 21:46:34 +00:00
James Brown
ff3429ddab V2 Vars Fix
svn-id: r7404
2003-05-09 06:03:48 +00:00
James Brown
c126cf2df8 Fix intro room transition. Seems correct, so the fixme is really just explanitory.
svn-id: r7403
2003-05-09 05:55:11 +00:00
Jonathan Gray
8c8406cf50 zakstdemo now finishes properly and loops etc, this check seems to be wrong for v2 games at least
svn-id: r7402
2003-05-09 03:02:49 +00:00
Max Horn
15bddf437b updated my FIXME comment
svn-id: r7401
2003-05-09 01:17:31 +00:00
Max Horn
88c1f3ac18 fixed V2 drawObject
svn-id: r7400
2003-05-09 01:01:53 +00:00
Max Horn
bb4f806954 cleanup
svn-id: r7399
2003-05-09 00:57:10 +00:00
Max Horn
c63ec9d008 added a v2 charset rendered (with a hardcoded font take from german zak); enabled verbs in zak (well, they are drawn at least :-)
svn-id: r7398
2003-05-08 22:44:46 +00:00
Max Horn
4d7f7a8c80 yet more v2 var fixes
svn-id: r7397
2003-05-08 21:14:21 +00:00
Max Horn
af14dabc75 more v2 var fixes
svn-id: r7396
2003-05-08 21:02:46 +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
6ab104cc3c some V2 fixes (we really really need to revise the _vars handling!)
svn-id: r7392
2003-05-08 14:32:25 +00:00
Max Horn
07bbeb31e9 fixed o2_resourceRoutines
svn-id: r7391
2003-05-08 14:14:37 +00:00
Max Horn
86e28c807e oops that was an accidental change
svn-id: r7390
2003-05-08 10:48:29 +00:00
James Brown
68f821c67d Hack: Turn on ignore walkboxes in V2 to stop intro freezing. Remove when we have V2 walkbox support (ugh...)
svn-id: r7388
2003-05-08 06:17:30 +00:00
Max Horn
f0f955ab15 experimental fix for Zak256 (see bug #733964)
svn-id: r7387
2003-05-08 00:28:05 +00:00
Max Horn
e6c8c46291 fixed bug #734057
svn-id: r7386
2003-05-07 23:09:04 +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
8188d946b3 fixed warning
svn-id: r7383
2003-05-07 22:50:15 +00:00
Jamieson Christian
15bf5ba885 ..\..\msg.txt
svn-id: r7382
2003-05-07 19:24:14 +00:00
Chris Apers
f5caac359d Fix a bug with PalmOS
svn-id: r7368
2003-05-06 08:55:49 +00:00
Jonathan Gray
5a735f825d can get up to zak sleeping bit now...
svn-id: r7363
2003-05-06 01:20:09 +00:00
Jonathan Gray
1ba420a9e2 remove uneeded fixme
svn-id: r7362
2003-05-06 01:03:33 +00:00
Jamieson Christian
a0c98d1f14 Interim fix for Bug [712042] FOA: Lockup.
Final fix will require a savegame format mod.

svn-id: r7358
2003-05-05 16:07:10 +00:00
Chris Apers
5944d40eaa Add more ScummVM globals to PDB
svn-id: r7346
2003-05-05 12:29:26 +00:00
Max Horn
15ba8da46b renamed XYFactor/YXFactor to XYFactor, YXFactor/deltaYFactor (they denote how much to move each step in the x/y direction); added several FIXME comments (after 0.4.0 we really shold revise this code)
svn-id: r7344
2003-05-05 12:09:22 +00:00
Jonathan Gray
d12ff07ce2 patch #732518 loom learn drafts debugger command by erik
svn-id: r7342
2003-05-05 10:02:04 +00:00
Max Horn
ac0897515d unified o?_isEqual, too (but not as nice due to hack)
svn-id: r7340
2003-05-05 09:25:07 +00:00
Max Horn
fa0df19a1d cleanup / reduced code duplication
svn-id: r7339
2003-05-05 09:19:15 +00:00
Jonathan Gray
6d19dcdc82 fix bug pointed out by segra
svn-id: r7330
2003-05-05 05:20:45 +00:00
Max Horn
9659a4b4ed V2 verbop fix (read verb name from script)
svn-id: r7327
2003-05-04 20:07:32 +00:00
Max Horn
93264aea78 oops, forget to remove hack I used to test this ;-)
svn-id: r7325
2003-05-04 18:28:32 +00:00
Max Horn
7d78ba39fb simplified code
svn-id: r7324
2003-05-04 18:27:55 +00:00
Max Horn
5b08534324 cleanup / fixes
svn-id: r7323
2003-05-04 17:39:25 +00:00
Marcus Comstedt
83db626520 GCC believes that if we cast a pointer to <type *>, then we are guaranteeing
that the pointer has proper alignment for <type>, and that it can replace the
memcpy() with a direct assignment.  This totally defies the purpose of the
memcpy(), which is there precisely because the memory is unaligned.  Avoid
problems by not making the cast.

svn-id: r7322
2003-05-04 17:21:31 +00:00