Commit Graph

935 Commits

Author SHA1 Message Date
Max Horn
b00262a2fe Report unknown MD5s again
svn-id: r22198
2006-04-28 23:43:56 +00:00
Travis Howell
5c2dd8da24 Fix compile of SCUMM engine
svn-id: r22191
2006-04-27 04:59:13 +00:00
Oystein Eftevaag
47068bde51 Typo
svn-id: r22190
2006-04-27 00:42:12 +00:00
Oystein Eftevaag
9ec94f6fcb Move the detector code out of the constructor and into init() to do error handling (specifically the GUI error message if no game is found in the specified directory), and cleans up the constructor/destructor a bit to allow a clean exit.
svn-id: r22189
2006-04-27 00:39:10 +00:00
Max Horn
9d5098e0f8 Insane is part of SCUMM V7, not V6
svn-id: r22188
2006-04-27 00:02:06 +00:00
Joost Peters
ac1ce25512 add missing comma for portuguese quit text, remove stray comma after last string.
svn-id: r22187
2006-04-26 22:31:10 +00:00
Torbjörn Andersson
5dd3ef077f Add FF difference in isAdjNoun opcode. This makes it possible to get past the
SAM / PEG puzzle, but do not ask me what, exactly, was wrong. I haven't a clue.

svn-id: r22186
2006-04-26 19:49:13 +00:00
Max Horn
bdf790e294 cleanup
svn-id: r22185
2006-04-26 17:15:29 +00:00
Max Horn
a4338aeb19 Use File::size to determine the size of a file, instead of doing a seek(0, SEEK_END)
svn-id: r22184
2006-04-26 14:35:53 +00:00
Max Horn
092fd96145 Replaced _hFileTable by _hInFileTable/_hOutFileTable
svn-id: r22182
2006-04-26 14:05:09 +00:00
Travis Howell
46058e8d17 Fix timer events time when saving game in FF
svn-id: r22179
2006-04-26 10:55:27 +00:00
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