Commit Graph

5020 Commits

Author SHA1 Message Date
Gregory Montoir
9d6b4c3088 oops
svn-id: r16133
2004-12-19 12:46:12 +00:00
Gregory Montoir
da874257a5 to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
svn-id: r16132
2004-12-19 12:30:40 +00:00
Travis Howell
739828391e Correct range
svn-id: r16129
2004-12-19 11:02:14 +00:00
Travis Howell
9e4f76b180 Off by one
svn-id: r16127
2004-12-19 09:27:08 +00:00
Eugene Sandulenko
4e057c8885 Report unknown MD5's. I wonder, should we move the check after
initSize() and thus have possibility to show up a window with the
message?

svn-id: r16124
2004-12-19 02:25:11 +00:00
Max Horn
6dfb2f2dfd Fix for bug #1087439 (Volume control regression)
svn-id: r16113
2004-12-18 11:07:52 +00:00
Max Horn
b93dd59a44 Reduce code size of resource.cpp to help PalmOS port, by moving util code to a new file util.cpp and sound resource code to sound.cpp
svn-id: r16105
2004-12-17 22:27:15 +00:00
Max Horn
3891c0fa39 change loadVOCFromStream to take a reference instead of a pointer (to a stream)
svn-id: r16035
2004-12-11 23:34:34 +00:00
Chris Apers
66e14111cc New ARM call (PalmOS)
svn-id: r16014
2004-12-10 15:18:28 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
9eed72f0fc oops
svn-id: r15999
2004-12-08 00:03:08 +00:00
Max Horn
6dbe271a5e Only activate virtual keyboard when needed
svn-id: r15998
2004-12-06 22:05:04 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Gregory Montoir
bd9c01ad8c this is just how watcom handles signed division
svn-id: r15987
2004-12-05 09:41:39 +00:00
Torbjörn Andersson
75645cbd40 Fixed an Adlib regression with older games (e.g. EGA Loom, Indy 3 and
Monkey VGA) that was introduced by a recent "multi MIDI" change.

The "old Adlib" property was set too late in the iMUSE player, so the Adlib
driver would always think the game was new. I've removed this property from
the iMUSE player, since it's only function appeared to be to pass it on to
the Adlib player, and now set it in the Adlib player directly instead.

Also removed some remaining "multi MIDI" traces from the iMUSE player that
I believe were obsoleted by the aforementioned "multi MIDI" change.

svn-id: r15974
2004-12-03 13:17:57 +00:00
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Max Horn
10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Max Horn
61440ca830 Fix range check
svn-id: r15949
2004-11-28 22:26:03 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Travis Howell
46008733a1 Sync with HE docs md5s
svn-id: r15936
2004-11-28 12:58:17 +00:00
Gregory Montoir
67b8abac08 correction
svn-id: r15928
2004-11-28 05:33:33 +00:00
Max Horn
41f710c06c Fixing actor regression in The Dig caused by my previous changes
svn-id: r15927
2004-11-28 02:36:01 +00:00
Max Horn
cc11a1249a Fix AKOS clipping issues at the left/right border of the screen (smooth scrolling regression)
svn-id: r15926
2004-11-28 02:05:04 +00:00
Max Horn
232ef35298 Print some camera info
svn-id: r15925
2004-11-28 02:04:14 +00:00
Gregory Montoir
b03c70f460 md5 update
svn-id: r15924
2004-11-27 21:02:28 +00:00
Max Horn
b64f1002c5 Fix for bug #1067982 (DIG: Parallax scrolling in library semi-broken)
svn-id: r15923
2004-11-27 19:06:50 +00:00
Gregory Montoir
27d0481597 fixed potiential problem in scumm save/load code
svn-id: r15922
2004-11-27 18:01:44 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
c51b1266c0 Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; SCUMM now uses the appendable stream directly
svn-id: r15919
2004-11-27 17:09:05 +00:00
Max Horn
d8406e2633 cleanup
svn-id: r15917
2004-11-27 16:18:50 +00:00
Max Horn
8ff15ae72c Use modern form of setupPremix
svn-id: r15915
2004-11-27 16:12:11 +00:00
Max Horn
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Jerome Fisher
8d0ab890f8 To really, truly fix the multi-midi race condition, the adlib driver is now always created before iMuse initialisation. This necessitated removing the multimidi toggle from the debug console.
svn-id: r15912
2004-11-27 14:53:37 +00:00
Jerome Fisher
1733863e71 - driver being NULL there is perfectly fine, Fingolfin :)
DCVS: ----------------------------------------------------------------------

svn-id: r15910
2004-11-27 13:27:17 +00:00
Max Horn
90e3fa96a3 Make Array stuff part of the V6 engine class (note: it's a bit confusing to have two different ArrayHeader structs, maybe we should rename them?)
svn-id: r15909
2004-11-27 13:13:41 +00:00
Max Horn
dce059eebf Reduce code duplication
svn-id: r15908
2004-11-27 13:10:41 +00:00
Max Horn
6bcb1ce7d9 Fixing some evil behaviour
svn-id: r15907
2004-11-27 13:10:30 +00:00
Travis Howell
fe43ebf73b No longer stubs
svn-id: r15906
2004-11-27 03:07:21 +00:00
Travis Howell
6cd046a906 Revert opcode EF merge, HE72 uses different array structure.
svn-id: r15905
2004-11-27 02:47:46 +00:00
Max Horn
d172111444 Don't use directory param of File::open unless you have to
svn-id: r15904
2004-11-27 02:26:21 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Max Horn
d56cd17183 paranoia
svn-id: r15900
2004-11-26 23:51:56 +00:00
Jerome Fisher
51bafda43a The Adlib MidiDriver is now initialised immediately when it is determined that it may be used. Doing this lazily potentially deadlocked when using MT-32 emulation in mixed MIDI/Adlib mode.
svn-id: r15899
2004-11-26 21:53:12 +00:00
Gregory Montoir
0d27b23efd renamed some HE opcodes and got rid of o72_unknownEF as it seems it was a duplicate of o70_unknownEF
svn-id: r15896
2004-11-26 20:17:02 +00:00
Max Horn
85ec4ee0b5 Turn the v1 member in the costume renderers into a function local object (used to be a member var)
svn-id: r15887
2004-11-25 23:36:02 +00:00
Torbjörn Andersson
ecc7b79a44 Initialize variable to avoid warning and possibly undefined behaviour.
svn-id: r15879
2004-11-25 07:09:30 +00:00
Max Horn
147a09bcf5 (Partial) fix for bug #1035690 (COMI: cannon shooting uses a lot of performance) -- remember, busy waiting is almost always bad, esp. when waiting for another thread...
svn-id: r15875
2004-11-24 10:00:02 +00:00
Max Horn
666d7d106d Some code transformations (no functional change)
svn-id: r15874
2004-11-24 09:47:32 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Gregory Montoir
37e900a2a3 renamed some HE opcodes
svn-id: r15869
2004-11-23 19:47:54 +00:00