Commit Graph

4338 Commits

Author SHA1 Message Date
Max Horn
c87d33a102 More array code cleanup
svn-id: r14406
2004-08-01 02:03:07 +00:00
Max Horn
5e3236ac47 Add symbolic names for the array types, which makes the code easier to read/understand (note that array types != res types)
svn-id: r14404
2004-08-01 01:54:37 +00:00
Max Horn
862b096f99 Cleanup & enhanced error messages
svn-id: r14402
2004-08-01 01:21:26 +00:00
Max Horn
98ea92322b Fix for bug #953302 (COMI: Crash when you choose Rottingham as your first oponent); this would be suitable for the 0.6.x branch, too...
svn-id: r14401
2004-08-01 01:19:54 +00:00
Max Horn
7f5f1c1418 Fix for bug #941275 (FOA: Game crashes when clicking statue part (Sentry Statue))
svn-id: r14398
2004-07-31 23:34:07 +00:00
Max Horn
f0d6fd8c5a isGlobInMemory == isResourceLoaded
svn-id: r14396
2004-07-31 23:20:37 +00:00
Travis Howell
b486e15959 Ooops
svn-id: r14356
2004-07-28 12:05:30 +00:00
Travis Howell
a50b6cf776 Add patch from madm00se for:
#869003 MIVGA: Guybrush shrinks & grows near end of game

svn-id: r14355
2004-07-28 11:56:14 +00:00
Travis Howell
49c9929d54 Not needed, invalid in Loom[ega]
svn-id: r14353
2004-07-27 12:37:03 +00:00
Max Horn
1ab8ff0403 Fixed leak in Insane::readFileToMem
svn-id: r14347
2004-07-26 23:16:37 +00:00
Max Horn
908723cc84 Load SMUSH files and NUT fonts from mac container files, too (done that by adding a new high level method openFile to class ScummEngine)
svn-id: r14346
2004-07-26 23:15:01 +00:00
Max Horn
f8f312f0bb Add game detector support for the Mac SCUMM container file format; add support for more of the games/demos using that format; clean up detector code (and probably introduced some regressions in it, so watch out :-)
svn-id: r14344
2004-07-26 18:13:53 +00:00
Max Horn
f045cbf17c Add support for the mac (rescumm) container file format used by Sam&Max and DOTT, making it possible to play those directly from the original CDs (no game detector support yet, so you have to add them to your config file manually for now)
svn-id: r14342
2004-07-26 17:14: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
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
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
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
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
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
Paweł Kołodziejski
9e7f2342c7 removed not needed code and moved pause mixer after pause imuse
svn-id: r14274
2004-07-19 10:51:00 +00:00
Paweł Kołodziejski
dc9963ec97 removed not needed call for pause imuse and non used variable
svn-id: r14271
2004-07-19 09:55:33 +00:00
Travis Howell
5ecfa56b5e Rename object fields
svn-id: r14270
2004-07-19 01:58:08 +00:00
Max Horn
904493bb76 Hack to work around bug #775097 - probably wrong, probably will cause regressions, probably should be undone soon -- but it's an experiment ;-)
svn-id: r14268
2004-07-18 23:41:49 +00:00
Max Horn
fb88830bd6 Too many newlines
svn-id: r14267
2004-07-18 22:29:22 +00:00
Max Horn
8e8b93aec0 Tiny cleanup ;-)
svn-id: r14251
2004-07-18 17:08:00 +00:00
Nicolas Bacca
74d898d160 Fix Digital Imuse deadlocks for CE platforms. Other platforms using event-based timers may be interested in it, too
svn-id: r14248
2004-07-18 16:30:01 +00:00
Travis Howell
c87804b893 FM Towns versions of indy3 and zak set three extra timers (Verified by disasm.)
svn-id: r14243
2004-07-18 11:46:50 +00:00
Travis Howell
b317fbb39d Remove out dated comment.
svn-id: r14242
2004-07-18 09:53:58 +00:00
Travis Howell
9563fb9c6e Revert small part of scumm/saveload.cpp revision 1.129.
Fixes bug #884171 - DOTT: Transition effect glitch (regression)

