Commit graph

350 commits

Author SHA1 Message Date
Max Horn
101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
f1fc68773d made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
svn-id: r8493
2003-06-15 00:54:14 +00:00
Max Horn
6ece4cfbda cleanup
svn-id: r8492
2003-06-15 00:33:16 +00:00
Jonathan Gray
7d75334826 fix leak
svn-id: r8490
2003-06-15 00:18:19 +00:00
Max Horn
08e772dcf0 Fix for bug #751782 (Quitting during SMUSH movies doesn't always work)
svn-id: r8483
2003-06-14 20:55:09 +00:00
Max Horn
f7a8cbf7c7 Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
2003-06-14 18:52:30 +00:00
Max Horn
9555bff099 small fix
svn-id: r8474
2003-06-14 13:39:03 +00:00
Max Horn
4e57157cda renamed _bcr -> _costumeRenderer
svn-id: r8473
2003-06-14 13:38:22 +00:00
Jonathan Gray
af979a4a7a oops
svn-id: r8472
2003-06-14 13:26:11 +00:00
Jonathan Gray
3fc2d76452 another leak
svn-id: r8471
2003-06-14 13:13:17 +00:00
Jonathan Gray
ab40e0cfc9 fix leaks
svn-id: r8470
2003-06-14 12:50:14 +00:00
Max Horn
e5d02f1774 init _2byteFontPtr
svn-id: r8469
2003-06-14 12:24:42 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Max Horn
aa83d4fd31 cleanup
svn-id: r8467
2003-06-14 11:52:34 +00:00
Max Horn
36c50f10f3 fix for bug #752860 (based on patch #748675)
svn-id: r8457
2003-06-13 09:11:31 +00:00
Jonathan Gray
aabfc254c1 rework loom subtitle option handing
svn-id: r8448
2003-06-12 16:38:43 +00:00
Jonathan Gray
c26bdae207 hook subtitle variable up to f9 for loomcd
svn-id: r8446
2003-06-12 12:22:57 +00:00
Max Horn
b7ddc7bc57 allow quit during smush playback; cleanup
svn-id: r8411
2003-06-09 01:32:36 +00:00
Max Horn
35ef32cf4b cleanup
svn-id: r8408
2003-06-09 01:06:29 +00:00
Max Horn
f8ec8a9903 cleanup
svn-id: r8399
2003-06-08 12:49:34 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Paweł Kołodziejski
70210d5d3a fix set costumes for v1
svn-id: r8382
2003-06-07 14:02:07 +00:00
Paweł Kołodziejski
0c85e713ac init costumes for v1 games
svn-id: r8378
2003-06-07 04:24:57 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
Max Horn
00b53b5e81 set _version to detector value
svn-id: r8367
2003-06-06 23:56:56 +00:00
Max Horn
4b227da824 Preparations for removing GF_AFTER_V? flags
svn-id: r8364
2003-06-06 22:51:33 +00:00
Torbjörn Andersson
2d74732afb Always reset the VAR_GAME_LOADED variable (if it's available). This seems
to fix bug #740148, at least partially.

svn-id: r8362
2003-06-06 21:59:56 +00:00
James Brown
c89b04488d Get rid of *64 targets, use 'maniac' and 'zak' autodetection for the AFTER_V1 flag instead.
svn-id: r8348
2003-06-06 10:47:12 +00:00
Paweł Kołodziejski
00288b07f8 fixed almost object drawing for v1 games, (ugly hack for drawBitmap)
svn-id: r8345
2003-06-06 05:27:45 +00:00
Paweł Kołodziejski
1f846b55dc changed height of virtscreen for v1 games
svn-id: r8344
2003-06-06 04:20:41 +00:00
Max Horn
067609c832 cleanup
svn-id: r8341
2003-06-06 00:16:34 +00:00
Paweł Kołodziejski
94bbf1b9a0 added v1 gfx codec, (not working)
svn-id: r8329
2003-06-05 17:22:15 +00:00
Max Horn
740e7cc0ff restricted check to V2, stupid mistake
svn-id: r8323
2003-06-05 10:33:13 +00:00
Torbjörn Andersson
bd23bcd128 The Full Throttle end credits (press "W" to skip to them) look much nicer
if the blast texts are drawn before the blast objects. This may cause
regressions, but if so perhaps we can fix them by conditionally making
blast texts produce a charset mask? Blast objects already honors the
charset mask, so the end result should be the same as if the object was
drawn first and the text afterwards.

svn-id: r8316
2003-06-05 07:25:36 +00:00
Torbjörn Andersson
b8080605cc Inverse iris transition effect for V2 games. Also, some transition effects
weren't working properly unless the entire screen was first marked as not
dirty. I hope fixing that didn't break anything else.

svn-id: r8314
2003-06-05 07:05:37 +00:00
Paweł Kołodziejski
1cbd8b55ed fixed compilation for vc6
svn-id: r8312
2003-06-05 05:03:57 +00:00
Bertrand Augereau
23196c1257 added a global CostumeRenderer in the VM, to avoid actors reinstancing it every time
svn-id: r8307
2003-06-05 02:44:18 +00:00
Bertrand Augereau
69b55ea45f put a setFeatures member that allows to precompute game-wide stuff, such as CostumeRenderer, when features change, ie extremely rarely
svn-id: r8301
2003-06-04 23:03:23 +00:00
Max Horn
ffef453d1a cache room strip offsets (this should help performance on PalmOS)
svn-id: r8300
2003-06-04 21:45:29 +00:00
Max Horn
10b31ba7f0 init _CJKMode properly, in all cases
svn-id: r8297
2003-06-04 20:06:55 +00:00
Max Horn
6fd0e4a07f Patch #747021: DIG&CMI 2 byte charset support (very heavily modified by me; still needs more cleanup but already works well enough)
svn-id: r8293
2003-06-04 14:37:43 +00:00
Travis Howell
bc9a04b0cf Add MANIAC64 to these two MANIAC checks
svn-id: r8291
2003-06-04 13:15:06 +00:00
Paweł Kołodziejski
6dbd36d668 more v1 load directory ...
svn-id: r8274
2003-06-02 18:15:09 +00:00
Max Horn
67c8782431 make V2 games use transition effects
svn-id: r8271
2003-06-02 11:33:48 +00:00
James Brown
9be08a55f9 Clean up debugger Restart function and move to SCUMM restart function
svn-id: r8263
2003-06-02 05:38:45 +00:00
Max Horn
4292d621af cleaned up the restart/pause/shutdown situation a bit; added comment that explains how restart might be implemented
svn-id: r8260
2003-06-02 02:25:24 +00:00
Jochen Hoenicke
ff5705b32c Added VAR_MUSIC_TIMER support to playerV2. Now Zak intro is synchronized.
svn-id: r8245
2003-06-01 16:42:29 +00:00
Travis Howell
fa481d90e5 Enable loom sound patch, works in both loomega and indy3ega
Use Amiga flag for Amiga versions for now

svn-id: r8222
2003-06-01 04:03:40 +00:00
Max Horn
e63dec5f56 clearUpperMask -> clearCharsetMask
svn-id: r8206
2003-06-01 01:02:35 +00:00