924 Commits

Author SHA1 Message Date
Travis Howell
e78185aeb8 Fix timer events time when saving game in FF
svn-id: r22177
2006-04-26 10:53:03 +00:00
Travis Howell
5ceb4b19b0 isSoundRunning always returns sound id in HE games
svn-id: r22176
2006-04-26 10:34:34 +00:00
Max Horn
a28250d660 Print a slightly more verbose error message when Roland patch isn't found
svn-id: r22175
2006-04-26 09:04:51 +00:00
Max Horn
c940380314 Replace unneeded File::exists calls
svn-id: r22173
2006-04-26 08:35:54 +00:00
Max Horn
8fdcfedf19 Do not call static class methods as if they were instance methods
svn-id: r22172
2006-04-26 08:34:01 +00:00
Torbjörn Andersson
2cbcd49893 If the resource manager fails to initialize itself properly, instead of
printing a fatal error, use the new GUIErrorMessage function and return to
the launcher. Also, verify that all files that should be present on "CD 0"
(i.e. on the hard disk) are present at startup, at least. (Any other missing
CLU file is already requested with an "Insert CD" message.)

svn-id: r22168
2006-04-26 06:12:03 +00:00
Torbjörn Andersson
6b10484513 Fixed the output from the "res" debugger command that I accidentally broke, oh,
almost four months ago.

svn-id: r22167
2006-04-26 05:59:58 +00:00
Eugene Sandulenko
35098dbd9f Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
svn-id: r22165
2006-04-26 00:59:13 +00:00
Eugene Sandulenko
d53348797f Show GUI message when game data is not found.
svn-id: r22164
2006-04-25 23:31:11 +00:00
Eugene Sandulenko
bf53520130 - Check if path specified for a game in scummvm.ini really exists and complain
if it does not
- Give more understandable feedback to user when SCUMM module can't find
  a game
- Put TODO to kyra engine as their current detection scheme does not let
  easily tell if game data really present in specified directory

svn-id: r22163
2006-04-25 23:07:59 +00:00
Paul Gilbert
14beeb3492 Added disassembly of door close support routines and other miscellaneous action support code
svn-id: r22162
2006-04-25 22:38:00 +00:00
Max Horn
b36a5afbd8 Files that are *not* 00.LFL or 000.LFL indicate V5+ games -> teach the detector about that
svn-id: r22159
2006-04-25 21:37:53 +00:00
Max Horn
66783576d4 Somewhat improved detection when MD5 is not available/known
svn-id: r22157
2006-04-25 21:26:49 +00:00
Oystein Eftevaag
d5c8a791a6 Fixes some coordinate initialization in the menus, and makes sure the initial savegame is created when kyrandia is started for the first time
svn-id: r22153
2006-04-25 15:42:37 +00:00
Travis Howell
6b76f83ea1 Fix OmniTV repeating for now
svn-id: r22149
2006-04-25 13:07:01 +00:00
Oystein Eftevaag
9b589e06cd Adds some code to dynamically resize and readjust the menus if the text strings of the current language are too long, to avoid overlaps etc.
svn-id: r22148
2006-04-25 11:58:21 +00:00
Travis Howell
fdfb68feb3 Fix fps setting for video play back
svn-id: r22147
2006-04-25 10:27:15 +00:00
Travis Howell
8e4f16bcc1 Fix OmniTV not stopping, when room changes in FF
svn-id: r22145
2006-04-25 08:01:57 +00:00
Travis Howell
2aa54814f8 Hide mouse pointer when video is active
svn-id: r22144
2006-04-25 06:04:20 +00:00
Travis Howell
2020164a7a Revert change, a NULL block should be added if audio doesn't exist
svn-id: r22141
2006-04-24 22:00:41 +00:00
Torbjörn Andersson
19838db21d If startSound() can't find a WAVE chunk, set the file position to the beginning
of the chunk again. Otherwise, animations without a sound track (such as
disk1.dxa) will fail to play.