svn-id: r14240
2004-07-18 05:04:30 +00:00
Travis Howell
3aa5d9dd06 Only change actor.frame if actor's frame is actually updated.
svn-id: r14238
2004-07-18 04:24:03 +00:00
Travis Howell
002b9331a8 Minor cleanup
svn-id: r14236
2004-07-17 10:25:22 +00:00
Travis Howell
5b238e17c1 Don't remap arrow keys in later games.
Allow arrows keys to work in lander game of Dig again.

svn-id: r14232
2004-07-17 07:34:34 +00:00
Travis Howell
7da0466ec5 Alter check, since later games set VAR elsewhere.
svn-id: r14230
2004-07-17 05:35:38 +00:00
Travis Howell
60dd6b7d3b Use VAR_VOICE_BUNDLE_LOADED in FT, it is need by at least one script (250)
svn-id: r14229
2004-07-17 05:29:56 +00:00
Travis Howell
619c21a318 Set new VARS for older save games.
svn-id: r14227
2004-07-16 14:41:05 +00:00
Travis Howell
078dc6220f Remove old hack and comment
svn-id: r14224
2004-07-16 10:17:41 +00:00
Travis Howell
bd8c7f08f6 Fix bugs:
FT: Stadium Salesman Glitches
COMI: Wally's Fake piratehook still on ground after pick up

svn-id: r14221
2004-07-16 03:39:23 +00:00
Travis Howell
efbd2fe42f Use VAR_DEFAULT_TALK_DELAY
svn-id: r14220
2004-07-15 23:15:13 +00:00
Travis Howell
6a18e02a53 Actually use actor talkScript when required.
svn-id: r14217
2004-07-15 12:26:10 +00:00
Travis Howell
95520634d3 Case only used in HE 6.0 games after all.
svn-id: r14216
2004-07-15 05:53:36 +00:00
Travis Howell
84e77997d3 Fix music volume regression in HE games.
svn-id: r14215
2004-07-15 05:44:57 +00:00
Travis Howell
fc0ee14938 Update comment
svn-id: r14213
2004-07-14 10:48:33 +00:00
Travis Howell
50c80a808a HE 7.0 games set fade effects to 1 but don't actually use any fade effects.
svn-id: r14212
2004-07-14 09:37:15 +00:00
Travis Howell
be7ee03501 Remove old FT hacks, no longer needed.
svn-id: r14211
2004-07-14 08:55:31 +00:00
Travis Howell
e69d51e1ba Ooops
svn-id: r14210
2004-07-14 08:16:40 +00:00
Travis Howell
d68d9a4e1d Add support for sound offsets in HE games.
svn-id: r14209
2004-07-14 07:29:09 +00:00
Travis Howell
63003a1cca Ooops
svn-id: r14208
2004-07-14 05:53:37 +00:00
Travis Howell
c7e39d4191 Fix speech in HE games.
svn-id: r14207
2004-07-14 04:54:06 +00:00
Eugene Sandulenko
6d36d28224 Plug memory leak
svn-id: r14205
2004-07-13 10:45:47 +00:00
Travis Howell
465331ceba Simpler method from _sev
svn-id: r14203
2004-07-13 10:18:06 +00:00
Travis Howell
d189654e55 More palette changes needed for HE 7.0 games.
svn-id: r14202
2004-07-13 09:59:13 +00:00
Travis Howell
a98f67562b Add correct sample rate for DOS HE 6.0 games.
svn-id: r14201
2004-07-13 05:02:27 +00:00
Travis Howell
ae70a7034e Stop music when requested in HE games.
Fix sfx status for HE games.

svn-id: r14200
2004-07-13 01:40:47 +00:00
Travis Howell
eb44bbc727 Fix music in 3DO versions of HE games.
svn-id: r14199
2004-07-13 01:20:09 +00:00
Travis Howell
0cbed40ae4 Fix memory leak
svn-id: r14198
2004-07-13 00:22:10 +00:00
Travis Howell
fd8f64f005 Correction
svn-id: r14197
2004-07-12 14:21:16 +00:00
Travis Howell
ea0b3ccacc Too Many HE versions.
svn-id: r14196
2004-07-12 13:27:59 +00:00
Travis Howell
fd60246277 Add HE 7.1 games music support, untested.
svn-id: r14195
2004-07-12 13:22:48 +00:00
Travis Howell
a5187aa823 Should be right this time.
svn-id: r14194
2004-07-12 09:26:30 +00:00
Travis Howell
621ff05ace Add support for music in HE 7.0 games.
Check music status correctly in 3DO versions.

