Commit Graph

157 Commits

Author SHA1 Message Date
Max Horn
9c77c2ecd1 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21684
2006-04-08 08:23:33 +00:00
Travis Howell
0e9b4ab17c GF_HE_CURSORLESS feature flag not required, since HE games always set a default cursor too.
svn-id: r21576
2006-04-03 11:35:02 +00:00
Travis Howell
d10929b394 Always check array bounds are valid in HE games, matching original
svn-id: r21524
2006-04-01 12:26:50 +00:00
Travis Howell
7a81cc76e1 Fix painting and fridge magnet palette glitches in thinker1
svn-id: r21522
2006-04-01 06:38:47 +00:00
Travis Howell
c4349e88f7 Rename two WizParameters fields
svn-id: r21514
2006-03-31 13:06:23 +00:00
Travis Howell
014dde3de3 Add missing check for invalid object number in getObjectData opcode
svn-id: r21501
2006-03-30 00:32:29 +00:00
Travis Howell
26c0d2b4fa Always use the correct string slot for HE games specific cases in decodeParseString()
svn-id: r21462
2006-03-26 09:21:07 +00:00
Travis Howell
ef6baca2ac Move convertFilePath() to ScummEngine_v60he, to allow use by earlier HE games
svn-id: r21450
2006-03-25 11:01:00 +00:00
Travis Howell
03202876cf Minor cleanup
svn-id: r21446
2006-03-25 04:33:33 +00:00
Eugene Sandulenko
22042bc637 - Implemented case insensitive file reading. Left old system as a fallback
in case some engine writer decide to do something unwise
- Removed used of ConfMan.getKey("path") in file-related cases, because
  now File class handles that
- Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters
  weren't translated

