Commit Graph

533 Commits

Author SHA1 Message Date
Torbjörn Andersson
d6f348638d Guard against too many entries in resource.inf, since there has been a TODO
comment about that (removed in the previous commit) since roughly forever.

svn-id: r21536
2006-04-01 21:55:41 +00:00
Torbjörn Andersson
f59d472155 Simplified the loading of resource.inf
svn-id: r21533
2006-04-01 21:42:11 +00:00
Max Horn
8f691e51fa Removed superfluous addDefaultDirectory call, as well as two unused bad member vars
svn-id: r21532
2006-04-01 21:31:27 +00:00
Max Horn
49d63590ab Removing superfluous addDefaultDirectory call
svn-id: r21531
2006-04-01 21:30:06 +00:00
Max Horn
e390639dd8 Use extra_versions to compute ScummGameSettings (currently only compared to the value determined via multiple_versions_md5_settings but not actively used; requires more testing, in particular with HE games)
svn-id: r21530
2006-04-01 18:20:35 +00:00
Max Horn
ee62cd3c51 Generate an error when kGenAsIs is used with an unsupported platform, instead of silently continuing with a bogus _fileHandle (leading to odd crashes)
svn-id: r21528
2006-04-01 18:13:06 +00:00
Max Horn
0bb6d64064 A lot of code in sword1/router.cpp and sword2/router.cpp is virtually identical -- unified the two files in many places (but a lot more could be done, feel free to pick up and continue this work)
svn-id: r21526
2006-04-01 12:47:09 +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
Max Horn
361572af2c Patch #1432378: BASS: Memory leak, patch included
svn-id: r21523
2006-04-01 11:25:08 +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
Eugene Sandulenko
0335bab074 Make corners of SCUMM load/save dialog round.
svn-id: r21513
2006-03-31 13:00:06 +00:00
Torbjörn Andersson
c26b762f48 Made readFileToMem() print a more useful error message than "File is not open"
if the file could not be opened.

svn-id: r21508
2006-03-31 06:42:56 +00:00
Travis Howell
f991b88da8 Fix skipping insane sequence in bundled Macintosh demo of FT
svn-id: r21507
2006-03-31 01:28:35 +00:00
Travis Howell
469b1420da Fix sound glitch in PC demo of FT
svn-id: r21506
2006-03-31 00:39:53 +00:00
Travis Howell
e504e814b1 Improve mine road in PC demo of FT
svn-id: r21505
2006-03-30 23:58:37 +00:00
Travis Howell
3e974d3604 Limit INSANE to existing enemies in PC demo of FT
svn-id: r21504
2006-03-30 13:47:18 +00:00
Travis Howell
1ec46bae37 Allow interactive mine road in PC version of FT demo
svn-id: r21503
2006-03-30 11:52:49 +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
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
0da5fb4c1c Alphabetical build order
svn-id: r21499
2006-03-29 15:51:13 +00:00
Travis Howell
506f33a025 Add opcode difference in FF
svn-id: r21497
2006-03-29 12:15:08 +00:00
Torbjörn Andersson
f6e6017d96 Added stubs for a couple of FF opcodes.
svn-id: r21495
2006-03-29 12:03:02 +00:00
Travis Howell
9c94670e22 Add another English version of Monkey Island for Macintosh
svn-id: r21483
2006-03-29 06:24:13 +00:00
Johannes Schickel
c09d1ea520 - Commits heaviliy modifed patch #1459951 ("KYRA: Combining MIDI music with Adlib sfx") (created a wrapper class for two different sound drivers instead of adding a new variable to the KyraEngine class and chaning stuff there)
- Prevents to play track 0 for non mt-32 midi devices (got ugly sound output with windows midi)

svn-id: r21479
2006-03-28 15:15:36 +00:00
Travis Howell
46270a5dd7 Update game detection code, with recent changes from SAGA engine
svn-id: r21478
2006-03-28 13:33:18 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
950c3451a2 Removing bogus leftovers
svn-id: r21471
2006-03-28 09:37:50 +00:00
Paul Gilbert
b54d73d220 Further progress on disassembling pathfinding and support methods
svn-id: r21470
2006-03-27 21:32:43 +00:00
Johannes Schickel
518c7b871f Comments out unneeded code in enterNewScene (only used for cd audio version).
Fixes bug with stopping pegasus music before the animation finished.

