17508 Commits

Author SHA1 Message Date
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
cd528083f9 Removed 'directory' parameter of File::open
svn-id: r22183
2006-04-26 14:05:34 +00:00
Max Horn
092fd96145 Replaced _hFileTable by _hInFileTable/_hOutFileTable
svn-id: r22182
2006-04-26 14:05:09 +00:00
Torbjörn Andersson
c4c09fd8f1 Use the joined filename for savegames, otherwise saves will be stored in the
current working directory instead of the save directory.

svn-id: r22181
2006-04-26 13:12:33 +00:00
Max Horn
0aaa04899c Changed InSaveFile (part of the save file system) to inherit from SeekableReadStream, meaning that savegames opened for reading now are seekable (DC, PS2, Palm ports will have to be updated accordingly)
svn-id: r22180
2006-04-26 11:15:13 +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
Max Horn
7383f81d2f Added a 'skip' method to SeekableReadStream (just an alias for seek(X, SEEK_CUR))
svn-id: r22178
2006-04-26 10:54:32 +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
1dba198cbf Proper fix for bug #1476651: Do not use File::exists to check for the presence of a directory described by an absolute path
svn-id: r22174
2006-04-26 08:36:55 +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
Max Horn
8bb9ae92ad Yet another revision of File::exists. I now believe the function really is 'wrong' right now (it has to fulfill too many roles right now). Need to correctly fix this later
svn-id: r22171
2006-04-26 08:29:32 +00:00
Max Horn
f42bb14ea3 Commited *correct* File::exists reimplementation (compared to my incomplete previous commit. Aargh)
svn-id: r22170
2006-04-26 08:13:25 +00:00
Max Horn
d5224d87bb Properly re-implemented File::exists to FilesystemNode (this should fix bug #1476651, at least partially)
svn-id: r22169
2006-04-26 08:05:40 +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
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