svn-id: r14193
2004-07-12 09:02:18 +00:00
Travis Howell
b42e853ddd Fix puttdemo (dos) regression.
svn-id: r14192
2004-07-12 06:22:40 +00:00
Travis Howell
032405d6f7 Bump save game version for HE 7.0 changes
Remove mention of talkspeed default, since it no longer applies.

svn-id: r14191
2004-07-11 11:59:18 +00:00
Travis Howell
e98b7c11ed Missed one spot
svn-id: r14190
2004-07-11 10:47:25 +00:00
Travis Howell
17802b8035 Rename var
Add some changes ready for next save game version (Commented out)

svn-id: r14189
2004-07-11 09:15:14 +00:00
Travis Howell
26f4df6aa3 Color cycling is only used in SCUMM 4+ games.
svn-id: r14186
2004-07-11 03:46:32 +00:00
Travis Howell
e94931462b Add vart
svn-id: r14185
2004-07-11 01:30:21 +00:00
Travis Howell
ebafa060c6 Always stop actor walkscript when required.
svn-id: r14184
2004-07-10 23:32:31 +00:00
Travis Howell
32335f0ea1 Ooops
svn-id: r14183
2004-07-10 11:46:15 +00:00
Travis Howell
4b4bb0d726 Full Throttle handles verb differently
svn-id: r14182
2004-07-10 11:42:31 +00:00
Torbjörn Andersson
a2afa01580 Don't allow codec 1 to skip columns when _scaleX is 255. This is consistent
with how we do it in costume.cpp, and it fixes a graphics glitch in the CMI
banjo duel for me.

svn-id: r14179
2004-07-09 07:06:30 +00:00
Torbjörn Andersson
b0cf75722e Experimental fix for bugs #795938 and #929242. In both cases, text is
apparently printed before cameraMoved() has had the chance to update xstart
of virtscr[0].

All this change does is to call cameraMoved() from setCameraAt().

svn-id: r14177
2004-07-08 10:47:44 +00:00
Travis Howell
a52cac7069 Ooops
svn-id: r14175
2004-07-07 00:11:11 +00:00
Travis Howell
03ddb782d1 Code is correct, check against disasm.
svn-id: r14172
2004-07-05 06:29:38 +00:00
Travis Howell
a1cd1787e8 Unused in original game (According to diasm.)
svn-id: r14171
2004-07-05 06:26:57 +00:00
Travis Howell
40fa690de0 Merge into new function.
svn-id: r14170
2004-07-05 06:25:01 +00:00
Travis Howell
510d9c847f Should use putActor
svn-id: r14169
2004-07-05 06:02:05 +00:00
Max Horn
9160374f23 Get rid of old hack (possible thanks to Kirbens recent change to the createBoxMatrix opcode)
svn-id: r14168
2004-07-05 01:33:51 +00:00
Travis Howell
5b7157e3c9 Match disasm., applies to The Dig too.
svn-id: r14167
2004-07-04 12:06:17 +00:00
Paweł Kołodziejski
11d552ff7e added code for bundle script vars
svn-id: r14166
2004-07-04 06:14:18 +00:00
Travis Howell
84ea22d80c Switch warnings to debug, since they occur normally in games.
svn-id: r14164
2004-07-04 03:25:24 +00:00
Travis Howell
d0f31a829a PC version of FT demo uses older animation/direction calculations
actor flip is only reset for HE games.

svn-id: r14162
2004-07-04 03:12:02 +00:00
Travis Howell
1a91b85549 Correction
svn-id: r14161
2004-07-04 00:10:30 +00:00
Travis Howell
0a287fa7f6 Initialise HE 7.0 sound vars
Enable VAR_NUM_GLOBAL_OBJS

