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 #1485941 .
...
svn-id: r22424
2006-05-12 21:41:54 +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
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
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
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
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
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
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
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
e0a5a2b89e
Fix access to .he3/.he4 files
...
svn-id: r22118
2006-04-23 21:56:09 +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
Max Horn
b4c330ce07
Some more tweaks to the (still disabled) new detection / filename generation code
...
svn-id: r22040
2006-04-19 20:26:27 +00:00
Max Horn
c5507879fc
Removed wrong platform values from gameVariantsTable
...
svn-id: r22037
2006-04-19 16:16:57 +00:00
Willem Jan Palenstijn
784467abfd
changed comments into real comments
...
svn-id: r21945
2006-04-16 14:14:22 +00:00
Max Horn
fe01f3a03f
Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
...
svn-id: r21944
2006-04-16 14:07:55 +00:00
Max Horn
206fdf0528
Fixed broken svn:keywords values
...
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
ba1b25305e
Removed the directory parameter from md5_file
...
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn
68cb7f52c8
- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
...
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places
svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328
Removed GameDetector::_gameid in favor of using a config manager entry
...
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
aa2964ceff
Some more detector stub code (unused)
...
svn-id: r21896
2006-04-15 00:24:20 +00:00
Max Horn
de08164420
Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
...
svn-id: r21879
2006-04-14 09:45:29 +00:00
Torbjörn Andersson
e21f99c7ba
Slightly more verbose error message.
...
svn-id: r21846
2006-04-13 18:09:33 +00:00
Eugene Sandulenko
3fa9fa06c2
Clarified detection filenames for HE games (removed FIXME comments).
...
svn-id: r21835
2006-04-13 04:01:55 +00:00
Max Horn
24b2f65f91
Re-fix the CD version of Loom
...
svn-id: r21814
2006-04-11 22:47:53 +00:00
Torbjörn Andersson
10c62a2eed
If generateDetectName() generates an empty string, that's a failure, not a
...
success. Otherwise ScummVM will crash once the game detector reaches the
"generic HE game variants", which makes it hard to add non-SCUMM games.
svn-id: r21808
2006-04-11 19:29:55 +00:00
Max Horn
935989d8cd
More commented out stuff: added generateFilenameForDetection method, for use by the detector; and applied various fixes to generateFilename (which is still completely untested, so it certainly contains more 'bugs' :)
...
svn-id: r21771
2006-04-10 22:45:05 +00:00
Max Horn
0ed3018f2b
Some more tweaks to the (still unused) gameFilenamesTable; also readded an enhanced version of the (also unused) generateFilename function
...
svn-id: r21770
2006-04-10 22:25:42 +00:00
Max Horn
8cbe1f3823
Merged scumm_settings into extra_versions, which in turn got renamed to gameVariantsTable
...
svn-id: r21768
2006-04-10 21:43:49 +00:00
Max Horn
7b7eb1f331
Changed the precedence of the MD5 overrides (highest priority: config file, then target_md5.txt override, finally the 'reaL md5); also did some cleanup and code unification
...
svn-id: r21736
2006-04-09 22:18:48 +00:00
Max Horn
cd5b1fee40
Removed some obsolete code
...
svn-id: r21735
2006-04-09 22:05:05 +00:00
Max Horn
39a2bc6812
Added gameFilenamesTable (currently unused, and hence disabled)
...
svn-id: r21734
2006-04-09 22:03:29 +00:00
Max Horn
3add3dae95
Removed dupliate entry from extra_versions table
...
svn-id: r21701
2006-04-08 22:48:03 +00:00
Max Horn
c8ea13139d
Our extra_versions table is a bit too eager in some cases to assign platform values; fixing some of these cases and adding code that detects these and triggers an according warning
...
svn-id: r21700
2006-04-08 22:05:45 +00:00
Max Horn
e7a8bb6abf
Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
...
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
dc77d02c7e
Removed common/map.h with the Common::Map template class (it was a very bad implementation, and our HashMap is simply better).
...
svn-id: r21688
2006-04-08 11:38:41 +00:00
Max Horn
30c2e13456
Move some more bits into namespace Scumm
...
svn-id: r21685
2006-04-08 08:43:28 +00:00
Max Horn
9c77c2ecd1
Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
...
svn-id: r21684
2006-04-08 08:23:33 +00:00
Max Horn
1cda8e10f0
Finally got rid of multiple_versions_md5_settings in favor of extra_versions
...
svn-id: r21672
2006-04-07 22:40:45 +00:00
Max Horn
7ba17e0574
Paranoia change: catch invalid 'method' value in generateDetectName
...
svn-id: r21602
2006-04-04 21:18:15 +00:00
Max Horn
41f71238f2
Removing outdated and obsolete comment
...
svn-id: r21578
2006-04-03 12:11:04 +00:00
Max Horn
b9acc7a285
Since GF_HE_CURSORLESS is gone now, we can remove this special case for 'lost'
...
svn-id: r21577
2006-04-03 12:09:54 +00:00