svn-id: r21469
2006-03-27 18:20:19 +00:00
Andrew Kurushin
7191d474a4 improve game detection:
- start process speedup (remove already scanned files)
- merge md5 & game files list

svn-id: r21468
2006-03-27 16:56:08 +00:00
Travis Howell
017bcdb445 Adjust width in dump_bitmap() for FF
svn-id: r21467
2006-03-27 13:32:44 +00:00
Travis Howell
c12839ec18 Always init state.depack_cont
svn-id: r21466
2006-03-27 13:30:28 +00:00
Travis Howell
e265f1ab57 Commited too much
svn-id: r21465
2006-03-27 12:54:53 +00:00
Travis Howell
3bb25707b2 Add FF support to dump_bitmap()
svn-id: r21464
2006-03-27 12:49:17 +00:00
Torbjörn Andersson
23c692f09f Cleaned up update_playRhythmSection(). It's almost possible to understand what
it's intended to do now.

Renamed _unkOutputByte2 to _vibratoAndAMDepthBits. It's a pretty terrible name,
but that's what it is: the two most significant bits of the Adlib BD register.

Renamed _rhythmSection to _rhythmSectionBits for consistency: It's the five
least significant bits of the Adlib BD register.

(The remaining bit is the rhythm on/off bit. I don't think we store that one in
any variable.)

svn-id: r21463
2006-03-26 22:11:40 +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
59dd971a02 Ooops, correct cut and past error in last commit
svn-id: r21461
2006-03-26 09:09:35 +00:00
Travis Howell
c1bd25617b Increase size of _charsetData to 16 * 23 for HE games, fixes subtitle color glitches in Buzzy games
svn-id: r21460
2006-03-26 09:06:44 +00:00
Torbjörn Andersson
d8004bff51 Added support for mouse wheel scrolling in save/restore dialog.
svn-id: r21459
2006-03-26 06:22:41 +00:00
Eugene Sandulenko
09b8869ef6 Implement feature request #1450364: "Suggestion on how to cope with
fan-translations"

svn-id: r21458
2006-03-26 04:50:09 +00:00
Travis Howell
67b8589c18 Reduce size of saved games for HE games, music/speech resources don't need to be saved
svn-id: r21456
2006-03-26 00:24:00 +00:00
Eugene Sandulenko
dd505ff6ae Fixing bug #1458388: "SIMON1: Game Detection fails".
Sometimes instead of "GAMEPC" we get "GAMEPC." (note trailing dot)

svn-id: r21455
2006-03-25 21:17:38 +00:00
Gregory Montoir
575c831684 fixed wrong computation of decflag in AkosRenderer::drawLimb (HE specific, bug #1416186).
svn-id: r21454
2006-03-25 20:15:41 +00:00
Eugene Sandulenko
47b3a748f4 - Print more meaningful game names on detection stage
- Move detection debug messages from level 0 to level 2

svn-id: r21453
2006-03-25 19:46:58 +00:00
Eugene Sandulenko
f25d49f826 - Move AddDefaultDirectory() calls in somon engine to constructor
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp

svn-id: r21451
2006-03-25 19:18:09 +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
Torbjörn Andersson
737c52590b I believe that the purpose of updateCallback45() is to add a signed value to a
channel's unsigned tempo. Rewrote the function to make this clearer, and
renamed it update_changeChannelTempo().

svn-id: r21448
2006-03-25 10:11:38 +00:00
Torbjörn Andersson
2c279848d8 More renamings:
unk11 -> durationRandomness

updateCallback12() -> update_setupNoteAndDuration()
updateCallback26() -> update_setupDuration()
updateCallback44() -> update_setDurationRandomness()

svn-id: r21447
2006-03-25 09:55:28 +00:00
Travis Howell
03202876cf Minor cleanup
svn-id: r21446
2006-03-25 04:33:33 +00:00