svn-id: r14160
2004-07-03 23:58:30 +00:00
Travis Howell
7927f8574e Add suggested fix for bug #778281 (Solution checked against disasm.)
svn-id: r14159
2004-07-03 13:32:56 +00:00
Travis Howell
40eea5d386 Keep mouse mutton VARS in sync.
svn-id: r14158
2004-07-03 11:37:26 +00:00
Travis Howell
da05ebfa3d Add vars
svn-id: r14157
2004-07-03 10:43:40 +00:00
Travis Howell
80f6319454 Not used by games, switch to invalid.
svn-id: r14156
2004-07-03 10:03:21 +00:00
Travis Howell
b2bb3a3aa4 Add a few vars
svn-id: r14155
2004-07-03 09:59:05 +00:00
Eugene Sandulenko
1590ea242e Fix veggie head bug in fbear. Patch attahed to bugreport #984258 is
partially attached.

svn-id: r14154
2004-07-03 03:06:15 +00:00
Travis Howell
995ac059f8 Caused no speech in imuse digital games.
svn-id: r14153
2004-07-02 07:38:40 +00:00
Travis Howell
6422036267 Add vars
svn-id: r14152
2004-07-02 06:40:08 +00:00
Eugene Sandulenko
d01f52a7f5 Fix some HE versions, add multiple versions targets.
svn-id: r14147
2004-07-01 11:36:06 +00:00
Travis Howell
26a4a688cf Fix large delay in library of The Dig regression.
Clipping in akos was made too strict.

svn-id: r14145
2004-07-01 11:22:38 +00:00
Paweł Kołodziejski
a6068ff5ae fixed compilation
svn-id: r14139
2004-07-01 05:46:39 +00:00
Travis Howell
dcc74eb07d Commited wrong change
svn-id: r14137
2004-07-01 04:45:56 +00:00
Travis Howell
360d5cffc0 Add better check
svn-id: r14135
2004-07-01 04:37:13 +00:00
Eugene Sandulenko
b03301b97d Move some HE demos to version 72, where they should be.
svn-id: r14134
2004-06-30 12:50:30 +00:00
Travis Howell
857c9fc858 Changes for non-akos version of puttputt
svn-id: r14133
2004-06-30 11:03:55 +00:00
Torbjörn Andersson
b7dbbc6141 Initialise _numImages to zero, along with the other _num<whatever>
variables. This fixes a Valgrind error, and the "Invalid allocation size"
errors I got when running ScummVM in GDB under MinGW yesterday.

svn-id: r14129
2004-06-30 06:46:32 +00:00
Eugene Sandulenko
74bf51d3d6 Implement game detection based on MD5s. This lets us avoid multiple GIDs
for different versions of HE games. Right now there is just one game, but
more to follow.

svn-id: r14124
2004-06-29 12:10:08 +00:00
Travis Howell
26e38321df Rename var
svn-id: r14121
2004-06-29 11:02:15 +00:00
Travis Howell
bebf55492a Revert hypothetical off-by-one fixin akos codec 16, causes glitches in HE games.
svn-id: r14120
2004-06-29 10:37:52 +00:00
Travis Howell
a78226a9c5 Remove old commented out code
svn-id: r14119
2004-06-29 10:23:15 +00:00
Travis Howell
a3b04b047b Change stampObject opcode to use same method as HE game, in order to draw to background.
svn-id: r14118
2004-06-29 10:21:53 +00:00
Travis Howell
8a74791c64 Add hack for mouse hotpot in funpack
svn-id: r14117
2004-06-29 09:57:01 +00:00
Travis Howell
b1e49b13af Fix actorOps case 218/9 in HE games
svn-id: r14115
2004-06-29 05:36:01 +00:00
Travis Howell
b38f62ffdd Add check for older puttputt version.
svn-id: r14110
2004-06-29 01:34:42 +00:00
Max Horn
a5df4fba77 Added simple ref-counting to the File class
svn-id: r14106
2004-06-28 22:34:22 +00:00
Eugene Sandulenko
875d0a580e oops
svn-id: r14105
2004-06-28 13:47:39 +00:00
Eugene Sandulenko
6980923df8 Move Win32ResExtractor to ScummEngine_v7he. Now it doesn't look alien.
svn-id: r14104
2004-06-28 11:38:26 +00:00
Travis Howell
ba23b9f96e Fix missing subtitles in Conroy Bumpus' song in Sam & Max
svn-id: r14101
2004-06-28 09:03:08 +00:00
Travis Howell
8d5cb06d25 Add a few more HE 7.2 vars
svn-id: r14098
2004-06-28 01:32:36 +00:00
Travis Howell
0b045875ca Fix missing sound effects in puttdemo (DOS)
svn-id: r14097
2004-06-28 01:09:41 +00:00
Max Horn
53af3dc670 Enhanced default directory support in the File class; now one can specify arbitrary many default search directories
svn-id: r14095
2004-06-28 00:06:31 +00:00
Max Horn
b1de21accb Don't use getGameDataPath()
svn-id: r14094
2004-06-28 00:00:33 +00:00
Travis Howell
d4f071c6c6 That check should of been for HE 7.0 games.
svn-id: r14092
2004-06-27 23:54:53 +00:00
Max Horn
c7f97c0bcb Added small TODO to my currently defunct OSX-COMI-hack
svn-id: r14091
2004-06-27 22:19:21 +00:00
Max Horn
b8ad54b3af Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
2004-06-27 22:14:35 +00:00
Max Horn
b7f9e2137b Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14088
2004-06-27 22:03:38 +00:00
Max Horn
df984b3824 Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14087
2004-06-27 21:52:25 +00:00
Max Horn
4b2d863924 Renamed/documented some odd smush/insane vars
svn-id: r14085
2004-06-27 21:06:04 +00:00
Travis Howell
c026a0a5e1 Another palette change needed for HE 7.0 games.
Rename a few HE sound vars

