Commit Graph

436 Commits

Author SHA1 Message Date
Travis Howell
e8a10c219e COMI/DIG always redraws verbs too
Remove old var, no longer required

svn-id: r14481
2004-08-06 06:19:14 +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
f28adf7a6c Keep compatbility with older saved games.
svn-id: r14339
2004-07-26 15:14:10 +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
7550ebed81 Rename VAR
svn-id: r14318
2004-07-24 11:15:59 +00:00
Travis Howell
086c8da888 Enable VAR_FADE_DELAY
svn-id: r14309
2004-07-24 04:36:54 +00:00
Travis Howell
f09313d6a9 Correction to VAR tables.
svn-id: r14296
2004-07-22 04:13:46 +00:00
Travis Howell
6225285a59 Add support for version key in The Dig
svn-id: r14285
2004-07-20 11:30:15 +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
40fa690de0 Merge into new function.
svn-id: r14170
2004-07-05 06:25:01 +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
0a287fa7f6 Initialise HE 7.0 sound vars
Enable VAR_NUM_GLOBAL_OBJS

svn-id: r14160
2004-07-03 23:58:30 +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
8a74791c64 Add hack for mouse hotpot in funpack
svn-id: r14117
2004-06-29 09:57:01 +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
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
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
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
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
de7c36f063 cleanup
svn-id: r14055
2004-06-25 21:48:12 +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
Eugene Sandulenko
088676cdb2 Add grabCursorFromBuffer() function.
svn-id: r14033
2004-06-24 20:09:36 +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
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
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
4f8cb1d514 7.0+ HE games have additional indexes. So read it.
svn-id: r13945
2004-06-07 00:26:08 +00:00
Eugene Sandulenko
6be8956d2c Phase 2 of switching HE to use _heversion. Now unneeded GID's are
eliminated.

svn-id: r13927
2004-06-03 01:28:22 +00:00
Eugene Sandulenko
2a34b9d5a1 Phase 1 of move to _heversion use.
svn-id: r13926
2004-06-03 00:55:40 +00:00
Eugene Sandulenko
50b39e3095 Added separate HE versioning.
svn-id: r13907
2004-05-31 08:24:05 +00:00
Nicolas Bacca
72b01684a7 Remove unnecessary WinCE tweaks
svn-id: r13901
2004-05-30 13:03:35 +00:00
Paweł Kołodziejski
f90a2a30c2 locking resource sounds while using them to prevent expire
svn-id: r13640
2004-04-26 19:22:27 +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
Max Horn
17fe0497f5 Renamed StringTab::backup to StringTab::_default, as that describes better what it does
svn-id: r13476
2004-04-05 23:54:58 +00:00
Max Horn
781809ee2b pedantic const correction
svn-id: r13467
2004-04-05 00:24:26 +00:00
Max Horn
a4e424a4fe got rid of _msgPtrToAdd; slightly improved error checking in addMessageToStack()
svn-id: r13454
2004-04-04 00:29:13 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Max Horn
4a41973804 Got rid of _transText
svn-id: r13442
2004-04-02 21:56:27 +00:00
Max Horn
a16a86d90f simplify code by integrating a call to translateText() into addMessageToStack(); improved translateText() further
svn-id: r13438
2004-04-02 21:42:42 +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