svn-id: r21443
2006-03-25 04:17:17 +00:00
Travis Howell
8ae4dd6caa Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
svn-id: r21375
2006-03-19 05:15:06 +00:00
Travis Howell
a441dafae5 Move the sound loop detection, so it is used by all HE70+ games
svn-id: r21374
2006-03-19 04:55:34 +00:00
Travis Howell
1b20b06822 Skip HSHD block by set size, since there are sound resources (ie Caiman in jungle) which have incorrect size in HSHD header
svn-id: r21373
2006-03-19 04:41:43 +00:00
Travis Howell
c6082389a2 Confirmed it is safe to remove workaround for Macintosh HE99 version of water.
svn-id: r21253
2006-03-13 10:00:10 +00:00
Travis Howell
230a68755e Unfortunately the workaround for Macintosh version of water is still required.
svn-id: r21231
2006-03-12 10:56:14 +00:00
Travis Howell
66730f3b6b Use script support for Macintosh versions of HE80+ games
svn-id: r21227
2006-03-12 09:27:56 +00:00
Travis Howell
8602fe7432 Revert mistaken commit of local debug code
svn-id: r21222
2006-03-12 04:19:03 +00:00
Travis Howell
3e72b26adc Revert mistaken commit of local debug code
svn-id: r21220
2006-03-12 01:06:23 +00:00
Travis Howell
f9797f3ac3 Correct mistake in md5 tables for Simon the Sorcerer 2 (DOS Floppy)
svn-id: r21219
2006-03-12 00:53:30 +00:00
Travis Howell
beb0c9e297 Fix endian issue in getArrayDim()
svn-id: r21216
2006-03-11 09:43:00 +00:00
Travis Howell
f52e1709bf o6_setObjectName is never used by HE72+ games
svn-id: r21211
2006-03-10 23:09:27 +00:00
Max Horn
d9a9fac937 Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
svn-id: r21141
2006-03-08 11:37:25 +00:00
Travis Howell
431c820e4f Correct order of cases in o72_redimArray()
svn-id: r21135
2006-03-07 22:27:14 +00:00
Max Horn
bb38ea2c17 Renamed SubstResFileNames::winName and macName to almostGameID / expandedName (the old names were misleading; the new ones aren't great either :)
svn-id: r21062
2006-03-04 10:38:05 +00:00
Max Horn
140f6fce26 Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
svn-id: r21043
2006-03-03 15:51:33 +00:00
Max Horn
bac32d1a5c Moved ScummFile etc. to the new file.cpp / file.h
svn-id: r21038
2006-03-03 15:16:02 +00:00
Travis Howell
0b30043f93 Read array bounds in checkArrayLimits() correctly on all systems
svn-id: r21024
2006-03-03 07:40:34 +00:00
Travis Howell
ab0cf121c9 Always use music sound type, for music in 3DO versions of HE games
svn-id: r21019
2006-03-03 00:45:27 +00:00
Travis Howell
7423394bdd Use sound types for sound in HE Games
svn-id: r21018
2006-03-02 23:31:28 +00:00
Lars Persson
f00809788b Changed cast from int to int32, to use platform specified typedefs for the type.
svn-id: r21010
2006-03-02 12:09:19 +00:00
Travis Howell
8f76068148 Fix compile
svn-id: r20997
2006-03-01 22:36:53 +00:00
Lars Persson
0653d509d3 Updated datatypes to resolve ambiguity
svn-id: r20991
2006-03-01 14:20:40 +00:00
Travis Howell
deecb61656 Use _numStrips when checking for foreced sprite redraw, instead of set values.
svn-id: r20956
2006-02-27 12:23:34 +00:00
Travis Howell
bd2a59787b That change shouldn't have been commited
svn-id: r20903
2006-02-26 02:23:59 +00:00
Travis Howell
76962c3ce6 Change debugInput opcode result to zerod array for now, since it expects input string
svn-id: r20901
2006-02-26 00:32:10 +00:00
Max Horn
2ae0f79de3 Split SCUMM's generateSubstResFileName into two functions: findSubstResFileName and applySubstResFileName
svn-id: r20879
2006-02-25 17:36:32 +00:00
Travis Howell
7b9baa4f9f Cleanup decompress wizImage functions, to help find similar code
svn-id: r20874
2006-02-25 11:48:35 +00:00
Max Horn
6914121f61 Replaced MKID by MID_BE in most places in the SCUMM engine
svn-id: r20862
2006-02-25 02:12:58 +00:00
Travis Howell
a0b7c01762 Adjust masking in copyWizImageWithMask() to match ScummVM, wizImages masking works fine now
svn-id: r20858
2006-02-25 01:02:07 +00:00
Travis Howell
d08dbb2a3c More corrections to copyWizImageWithMask() in HE games
svn-id: r20854
2006-02-25 00:35:36 +00:00
Travis Howell
3064679e6c Add corrections to copyWizImageWithMask() in HE games
svn-id: r20849
2006-02-24 23:39:40 +00:00
Gregory Montoir
047298745f added TRLE wiz masking (mostly untested)
svn-id: r20847
2006-02-24 22:36:55 +00:00
Travis Howell
fcd9c09059 Cleanup decompressWizImage() in HE games
svn-id: r20809
2006-02-21 21:59:37 +00:00
Max Horn
81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00
Max Horn
130bee1b1e Fixing compiler (cast) warning
svn-id: r20799
2006-02-20 20:41:13 +00:00
Max Horn
e389bcf497 Replaced _gameId, _version, _heversion, _features, _midi, _platform with a simple ScummGameSettings instance: _game
svn-id: r20795
2006-02-20 16:51:30 +00:00
Max Horn
011bcc04d2 Disable unchecked use of OSystem::setWindowCaption from SCUMM/HE scripts (this fixes crashes under Mac OS X with e.g. german puttrace)
svn-id: r20782
2006-02-20 13:24:19 +00:00
Travis Howell
d4e2b25e5d Stop music in HE games, before nuking the resource
svn-id: r20727
2006-02-16 13:45:52 +00:00
Paweł Kołodziejski
6b557fabd5 force arg variable to float type, msvc8 can't select from float or double
svn-id: r20725
2006-02-16 12:04:12 +00:00
Travis Howell
4694e98649 Remove auto free flag for sounds in some HE games
svn-id: r20724
2006-02-16 08:55:06 +00:00
Travis Howell
903daa7252 Send sound resource data directly to sound mixer in HE Games.\n Fixes songs in kitchen of Pajama Sam 1
svn-id: r20721
2006-02-16 08:25:12 +00:00
Travis Howell
5f72260f20 Stop current music in HE60/61 games, before starting new music
svn-id: r20719
2006-02-16 05:55:44 +00:00
Travis Howell
e77fc9b9aa Clear sound queue when stopping sound channel in HE games
svn-id: r20718
2006-02-16 05:52:39 +00:00
Travis Howell
dd23256b24 Only print debug message when flag 0x800000 is triggered by HE games in drawWizPolygonTransform().
svn-id: r20711
2006-02-15 23:27:53 +00:00
Travis Howell
bcef7a167c Read correct index by block size in HE games again, to help track down unknown versions.
svn-id: r20708
2006-02-15 23:02:37 +00:00
Eugene Sandulenko
eba1653904 o Renamed script_v6he.cpp and script_v7he.cpp to script_v60he.cpp and
script_v70he.cpp respectively since we use 2 digits for HE versioning.

o Also renamed resource_v7he.* to resource_he.* because it is actually not
  HE70-specific but is used by all HE70+ titles.

svn-id: r20703
2006-02-15 18:48:49 +00:00
Eugene Sandulenko
10c7835cfc Moved all he-specific source files to engines/scumm/he/ subdirectory
svn-id: r20696
2006-02-15 00:57:50 +00:00