svn-id: r14084
2004-06-27 15:41:01 +00:00
Eugene Sandulenko
9ef85b6281 Renamed some HE-specific variables.
svn-id: r14083
2004-06-27 15:22:31 +00:00
Max Horn
a6b582a0c4 Moved _Win32ResExtractor to ScummEngine_v6 (and ideally, it should be confined to the HE classes only, but right now that is not feasible)
svn-id: r14082
2004-06-27 13:33:03 +00:00
Max Horn
6f8f26dd38 Small TODO comment
svn-id: r14081
2004-06-27 13:32:50 +00:00
Max Horn
f8cc10321e Fix memory leak
svn-id: r14080
2004-06-27 13:24:15 +00:00
Max Horn
907f2dbf19 Use existing ScummVM functionality for packed structs
svn-id: r14079
2004-06-27 13:15:23 +00:00
Travis Howell
2da9dc7fe4 Not required for WIN32
svn-id: r14078
2004-06-27 11:21:54 +00:00
Travis Howell
8c32afe796 HE 7.0 games don't actually use their color cycling resources
svn-id: r14076
2004-06-27 11:12:23 +00:00
Travis Howell
372296e918 Fix actor palette in HE 7.0 games.
Use roompalette[] for all graphics decoders

svn-id: r14075
2004-06-27 10:54:31 +00:00
Travis Howell
4ffcdcdf4f Remove bad comment
svn-id: r14074
2004-06-27 02:17:56 +00:00
Jonathan Gray
b02221a613 Add initial support for reading sputm.9x index files. Teach ScummVM about res type 13 (rtImage/AWIZ), although don't actually allocate when reading the DIRI block yet. Error out when trying to read a sputm.9x DOBJ block as they are different to earlier versions and not yet supported
svn-id: r14073
2004-06-26 12:57:11 +00:00
Travis Howell
5268717ad4 Older scaleTable and scale values are still use by HE games.
svn-id: r14069
2004-06-26 07:31:57 +00:00
Jonathan Gray
46c50cf00c move puttzoo back into the correct position and note Scummsys.90 version
svn-id: r14068
2004-06-26 06:58:39 +00:00
Jonathan Gray
e61c96cb2e work around for humongous catalogs
svn-id: r14066
2004-06-26 05:08:02 +00:00
Travis Howell
bd87b82243 GF_WINDOWS no longer required for later HE games
svn-id: r14065
2004-06-26 04:50:33 +00:00
Travis Howell
ab0822e8c3 Enable next set of HE games, which all reach boot scripts.
svn-id: r14064
2004-06-26 04:33:28 +00:00
Travis Howell
766d221552 Correction
svn-id: r14063
2004-06-26 03:41:21 +00:00
Jonathan Gray
e5ddd7ef55 add catalog2 target
svn-id: r14062
2004-06-26 03:26:20 +00:00
Jonathan Gray
2abe07e044 let my Scummsys.90 version of freddi get detected properly
svn-id: r14061
2004-06-26 03:00:37 +00:00
Jonathan Gray
cbf068b638 look for the newer BMAP blocks from later humongous games if we can't find an SMAP block
svn-id: r14060
2004-06-26 02:45:17 +00:00
Travis Howell
dfa7af5b5d Fix transparency for akos codec 16 in HE games.
svn-id: r14059
2004-06-26 01:02:52 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
7a8d469c66 Use auto_ptr to avoid leaks
svn-id: r14057
2004-06-25 22:12:57 +00:00
Max Horn
de7c36f063 cleanup
svn-id: r14055
2004-06-25 21:48:12 +00:00
Travis Howell
c399ca8486 Switch to debug
svn-id: r14051
2004-06-25 12:17:33 +00:00
Travis Howell
7b62636e75 Delay only required when using subtitles
svn-id: r14050
2004-06-25 12:11:34 +00:00
Travis Howell
c9e293b76c Avoid illegal VARS in HE 7.2
svn-id: r14049
2004-06-25 11:55:23 +00:00
Max Horn
4bb40b3408 fix warning
svn-id: r14048
2004-06-25 11:49:07 +00:00
Jonathan Gray
b5c11e4660 note targets with multiple interpreter versions
svn-id: r14046
2004-06-25 11:35:19 +00:00
Travis Howell
cc62c0823b Set fast mode for HE7 games too.
FIXME not needed, originals used getGraphicsPerformance()

