Commit Graph

250 Commits

Author SHA1 Message Date
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
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
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
974f3e6431 Fix comi regression
svn-id: r14026
2004-06-24 05:55:04 +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
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
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
Eugene Sandulenko
4f8cb1d514 7.0+ HE games have additional indexes. So read it.
svn-id: r13945
2004-06-07 00:26:08 +00:00
Eugene Sandulenko
2603446c0d oops. Fix resource loading for 6.x games
svn-id: r13939
2004-06-06 02:36:44 +00:00
Eugene Sandulenko
7b2a81a8a6 o more _heversion usage
o hack to ensure 1x scaler is selected for 640x480 games. Begs for better
  implementation
o 7.0+-specific extendions to
  * resource loading
  * o6_resourceRoutines
  * o6_actorOps
  * o7_pickupObject
  * ScummEngine::setVerbObject

Now puttputt.w32 script execution advances little more.

svn-id: r13938
2004-06-06 02:20:53 +00:00
Jonathan Gray
d39cf192db explicity declare GF_WINDOWS on windows only HE games, list tags as strings not hex in some debugging messages
svn-id: r13937
2004-06-05 15:14:19 +00:00
Eugene Sandulenko
f873223284 Phase 3 of transition to _heversion.
svn-id: r13929
2004-06-05 00:54:48 +00:00
Eugene Sandulenko
2a34b9d5a1 Phase 1 of move to _heversion use.
svn-id: r13926
2004-06-03 00:55:40 +00:00
Paweł Kołodziejski
32d7c8c181 fixed stopping imuse sounds
svn-id: r13635
2004-04-26 07:47:12 +00:00
Torbjörn Andersson
14f74bb568 Increased _numNewNames to 150. Judging by bug #941275 it wasn't enough to
increase it to 100, like we did recently.

svn-id: r13611
2004-04-24 12:54:02 +00:00
Torbjörn Andersson
dfe25fbfd8 Added note that the previous commit probably fixed bug #933610 as well.
svn-id: r13599
2004-04-20 07:21:25 +00:00
Torbjörn Andersson
ac967bde63 Increased _numNewNames from 50 to 100 to prevent overflow in MI2 endgame.
This should fix bug #936323. (There are still some game versions that use
50, but that can be fixed later, if the need arises.)

svn-id: r13598
2004-04-20 07:10:13 +00:00
Max Horn
9defe4fc18 Removed XOR encoding stuff from File class; instead the new Scumm::XORFile class provides this functionality now
svn-id: r13597
2004-04-17 16:29:03 +00:00