Commit Graph

389 Commits

Author SHA1 Message Date
Max Horn
3623a94927 Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug .
svn-id: r22424
2006-05-12 21:41:54 +00:00
Max Horn
d00755de8e Removing some unused code from INSANE
svn-id: r22417
2006-05-12 18:00:41 +00:00
Eugene Sandulenko
d2546e3979 - Updated MSVC8 project files
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
  with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
  int <-> bool conversions.

svn-id: r22397
2006-05-09 14:16:43 +00:00
Travis Howell
4c67122463 Avoid closing a video file in HE games twice
svn-id: r22396
2006-05-08 22:53:09 +00:00
Travis Howell
3f9395831c Fix regression in lost, the middle directories were removed
svn-id: r22388
2006-05-08 13:10:49 +00:00
Travis Howell
ca513f7e66 Fix off by one in rect when capturing image
svn-id: r22387
2006-05-08 11:41:32 +00:00
Travis Howell
d6d3a621dc Init. videoParams vars for HE90+
svn-id: r22386
2006-05-08 11:04:51 +00:00
Travis Howell
3830ac06b3 Add initial DXA support for HE games
svn-id: r22384
2006-05-08 10:21:17 +00:00
Travis Howell
e2c058551b Add missing file details for HE games
svn-id: r22381
2006-05-08 04:11:21 +00:00
Max Horn
2e9bb56744 Turning this warning into an error, since I never got any feedback on it
svn-id: r22376
2006-05-07 11:58:01 +00:00
Max Horn
9a6c120b0d Handle line breaks/overflow for V1-V3 games *after* processing newline codes, to avoid double breaks (which result in spurious empty lines)
svn-id: r22375
2006-05-07 11:47:17 +00:00
Max Horn
c4f6cc5819 Perform (horizontal) charset text clipping for V1-V3, too
svn-id: r22374
2006-05-07 11:45:55 +00:00
Max Horn
3e0cb0dfd0 Fix for bug (MANIAC: Incorrect word wrapping)
svn-id: r22371
2006-05-06 22:49:57 +00:00
Travis Howell
13871e4320 Add another English version of socks
svn-id: r22362
2006-05-05 11:21:22 +00:00
Max Horn
d016c353c5 Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
svn-id: r22315
2006-05-03 20:43:26 +00:00
Max Horn
1902673ece Moved some code from SCUMM's detectGames function into a separate function (in an attempt to somewhat reduce the size of this huuuge function)
svn-id: r22314
2006-05-03 19:34:53 +00:00
Max Horn
3f4427b04a Removed CharsetRendererV3::getFontHeight (it was identical to CharsetRendererCommon::getFontHeight)
svn-id: r22311
2006-05-03 16:23:32 +00:00
Max Horn
111ab60a87 Fix insult fight (MI1) mouse wheel scrolling, hopefully also for the SEGA version (see also bug )
svn-id: r22283
2006-05-02 23:10:25 +00:00
Travis Howell
4c8151f20a Update language details for filenames of a few games
svn-id: r22277
2006-05-02 14:12:39 +00:00
Travis Howell
191a639b11 Update language details for filenames of several HE games
svn-id: r22276
2006-05-02 14:00:29 +00:00
Travis Howell
f3f5664b7d Add gameFilenamesTable[] entries for activity, fbpack and funpack
svn-id: r22275
2006-05-02 13:13:59 +00:00
Travis Howell
e3cb34e5b7 Fix detection of Windows version of puttmoon
svn-id: r22274
2006-05-02 13:06:11 +00:00
Travis Howell
01c92cf6f5 Add support for reading/writing config files through saveGameManager and use for config files in HE games
svn-id: r22273
2006-05-02 03:23:03 +00:00
Max Horn
77c29d0ab2 Some cleanup, and added a FIXME comment concerning the wrong usage of getSavePath()
svn-id: r22266
2006-05-01 21:31:06 +00:00
Max Horn
8542e92ed3 Do not set VAR_VOICE_MODE in ScummEngine_v7::resetScummVars() (since it is already being set by updateSoundSettings())
svn-id: r22248
2006-04-30 20:36:14 +00:00
Max Horn
39e887d6aa Invoke updateSoundSettings a bit later, since it can only correctly set VAR_VOICE_MODE *after* setupScummVars() has been called
svn-id: r22247
2006-04-30 20:35:43 +00:00
Max Horn
f8b0649d18 Honor the 'platform' override when choosing between game variants (this should help fan translations of certain FM-TOWNS games)
svn-id: r22246
2006-04-30 15:06:17 +00:00
Max Horn
b59a791c5e Moved queryResString from class ScummDialog to class InfoDialog; some cleanup
svn-id: r22234
2006-04-29 23:23:32 +00:00
Max Horn
eaca27a33b Renamed updateVolumes to updateSoundSettings -- now it also handles subtitles/speech_mute settings. Also changed the ConfigDialog accordingly
svn-id: r22233
2006-04-29 23:09:40 +00:00
Max Horn
27307acd7c Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
svn-id: r22231
2006-04-29 22:33:31 +00:00
Max Horn
aeef84c961 Moved AKOS stuff to class ScummEngine_v6
svn-id: r22229
2006-04-29 16:51:29 +00:00
Max Horn
fcd178fca4 Added comment about a major leak in ScummEngine::restart
svn-id: r22228
2006-04-29 16:30:46 +00:00
Max Horn
c4df5037dc * Renamed several methods in favor of a somewhat more uniform naming scheme: setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data.
* Doing this, split scummInit into setupScumm and resetScumm methods
* Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing)
* Renmaed various setup???Palette methods to set???Palette
* Some minor cleanup / tweaks

svn-id: r22227
2006-04-29 16:24:39 +00:00
Max Horn
39e9853d91 * Added ScummEngine_v8::initScummVars()
* Moved VAR_LANGUAGE to class ScummEngine_v8
* Minor cleanup

svn-id: r22223
2006-04-29 13:56:36 +00:00
Max Horn
1735b0421b Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
svn-id: r22219
2006-04-29 13:01:35 +00:00
Max Horn
cc3fac2ead Split scummLoop into multiple functions, for easier maintanance & customizability
svn-id: r22218
2006-04-29 12:44:06 +00:00
Max Horn
bf73598811 * Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
* Removed Engine_Empty (obsolete now that engines can return actual error codes)

svn-id: r22199
2006-04-29 00:27:20 +00:00
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
Max Horn
9d5098e0f8 Insane is part of SCUMM V7, not V6
svn-id: r22188
2006-04-27 00:02:06 +00:00
Max Horn
bdf790e294 cleanup
svn-id: r22185
2006-04-26 17:15:29 +00:00
Max Horn
092fd96145 Replaced _hFileTable by _hInFileTable/_hOutFileTable
svn-id: r22182
2006-04-26 14:05:09 +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
Eugene Sandulenko
35098dbd9f Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
svn-id: r22165
2006-04-26 00:59:13 +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
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
Travis Howell
b1bc5f059e Fix loading music/speech files in HE98+ games
svn-id: r22126
2006-04-23 23:27:51 +00:00