svn-id: r14045
2004-06-25 11:32:19 +00:00
Jonathan Gray
bdba2baa18 Display error based on the version a game is believed to be when reading MAXS block. Note additional C++ engine based version of spydemo.
svn-id: r14044
2004-06-25 10:58:47 +00:00
Jonathan Gray
28b1c628aa Check blocksize when reading MAXS, may potentially detect HE versions using it in future. Add/Correct some more HE targets.
svn-id: r14043
2004-06-25 10:39:35 +00:00
Travis Howell
dce61ed32f Correction
svn-id: r14042
2004-06-25 10:36:11 +00:00
Jonathan Gray
31f9fb538a move puttzoo to _heversion 72 as it needs the newer MAXS block reading code, add bluesabctimedemo target
svn-id: r14041
2004-06-25 10:12:59 +00:00
Jonathan Gray
22a6163a3a there were never dos versions of these HE titles so bump _heversion up to 70
svn-id: r14040
2004-06-25 09:57:10 +00:00
Travis Howell
b2c417d463 Fix regression in HE 7.2 games
svn-id: r14039
2004-06-25 09:52:17 +00:00
Jonathan Gray
2ce0184d12 add debugging messages for index blocks which don't already have them via readResTypeList
svn-id: r14038
2004-06-25 08:18:51 +00:00
Travis Howell
ae10ed243c Minor cleanup
svn-id: r14037
2004-06-25 08:10:34 +00:00
Travis Howell
0db578ac11 Fix minor bug in akos codec1
svn-id: r14036
2004-06-25 06:10:13 +00:00
Eugene Sandulenko
1503d476ec Fix $Header$
svn-id: r14035
2004-06-25 03:42:51 +00:00
Eugene Sandulenko
6affa9e75a Phase #3 of HE v7.0+ cursors. Now they show up correctly. Remove TODO item.
svn-id: r14034
2004-06-24 20:20:35 +00:00
Eugene Sandulenko
088676cdb2 Add grabCursorFromBuffer() function.
svn-id: r14033
2004-06-24 20:09:36 +00:00
Travis Howell
08cebae472 Add some more HE7 differences.
svn-id: r14032
2004-06-24 15:13:00 +00:00
Eugene Sandulenko
d6cfe9a5e9 Phase #2 of HE v7.0+ cursors. Still no visual output, but all data is
parsed now.

svn-id: r14031
2004-06-24 14:12:20 +00:00
Travis Howell
afbe1efa18 Not required for WIN32
svn-id: r14029
2004-06-24 13:10:48 +00:00
Travis Howell
a9de63ef02 Add missing code
svn-id: r14028
2004-06-24 13:03:26 +00:00
Travis Howell
622f3ec78f Fix mouse cursors hotspot in HE games.
HE games don't change cursor hotspot, when changing cursor image.

