Commit Graph

17490 Commits

Author SHA1 Message Date
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
9aec81802d Return correct value from Engine_Empty::init() method.
svn-id: r22166
2006-04-26 01:09:31 +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
Eugene Sandulenko
3b35bc353c Patch #1476367: "Fix compilation of current SVN with DevCpp". In fact this
is "Update project files for DevCpp"

svn-id: r22161
2006-04-25 22:29:32 +00:00
Eugene Sandulenko
44159b75f4 Set prop svn:eol-style
svn-id: r22160
2006-04-25 22:27:29 +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
e9332e41d6 Added hidden --test-detector command line option to make it easy to test the detector on your config file (to be removed before the next release)
svn-id: r22158
2006-04-25 21:31:55 +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
Max Horn
62dce81acc HashMap::size does not modify the state of the hashmap, so it can be declared const (allowing it to be used on const hashmaps, too)
svn-id: r22156
2006-04-25 19:20:57 +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
Johannes Schickel
6b225b40fa Uses the special cursor color palette for the cursor now (this fixes problems with creation of thumbnails of the scumm engine)
svn-id: r22152
2006-04-25 15:20:46 +00:00
Eugene Sandulenko
58462fa682 - minor cleanup in modern.ini
- implement skipFor theme section keyword

svn-id: r22151
2006-04-25 14:59:42 +00:00
Eugene Sandulenko
869622cf00 - Resize chooser dialog
- Swap About and Help buttons in main SCUMM menu for consistency with launcher

svn-id: r22150
2006-04-25 14:27:41 +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
Travis Howell
91831974a8 Update all credits
svn-id: r22123
2006-04-23 22:55:31 +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
Travis Howell
67c64371f7 Update credits
svn-id: r22121
2006-04-23 22:43:19 +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