svn-id: r22140
2006-04-24 17:10:15 +00:00
Travis Howell
78d6966734 Revert sign change to vcReadVar(), made glitches worse in some scenes
svn-id: r22139
2006-04-24 10:35:57 +00:00
Travis Howell
e59f47e33e Remove duplicate code
svn-id: r22138
2006-04-24 10:32:36 +00:00
Travis Howell
d088729a8c Correct and move warning, when failing to load video in FF
svn-id: r22137
2006-04-24 10:28:48 +00:00
Travis Howell
8632282db3 Add support for OmniTV
svn-id: r22136
2006-04-24 10:24:56 +00:00
Travis Howell
9743de2acf vcReadVar() should return a signed value
svn-id: r22135
2006-04-24 07:45:57 +00:00
Travis Howell
05e01f011f Restrict variables sizes, when reading from vcReadNextWord(), to prevent overflows
svn-id: r22134
2006-04-24 06:46:31 +00:00
Travis Howell
f08ed105e9 Fix memory leak in readGamePcText()
svn-id: r22133
2006-04-24 06:02:47 +00:00
Travis Howell
1fa5c82301 Initialize all variables in MoviePlayer class
svn-id: r22132
2006-04-24 06:01:51 +00:00
Travis Howell
7f0fdde6d4 Remove duplicate variable in readGamePcText()
svn-id: r22131
2006-04-24 04:43:37 +00:00
Travis Howell
1dd84a90bd isSpriteLoaded is Simon 1/2 specific and never used by FF
svn-id: r22130
2006-04-24 04:34:57 +00:00
Travis Howell
e8b3fa84a7 Free screen buffers on exit
svn-id: r22129
2006-04-24 02:11:04 +00:00
Travis Howell
7d975539c2 Ooops, real memory leak was in sound buffer
svn-id: r22128
2006-04-24 01:40:16 +00:00
Travis Howell
ea3cdb1ed4 Fix sound memory leak
svn-id: r22127
2006-04-24 01:14:28 +00:00
Travis Howell
b1bc5f059e Fix loading music/speech files in HE98+ games
svn-id: r22126
2006-04-23 23:27:51 +00:00
Max Horn
e80d24aa22 Some more cleanup in class Scumm::Sound
svn-id: r22125
2006-04-23 23:00:32 +00:00
Max Horn
99ab7d6fac Fix for HE games which use the generic HE variants (d'oh)
svn-id: r22122
2006-04-23 22:44:50 +00:00
Max Horn
3f41e2dc21 Detect (and error out) if readMAXS fails
svn-id: r22120
2006-04-23 22:39:55 +00:00
Max Horn
f776b903d1 Fix access to .he2 in Sound::openSfxFile, too
svn-id: r22119
2006-04-23 21:58:01 +00:00
Max Horn
e0a5a2b89e Fix access to .he3/.he4 files
svn-id: r22118
2006-04-23 21:56:09 +00:00
Max Horn
1a7b4a7d7c Added a comment regarding COMI disc changing
svn-id: r22117
2006-04-23 20:02:33 +00:00
Max Horn
b2befd7951 Moved _heTimers to ScummEngine_v60he
svn-id: r22116
2006-04-23 19:41:54 +00:00
Max Horn
d68f95b3be Move HE specific stuff from class Sound to its new subclass SoundHE
svn-id: r22115
2006-04-23 18:52:39 +00:00
Max Horn
78dfa1f280 Moved ScummEngine_v5 from cursor.cpp to scumm.cpp (seems to be more natural, even though it inits some cursor related stuff)
svn-id: r22114
2006-04-23 17:58:52 +00:00
Max Horn
0891a91acc Change some uses of ScummFile to the more generic BaseScummFile
svn-id: r22113
2006-04-23 17:47:40 +00:00
Max Horn
4b6f90945b Modified openFile and openResourceFile to take a Common::String instead of a char pointer
svn-id: r22112
2006-04-23 17:39:31 +00:00
Max Horn
0d67640a58 Behold, the new SCUMM detector finally has arrived. Unified detection & engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements.
svn-id: r22110
2006-04-23 17:33:16 +00:00
Torbjörn Andersson
beb72667dc Implemented volume and panning for FF sound effects. I hope my mapping from
DirectSound's logarithmic scale to ScummVM's linear scale is at least
reasonably collect. This should keep the sound effects from overpowering the
spoken voices in some scenes.

svn-id: r22107
2006-04-23 15:42:02 +00:00
Oystein Eftevaag
f25cb2e735 Uses kyra.dat for GUI strings instead of hardcoding them, which means localized strings are now supported for the menus. Note that the size of the menus are not yet calculated to account for the longer strings in some languages
svn-id: r22105
2006-04-23 14:43:16 +00:00
Max Horn
6533813576 Fixed MD5 entry for mac version of MI1
svn-id: r22102
2006-04-23 13:29:37 +00:00