Commit graph

368 commits

Author SHA1 Message Date
Travis Howell
6c2ac4b481 Put check it right place
svn-id: r8769
2003-07-05 09:52:22 +00:00
Jonathan Gray
843e18d45d make f5 menu work in > v2 16 colour games
svn-id: r8768
2003-07-05 09:44:13 +00:00
Travis Howell
6419cc80e7 Don
't attempt to play music/sfx in v1 games

svn-id: r8767
2003-07-05 09:40:18 +00:00
Max Horn
fb16fb3e24 added some very limited support for Mac Loom (text is now properly centered around x:160 instead of x:0); added (commented out) copyprot bypass (but since I am not sure if there was ever a Mac Loom w/o codes, am not sure if this ever should be enabled); added comment regarding the Mac Loom sound format
svn-id: r8737
2003-07-04 12:34:09 +00:00
Max Horn
a0133fdbc6 code transformation on setScaleItem: this shows that rtScaleTable's are actually (almost) the same as scale slots in V8.
svn-id: r8719
2003-07-03 01:24:50 +00:00
Max Horn
92fd56f9f0 removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix)
svn-id: r8710
2003-07-02 13:47:03 +00:00
Max Horn
e376f73a99 cleanup
svn-id: r8698
2003-07-02 00:49:03 +00:00
Max Horn
85270c8b36 fix double-load on startup (for -x option)
svn-id: r8657
2003-06-26 15:47:44 +00:00
Max Horn
7a79ef8f5f added getOBIMFromObject and getObjectImage methods; changed code to use those
svn-id: r8651
2003-06-26 01:46:41 +00:00
Max Horn
3c296b36b7 added ResourceIterator, replacing two of the old findResource/findResourceSmall function - contraty to those, this approach is thread safe
svn-id: r8650
2003-06-26 00:47:39 +00:00
Max Horn
7f3118f8d8 more const qualifiers
svn-id: r8649
2003-06-25 23:49:54 +00:00
Max Horn
870ce2879e added some const qualifiers; moved _bundle & _current_cd_sound from class Scumm to class Sound; some other tweaks
svn-id: r8648
2003-06-25 23:25:52 +00:00
Max Horn
f108fe66fe make smush pausing while GUI is up reentrant
svn-id: r8639
2003-06-22 23:09:56 +00:00
Max Horn
b85d2a9a2a fix for bug #755166 (clear click state after loading a game)
svn-id: r8638
2003-06-22 23:01:06 +00:00
Jonathan Gray
9d9336492c don't try to delete calloc'd mem either
svn-id: r8602
2003-06-22 07:15:00 +00:00
Jonathan Gray
f002a6eee9 don't try to delete malloc'd memory
svn-id: r8601
2003-06-22 06:53:28 +00:00
Max Horn
b81cbb930f support F-keys in V2 games
svn-id: r8576
2003-06-21 01:45:38 +00:00
Jonathan Gray
20b3ba1d28 add id for segacd monkey island and don't attempt to play sbl sounds for now
svn-id: r8555
2003-06-19 12:29:13 +00:00
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