Commit graph

270 commits

Author SHA1 Message Date
Travis Howell
d34da28ed9 nukeArrays still nuking wrong arrays.
Add some more differences in later HE versions.
Add HE opcodes changes.

svn-id: r15145
2004-09-17 05:43:37 +00:00
Travis Howell
5ff185d7f8 Correct local script range in HE99+
svn-id: r15134
2004-09-16 09:20:49 +00:00
Travis Howell
d662863db1 Lower debug level
svn-id: r14957
2004-09-08 07:10:43 +00:00
Travis Howell
fc60379b21 Caused crash.
svn-id: r14956
2004-09-08 06:46:52 +00:00
Travis Howell
c9a4f23e51 No shadow palette in later games.
svn-id: r14955
2004-09-08 06:38:31 +00:00
Travis Howell
8d6e15b34a Verified values.
No extra object data in later HE games.

svn-id: r14954
2004-09-08 06:35:38 +00:00
Travis Howell
6b0b39c7d6 Add extra index types.
Remove duplicate code.

svn-id: r14953
2004-09-08 05:58:36 +00:00
Travis Howell
5532f83a56 Load talkie block
svn-id: r14945
2004-09-07 13:23:26 +00:00
Jonathan Gray
67498a174b add some he c++ engine related changes. For some reason the cpp versions of spydemo and timedemo aren't getting _heversion set correctly
svn-id: r14940
2004-09-07 12:54:41 +00:00
Travis Howell
c6e0afadf0 Add index for HE C++ games.
Enable all HE games again.

svn-id: r14939
2004-09-07 12:21:54 +00:00
Travis Howell
a8a75eb009 HE games should check _numSounds to check whether sound type is music.
Set maximum resource idx at 8000 for now, some HE games include huge amounts of sound resources.

svn-id: r14859
2004-09-02 03:54:29 +00:00
Travis Howell
704ad7f63b Correct resource value, to match original.
Adjust rtLast

svn-id: r14833
2004-08-30 00:10:36 +00:00
Travis Howell
cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +00:00
Travis Howell
0f71f50d37 Sound change for later HE 7.x games
Revert cursor change, later games have no .he3 file.
Add some stubs/opcodes
Later HE games use hard code value for _numRoomVariables

svn-id: r14808
2004-08-28 09:19:53 +00:00
Travis Howell
22fb004e20 akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes

svn-id: r14799
2004-08-28 03:18:52 +00:00
Eugene Sandulenko
eb7671f0a7 Add another variable which improves readability.
svn-id: r14791
2004-08-26 23:30:28 +00:00
Travis Howell
3b7d3120c1 Add var difference in later HE games
svn-id: r14789
2004-08-26 23:15:39 +00:00
Jonathan Gray
30c31c9cb0 make more he titles get to boot scripts
svn-id: r14780
2004-08-26 14:35:38 +00:00
Jonathan Gray
3d8ef64d39 allocate memory for dobj in he 90, point games claiming to be 90 at 72he class
svn-id: r14777
2004-08-26 14:07:19 +00:00
Travis Howell
8e2e48e40c Add some stubs for HE 7.2
Fix warning
Add music support for later HE 7.2 games

svn-id: r14761
2004-08-26 06:08:41 +00:00
Travis Howell
4bdbd79690 Don't skip arrayindex in HE 7.2 games
svn-id: r14741
2004-08-25 06:58:30 +00:00
Eugene Sandulenko
d3727e1c2a HE 7.2 uses different array headers. they introduced start indexes, so it
became in somewhat Pascal fashion, i.e. array[2..3][10..20]. So I had to
override ArrayHeader function in ScummEngine_v72he.

Also there is new array type kDwordArray. So that is implemented as well.

Though, not everything yet transferred to use new ArrayHeader, so running
HE 7.2 titles is risky now.

Some opcodes were implemented along the way.

svn-id: r14735
2004-08-25 02:12:03 +00:00
Travis Howell
07eb3f50f9 Correct bug in array loading from index.
A few changes/corrections for HE 7.2

svn-id: r14724
2004-08-24 05:04:14 +00:00
Travis Howell
deeadc97fa Resource corrections
svn-id: r14723
2004-08-24 02:02:56 +00:00
Travis Howell
a5ebe93bc7 Correct value
svn-id: r14717
2004-08-23 11:47:51 +00:00
Travis Howell
dd20c05db5 Adjust max resource type
svn-id: r14716
2004-08-23 11:44:29 +00:00
Travis Howell
f362bad646 Corrections
svn-id: r14715
2004-08-23 11:28:28 +00:00
Travis Howell
bbfe489e9f More changes for He 7.2 games
Might need HE7.2 class eventually

svn-id: r14704
2004-08-23 08:41:23 +00:00
Jonathan Gray
5f3009d7d0 note existance of DISK index block found in f4-demo
svn-id: r14702
2004-08-23 08:35:35 +00:00
Travis Howell
c7b0f20269 Correction
svn-id: r14700
2004-08-23 07:10:16 +00:00
Jonathan Gray
b7ad2a612a add readMAXS debug statement
svn-id: r14699
2004-08-23 06:30:34 +00:00
Travis Howell
82b9f1e599 Mac. version of indy3 uses VAR_VIDEOMODE value of 50
Add initial support for loading EGA resource

svn-id: r14671
2004-08-22 06:16:16 +00:00
Travis Howell
66cb97e66b Shorter check
svn-id: r14592
2004-08-14 03:16:32 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
83600ac731 Removing annoying debug messages
svn-id: r14515
2004-08-08 13:23:31 +00:00
Travis Howell
c5446494b8 Should have limited that to HE games only.
svn-id: r14430
2004-08-02 05:09:53 +00:00
Travis Howell
d60973b05e HE games use different method to clear some arrays resources.
svn-id: r14423
2004-08-01 13:57:00 +00:00
Max Horn
f0d6fd8c5a isGlobInMemory == isResourceLoaded
svn-id: r14396
2004-07-31 23:20: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
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
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
002b9331a8 Minor cleanup
svn-id: r14236
2004-07-17 10:25:22 +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
Max Horn
b1de21accb Don't use getGameDataPath()
svn-id: r14094
2004-06-28 00:00:33 +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
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
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
Jonathan Gray
e61c96cb2e work around for humongous catalogs
svn-id: r14066
2004-06-26 05:08:02 +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