Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson 2fedf7d285 I shouldn't be mixing cleanups and bug fixes, but I'm doing so anyway, just
this once. :-)

The parameters to drawLine() aren't clipped to the screen size, which meant
that it was accessing memory out of bounds when marking the screen as
dirty. The function now uses plotPoint(), which does the bounds checking
and screen dirtying for us. Apart from being a little easier to read, it
dirties only the parts of the screen the line actually passes through,
instead of a rectangle defined by the line's end points.

Since drawLine() is only used for debugging, I wouldn't consider this a
particularly serious bug.

Next change is that only the pixels inside the original parallax layer are
considered when creating the block surfaces. This may make the drawing
slightly more efficient, since fewer surfaces will be labelled as
transparent.

Plus some other minor cleanups.

svn-id: r14340
2004-07-26 16:41:57 +00:00
Travis Howell f28adf7a6c Keep compatbility with older saved games.
svn-id: r14339
2004-07-26 15:14:10 +00:00
Travis Howell c460aae163 Ooops, adjust for start value.
svn-id: r14338
2004-07-26 14:11:27 +00:00
Travis Howell f8e0fb18ba Ooops, adjust for start value.
svn-id: r14337
2004-07-26 14:10:42 +00:00
Travis Howell 5c2a7a7775 Cleanup
svn-id: r14336
2004-07-26 13:53:24 +00:00
Travis Howell 1d31aff18e One last hack to allow demo script in V2 Maniac Mansion.
svn-id: r14335
2004-07-26 11:49:41 +00:00
Travis Howell e256033622 Amiga versions of FOA/MI2 should use a VAR_VIDEOMODE value of 82.
Fixes all palette issues.

svn-id: r14334
2004-07-26 06:23:47 +00:00
Travis Howell dc6541dedb Fix darkness issues in Amiga verisons of FOA/MI2.
svn-id: r14333
2004-07-26 05:40:23 +00:00
Travis Howell 3a8f518b02 VAR_ROOM_FLAG should always be set after load of saved game.
Other VAR_ROOM_FLAG setting in scumm5 specific.

svn-id: r14332
2004-07-26 04:03:11 +00:00
Travis Howell 54b813c4a6 Not quite right spot.
svn-id: r14331
2004-07-26 00:12:51 +00:00
Travis Howell ebdbb97d38 VAR_SOUND_RESULT should be reset.
svn-id: r14330
2004-07-26 00:08:23 +00:00
Travis Howell 1c743547d1 Update issues
svn-id: r14329
2004-07-25 23:58:59 +00:00
Gregory Montoir db4c7d22bf smush codec37 sub1 (FT demo)
svn-id: r14326
2004-07-25 19:05:16 +00:00
Travis Howell 55a4164f33 Fix love sign missing when black light turned on, in Sam & Max regression.
svn-id: r14325
2004-07-25 14:48:07 +00:00
Travis Howell 4105fdd4f6 Merge palette functions.
svn-id: r14324
2004-07-25 11:29:38 +00:00
Travis Howell 290d73ea0b Sam & Max doesn't need separate palette, just uses _shadowPalette.
svn-id: r14323
2004-07-25 09:21:58 +00:00
Travis Howell ce620d17fd Remove lefts overs of old hack
svn-id: r14320
2004-07-24 14:24:34 +00:00
Travis Howell 370cf65966 Corrtection from disasm., mouth sync uses speech timing.
Fix bug #

