Commit graph

225 commits

Author SHA1 Message Date
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
Chris Apers
5ab0ba430b Can't do that on PalmOS, exit is event based
svn-id: r13499
2004-04-08 11:48:35 +00:00
Max Horn
18b35e57c8 these debug() calls look as if they should be debugC() calls
svn-id: r13466
2004-04-04 23:29:10 +00:00
Max Horn
55bbd875db Exit quietly if we just told the user we are going to exit; no need to call error() (which pops up the console etc.)
svn-id: r13456
2004-04-04 12:36:50 +00:00
Jonathan Gray
f12fbe1723 clean up FMUS handling, fix not being able to enable sound debug messages
svn-id: r13425
2004-03-29 11:02:45 +00:00
Max Horn
a06c097408 rename displayError() to displayMessage(); fix slightly incorrect usage of that method
svn-id: r13402
2004-03-28 13:28:44 +00:00
Travis Howell
07770f58e9 Alter some HE games settings
svn-id: r13369
2004-03-23 01:59:02 +00:00
Max Horn
faa12496e4 Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-)
svn-id: r13325
2004-03-17 01:50:15 +00:00
Travis Howell
5fbc3497c1 Avoid duplicate targets
svn-id: r13135
2004-03-02 06:04:38 +00:00
Travis Howell
b123197dc1 Remove fixme
svn-id: r13131
2004-03-02 01:28:32 +00:00
Travis Howell
5a3b17de54 Add better check for HE resource differences.
Move stringLen to HE7.

svn-id: r13130
2004-03-02 01:20:18 +00:00
Jonathan Gray
680160407b add support for the standalone maniac mansion demo
svn-id: r13090
2004-02-29 00:18:45 +00:00
Max Horn
8e5df2bda3 Made explicitly clear that for GID_PJSDEMO, _numNewNames never got set (i.e. it always was stuck at 0)
svn-id: r12924
2004-02-17 17:45:22 +00:00
Travis Howell
054edc1591 Hack no longer required.
Add stub for HE games.

svn-id: r12818
2004-02-11 03:21:21 +00:00
Eugene Sandulenko
8411a8ade1 o Now Long TRS messages get wrapped
o Approaching enemy animation fixed
o Renames some vars and struct members
o Fixed dosdemo. It didn't run
o Correct Mac demo INSANE skipping behaviour

svn-id: r12751
2004-02-06 21:05:58 +00:00
Max Horn
7038f2f6cf Fix for bug #882083 (COMI: CD change cancel button)
svn-id: r12744
2004-02-05 22:39:13 +00:00
Max Horn
407c489cc4 removed obsolete #include's
svn-id: r12729
2004-02-05 11:59:06 +00:00
Max Horn
923adce456 fix endian bug when dealing with ArrayHeader's; added a hack to permit save games broken due to this to still work; moved the whole 'Array' stuff into ScummEngine_v6
svn-id: r12521
2004-01-19 20:27:31 +00:00
James Brown
c4528ac022 More conversion to debug channels
svn-id: r12293
2004-01-10 11:01:47 +00:00
Paweł Kołodziejski
6d8c2d0461 synced with local sources
svn-id: r12257
2004-01-08 17:07:21 +00:00
Paweł Kołodziejski
8fd123992d synced imuse digital with local tree
svn-id: r12187
2004-01-06 17:28:29 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
e3e6bb3191 got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
509ce7c4db cleanup; fix File::open usage (do not hardocde constant values, rather use the symbolic namescvs diff | bbeditcvs diff | bbedit
svn-id: r11911
2003-12-25 15:09:23 +00:00
Max Horn
1e5496b2c8 Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
2003-12-22 08:22:04 +00:00
Max Horn
d099759279 game targets can now have a base filename different from the target name; misc tweaks
svn-id: r11417
2003-11-28 22:29:56 +00:00