Commit Graph

453 Commits

Author SHA1 Message Date
Travis Howell
f6eae9d1a1 Update akos error messages
Add proper timer opcodes
Up some debug msgs.

svn-id: r14779
2004-08-26 14:28:42 +00:00
Travis Howell
b1d8b144ba More code/stubs for HE 7.2 games
Add another temp hack
Add id for water, uses more actors
Another small correction to music playback for HE 7.2 games

svn-id: r14764
2004-08-26 08:47:07 +00:00
Travis Howell
0d8488d605 Add game id for Pajama Sam, since it uses different amount of actors
svn-id: r14758
2004-08-26 00:44:49 +00:00
Travis Howell
0d3d9b4c09 Add all array related functions to HE 7.2
Add some more HE 7.2 code

svn-id: r14739
2004-08-25 06:34:33 +00:00
Torbjörn Andersson
103cbac40a Fixed bug #1014296, the Loom cursor hotspot regression.
svn-id: r14726
2004-08-24 06:36:12 +00:00
Travis Howell
deeadc97fa Resource corrections
svn-id: r14723
2004-08-24 02:02:56 +00:00
Max Horn
28c32a9fb7 Add LOOM cursor support
svn-id: r14703
2004-08-23 08:37:55 +00:00
Travis Howell
bfe88771cb A few changes for freddemo
svn-id: r14693
2004-08-23 00:17:07 +00:00
Max Horn
b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell
bb3cc5b077 Make function protected again
svn-id: r14679
2004-08-22 09:38:18 +00:00
Travis Howell
2e3833dc1f Switch smush debug to channel
svn-id: r14676
2004-08-22 09:14:19 +00:00
Travis Howell
4e2d3af646 Original games used blastTextQueue size of 50.
Hack no longer required.

svn-id: r14673
2004-08-22 07:22:03 +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
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
90521f836f cleanup
svn-id: r14609
2004-08-14 16:30:39 +00:00
Max Horn
171fac3895 Get rid of _screenLeft
svn-id: r14608
2004-08-14 15:23:44 +00:00
Travis Howell
4d86651ae2 Check no longer required
Move palette function define back to correct place

svn-id: r14590
2004-08-14 02:44:16 +00:00
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