svn-id: r14319
2004-07-24 13:36:26 +00:00
Travis Howell 7550ebed81 Rename VAR
svn-id: r14318
2004-07-24 11:15:59 +00:00
Travis Howell 546fd77e1b Ooops commited wrong branch.
svn-id: r14314
2004-07-24 07:18:18 +00:00
Travis Howell 2cbc4039e8 A few HE games are supported now.
svn-id: r14313
2004-07-24 07:14:26 +00:00
Travis Howell 086c8da888 Enable VAR_FADE_DELAY
svn-id: r14309
2004-07-24 04:36:54 +00:00
Travis Howell 334343a340 Ooops
svn-id: r14308
2004-07-24 04:18:26 +00:00
Travis Howell 10ef09ec1f Add another var used by Loom [ega].
svn-id: r14307
2004-07-24 04:09:14 +00:00
Travis Howell e7997ab91d heap space is used by loom too.
svn-id: r14306
2004-07-24 02:18:05 +00:00
Travis Howell 0afb8635cb Add more details
svn-id: r14305
2004-07-23 09:30:53 +00:00
Travis Howell 840248a972 Mention method used to skip copy protection in original Loom
svn-id: r14304
2004-07-23 08:59:07 +00:00
Travis Howell 28812cae21 Only needed for Zak [ega]
svn-id: r14303
2004-07-23 08:50:16 +00:00
Max Horn 3381b831eb Allow subclasses to modify File class members (e.g. to set _ioFailed); change some warnings into errors
svn-id: r14302
2004-07-23 01:39:05 +00:00
Travis Howell 24e89ad424 Ooops
svn-id: r14301
2004-07-22 11:31:07 +00:00
Travis Howell c6f6055013 Only used in scumm5 and later.
svn-id: r14300
2004-07-22 05:53:56 +00:00
Travis Howell 2ab9807dd8 Should not be set for any scumm3 games.
svn-id: r14299
2004-07-22 04:42:43 +00:00
Travis Howell 6a1800a2cd Remove unused code, VAR_SCROLL_SCRIPT is never set for scumm 1/2.
svn-id: r14298
2004-07-22 04:37:20 +00:00
Travis Howell e133de4d51 VAR not used in scumm3.
svn-id: r14297
2004-07-22 04:28:31 +00:00
Travis Howell f09313d6a9 Correction to VAR tables.
svn-id: r14296
2004-07-22 04:13:46 +00:00
Max Horn 9f91359c2e Allow user to select ListWidget entries by typing them (see FR #922921)
svn-id: r14295
2004-07-21 14:28:57 +00:00
Max Horn be31329d05 Ignore case when sorting file system nodes
svn-id: r14294
2004-07-21 14:27:45 +00:00
Max Horn 0605918ab4 Small tweaks for the String class
svn-id: r14293
2004-07-21 14:20:37 +00:00
Travis Howell 9dfee6c315 Confirmed extra timers are in all PC version of indy3 too.
VAR_DEBUGMODE isn't used in SCUMM3 and below.

svn-id: r14292
2004-07-21 12:05:00 +00:00
Travis Howell d478bc31ac Extra timer used in Amiga version of indy3 too.
svn-id: r14291
2004-07-21 11:37:41 +00:00
Joost Peters 33ef51b7a7 fix null backend driver
svn-id: r14289
2004-07-20 14:26:32 +00:00
Joost Peters 521d46b425 Add null driver to configure
svn-id: r14288
2004-07-20 13:42:36 +00:00
Travis Howell 38ddd36d41 Correct version key in HE 7.0+ games.
svn-id: r14287
2004-07-20 11:54:42 +00:00
Travis Howell 08a260444f Use for HE 7.0 games too.
svn-id: r14286
2004-07-20 11:50:44 +00:00
Travis Howell 6225285a59 Add support for version key in The Dig
svn-id: r14285
2004-07-20 11:30:15 +00:00
Torbjörn Andersson 8ad464b498 BS1 accepts both F5 and ESC to open the control panel.
svn-id: r14283
2004-07-19 17:28:21 +00:00
Torbjörn Andersson 54d2f49f8a BS1 now allows both F5 and ESC to open the control panel.
svn-id: r14282
2004-07-19 17:25:09 +00:00
Torbjörn Andersson 963aa6085d Valgrind complained about an uninitialized value. This appears to fix it,
and anyway it won't hurt.

svn-id: r14279
2004-07-19 15:26:07 +00:00
Torbjörn Andersson bc300cb062 Applied patch #993803 (fix for a COMI hang) after some discussion with
aquadran. Let's hope the cure isn't worse than the disease...

svn-id: r14277
2004-07-19 15:21:29 +00:00
Bertrand Augereau 056751e1ee Updated the null driver to current OSystem interface
(makes it easier to start a new driver)

svn-id: r14276
2004-07-19 13:52:20 +00:00