Travis Howell
f840b356c6
Add newline to end of file
...
svn-id: r22434
2006-05-13 10:39:35 +00:00
Andrew Kurushin
64c3407500
extract GameDescriptions to separate files (this will help compress_saga tool to detect sound resource)
...
svn-id: r22433
2006-05-13 10:30:38 +00:00
Torbjörn Andersson
e2656a276a
Changed abs() to ABS()
...
svn-id: r22389
2006-05-08 13:34:21 +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
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
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
Max Horn
74edd90aba
Fix for bug #1471383 : Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
...
svn-id: r21951
2006-04-16 19:23:14 +00:00
Max Horn
6c076f80d7
Reduced dependencies on base/plugins.h
...
svn-id: r21940
2006-04-16 13:12:23 +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
1470dadb1d
Changed File::open to take a Common::String as file name parameter
...
svn-id: r21867
2006-04-14 01:48:51 +00:00
Johannes Schickel
e9034e274f
Fixes save/load.
...
svn-id: r21842
2006-04-13 13:55:10 +00:00
Eugene Sandulenko
5a2ad04a9e
Introduced language EN_ANY used for general English game entries. EN_USA and
...
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.
svn-id: r21702
2006-04-08 23:12:56 +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
Eugene Sandulenko
8fa9bd6728
Removed extra exclamation marks in warning() calls as well.
...
svn-id: r21608
2006-04-04 22:21:10 +00:00
Eugene Sandulenko
f5c4634ecd
Fix md5 for German IHNM
...
svn-id: r21606
2006-04-04 22:00:16 +00:00
Max Horn
49d63590ab
Removing superfluous addDefaultDirectory call
...
svn-id: r21531
2006-04-01 21:30:06 +00:00
Max Horn
8cdee5a931
Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
...
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
950c3451a2
Removing bogus leftovers
...
svn-id: r21471
2006-03-28 09:37:50 +00:00
Andrew Kurushin
7191d474a4
improve game detection:
...
- start process speedup (remove already scanned files)
- merge md5 & game files list
svn-id: r21468
2006-03-27 16:56:08 +00:00
Andrew Kurushin
9586f11bdf
fix ITE SUNSPOT music loop
...
svn-id: r21439
2006-03-24 18:15:57 +00:00
Max Horn
ab1694aef9
Compute the full game title when detecting games & creating engine instances, and also use that for savegames (all for debugging)
...
svn-id: r21285
2006-03-14 13:28:28 +00:00
Max Horn
6db0289f30
Moved SAGA plugin interface code from saga.cpp to game.cpp
...
svn-id: r21181
2006-03-09 14:33:07 +00:00
Max Horn
aad520026c
Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new TODO in the saveload code now)
...
svn-id: r21171
2006-03-09 13:22:30 +00:00
Max Horn
783264fe28
Made sure the generic ITE description matches the 'special' ones in game.cpp
...
svn-id: r21169
2006-03-09 13:03:23 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af
- added new toDetectedGame() template function (analog to toGameSettings)
...
- made use of the new DetectedGame constructor from my last commit
- some related cleanup
svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
d9a9fac937
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
...
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
140f6fce26
Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
...
svn-id: r21043
2006-03-03 15:51:33 +00:00
Max Horn
907bd7128d
Fix for bug #1438822 (Targets are case sensitive)
...
svn-id: r21017
2006-03-02 22:29:01 +00:00
Andrew Kurushin
55898dfe61
apply CYX mem-leak fix patch
...
svn-id: r21013
2006-03-02 18:25:56 +00:00
Max Horn
1f987027f8
Removed last two uses of MKID
...
svn-id: r20872
2006-02-25 11:12:44 +00:00
Max Horn
8ac17430ac
- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
...
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
obsolete gameids w/o showing them to the user
svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
81798556db
- Removed the 'features' field from GameSettings
...
- Removed GF_DEFAULT_TO_1X_SCALER
svn-id: r20747
2006-02-18 00:12:36 +00:00
Max Horn
a96760a2fd
Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
...
svn-id: r20738
2006-02-17 00:01:18 +00:00
Eugene Sandulenko
e0b7feeaed
Move addDefaultDirectory() calls out of init() method to constructor.
...
svn-id: r20679
2006-02-14 01:59:32 +00:00
Max Horn
80cf2fa46f
Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
...
svn-id: r20584
2006-02-12 00:16:31 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00