svn-id: r14027
2004-06-24 12:32:19 +00:00
Travis Howell
974f3e6431 Fix comi regression
svn-id: r14026
2004-06-24 05:55:04 +00:00
Travis Howell
54e3e20b98 Revert change, caused regression (Mini game in Cosmic Diner of puttmoon no longer works)
svn-id: r14025
2004-06-24 05:11:19 +00:00
Eugene Sandulenko
9fae63756b Phase #1 of HE v7.0+ cursors. Basically it's Win32 resource extractor
incorporated from icotools, no display, just searching it in resources
and display a warning. Graphics converter is on the way.

Code is NOT endian-safe. It will not work on BE system, as was tested by
joostp. Please, fix endianess.

svn-id: r14024
2004-06-24 02:36:17 +00:00
Travis Howell
8c70f6bb6a Ooops
svn-id: r14021
2004-06-23 11:28:51 +00:00
Travis Howell
eecabcecb3 Remove duplicate code
svn-id: r14020
2004-06-23 11:27:58 +00:00
Travis Howell
2dae80dbd1 Checked opcoded
svn-id: r14018
2004-06-23 10:52:22 +00:00
Jonathan Gray
615f0e4b47 for whatever reason hev7 gives us a 244 for quit instead of 160
svn-id: r14017
2004-06-23 10:47:14 +00:00
Travis Howell
755efffd78 Typo
svn-id: r14016
2004-06-23 10:34:44 +00:00
Jonathan Gray
86af05599b this still needs to be sorted out properly but it seems the majority of cases use 0 not 255 need to distinguish which in future...
svn-id: r14014
2004-06-23 10:18:19 +00:00
Jonathan Gray
3744c9f772 fbear always uses a transparency colour of 5 in codec 16
svn-id: r14013
2004-06-23 10:08:20 +00:00
Travis Howell
918858ebce Positive values are only used in DOS version of fbear.
svn-id: r14012
2004-06-23 09:59:14 +00:00
Travis Howell
04d4f7fca1 Fix room changing in HE7 games.
svn-id: r14011
2004-06-23 09:48:27 +00:00
Travis Howell
9cc7594384 Remove HE7 check that wasn't needed and caused resource load failures.
Enable startSound code in HE7 games.
Avoid loading music resources in HE7 games, since they are unsupported at the moment.

svn-id: r14010
2004-06-23 09:13:25 +00:00
Jonathan Gray
c7f06142a0 use the correct transparency colour for akos codec 16 with hev7
svn-id: r14009
2004-06-23 07:45:28 +00:00
Eugene Sandulenko
fe146617e6 Fixed FT, so battles are not so ridiculously easy as before. Now match original
svn-id: r14007
2004-06-23 03:16:04 +00:00
Travis Howell
7d6f56ed48 Enable some sound support in HE7 games.
svn-id: r14006
2004-06-23 02:21:10 +00:00
Eugene Sandulenko
a7e85cab1a oops. Forgot to remove debug output and rename resource type.
svn-id: r14004
2004-06-23 01:47:34 +00:00
Eugene Sandulenko
2e0814514c HE 7.0 fixes
o Stub for o7_startSound
 o graphics decoders
 o findResource was moved to ScummEngine and extended
 o 7.0+ titles use akos costumes, so fix that in launcher
 o more o6_resourceRoutines stubs

Now HE 7.0 games (first 320x200 windows ports) show intros and some are
playable to some extent.

svn-id: r14003
2004-06-23 01:36:57 +00:00
Eugene Sandulenko
2cd355107e HE v7.0+ resources finally fixed
svn-id: r14001
2004-06-22 13:52:39 +00:00
Travis Howell
7989a98952 Add FBEAR: Partial fix for the piano, patch #977249
svn-id: r13999
2004-06-22 10:39:46 +00:00
Paweł Kołodziejski
5ce27765af dont wait for end of stream while playing insane
svn-id: r13998
2004-06-21 19:37:54 +00:00
Paweł Kołodziejski
8c14139a33 call imuse directly
svn-id: r13997
2004-06-21 19:04:48 +00:00
Eugene Sandulenko
69ab14e133 More HE v7.0+ resource fixes.
Make puttdemo.win runnable again.

svn-id: r13994
2004-06-21 10:06:52 +00:00
Paweł Kołodziejski
fdb2c41cdd increased audio buffer to solve scuttering problems
svn-id: r13993
2004-06-21 06:59:24 +00:00
Travis Howell
b44caf2c17 Leave as warning for now
svn-id: r13992
2004-06-21 05:43:29 +00:00
Paweł Kołodziejski
416b9b2ab4 fixed status of sounds for stream2
svn-id: r13991
2004-06-21 05:31:51 +00:00
Travis Howell
fce2762f29 Add some missing code
svn-id: r13990
2004-06-21 02:33:23 +00:00
Paweł Kołodziejski
8b789937c6 changed check to _insaneRunning
svn-id: r13986
2004-06-20 21:01:32 +00:00
Eugene Sandulenko
80216dc6d6 Rewrote 3DO graphics decoders to more C-like syntax.
svn-id: r13985
2004-06-20 20:54:18 +00:00
Paweł Kołodziejski
6268fdae25 missed changes
svn-id: r13984
2004-06-20 20:19:09 +00:00
Paweł Kołodziejski
af3d123730 added exception for insane sounds to prevent deadlock
svn-id: r13983
2004-06-20 20:13:01 +00:00
Eugene Sandulenko
dad3482500 Fix compilation
svn-id: r13981
2004-06-20 19:19:53 +00:00
Paweł Kołodziejski
38ed122c95 what was that ?
svn-id: r13980
2004-06-20 18:48:17 +00:00
Paweł Kołodziejski
dcc12aa49f stop track after stream is reach end
svn-id: r13978
2004-06-20 18:36:10 +00:00
Paweł Kołodziejski
8a685092d2 moved sound calls to the same smush thread with others sounds
svn-id: r13977
2004-06-20 16:38:28 +00:00
Paweł Kołodziejski
24f5130de2 better check if track is used
svn-id: r13976
2004-06-20 15:58:28 +00:00
Paweł Kołodziejski
92fce3fa49 i wanted 16 not 24
svn-id: r13975
2004-06-20 15:32:46 +00:00
Paweł Kołodziejski
83d4d9058e trackOffset is obsolote, added few debugs, added flush sounds while smush plying to prevent overload tracks
svn-id: r13974
2004-06-20 15:28:11 +00:00
Travis Howell
3fd30cda0c Didn't need to split it after all.
svn-id: r13973
2004-06-20 14:47:14 +00:00
Paweł Kołodziejski
b6ce351f6d fix for not finding sample
svn-id: r13970
2004-06-20 13:19:22 +00:00
Paweł Kołodziejski
8f1191b379 some optimisations
svn-id: r13969
2004-06-19 17:48:06 +00:00
Paweł Kołodziejski
4b9aa09f03 moved a bit
svn-id: r13968
2004-06-19 17:22:18 +00:00
Paweł Kołodziejski
f5c8c66642 chnaged fps in imuse digi to dynamic param
svn-id: r13967
2004-06-19 16:00:11 +00:00
Paweł Kołodziejski
22048dca58 that was very bad
svn-id: r13966
2004-06-19 15:17:50 +00:00
Paweł Kołodziejski
212a451b1a correct for last commit, changed dummy reads to seek
svn-id: r13965
2004-06-19 15:05:18 +00:00
Paweł Kołodziejski
eb867d6d3d removed unused code
svn-id: r13964
2004-06-19 14:54:13 +00:00
Paweł Kołodziejski
726ac17b6e experimental fix for expired sounds
svn-id: r13963
2004-06-19 14:41:04 +00:00
Torbjörn Andersson
3da9e2d21e The "Fatty Bear's Birthday Surprise" demo didn't erase subtitles properly
during the black-and-white "Alfred Hitchcock Presents" style part of the
intro. I think this is the correct fix for it, but I could be wrong...

svn-id: r13958
2004-06-14 07:23:59 +00:00
Torbjörn Andersson
a15f20535f Applied my suggested fix for bug #960674, now that Fingolfin has had the
chance to look at it.

svn-id: r13957
2004-06-13 20:00:46 +00:00