Commit Graph
174 Commits
Author SHA1 Message Date
Johannes Schickel b9b7b85d54 Disallow overwriting of slot 0, quicksave and autosave slots.
svn-id: r34973
2008-11-09 20:20:22 +00:00
Filippos Karapetis f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Johannes Schickel 36de1204e3 - Implemented Engine::saveGameState for KYRA
- Changed internal save/load API to use slots instead of filename strings
- Changed internal save/load API to use Common::Error

svn-id: r34952
2008-11-09 13:00:40 +00:00
Max Horn fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn 61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Johannes Schickel 6eab0dcc6e Preliminary support for loading via GMM for KYRA engine.
svn-id: r34885
2008-11-03 19:51:34 +00:00
Filippos Karapetis b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn b41cd58cee Renamed some MetaEngine feature flags; removed explicit numbers from this feature flag list (nothing should rely on their specific values, anyway); added a note that Engine::hasFeature should become independant of MetaEngine::hasFeature
svn-id: r34738
2008-10-04 13:09:01 +00:00
Johannes Schickel 259d87a8a6 Added "querySaveMetaInfos" to MetaEngine.
-> Allows easy addition of save state specific infos like playtime, save date atc.
 -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
 -> Changed SCUMM / KYRA to implement the newly added functionallity
 -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos

svn-id: r34581
2008-09-16 14:10:55 +00:00
Johannes Schickel a4830d813e Cleanup.
svn-id: r34545
2008-09-14 21:41:27 +00:00
Johannes Schickel 92fc264461 - Added thumbnail support to launcher load dialog.
- Adopted KYRA to support displaying thumbnails in load dialog (SCUMM engine has yet to follow)

svn-id: r34539
2008-09-14 21:00:24 +00:00
Johannes Schickel 9ec7c3eaca Added a hack in KyraMetaEngine::listSaves to prevent slot 0 from being listed. Check comment for additional information.
svn-id: r34521
2008-09-14 14:08:14 +00:00
Johannes Schickel ba58358c8d Rename save slots in KyraMetaEngine::removeSaveState, so it matches behavior in GUI_v2::deleteMenu at least a little bit more.
svn-id: r34520
2008-09-14 14:01:24 +00:00
Johannes Schickel 31c72ace1b Fixed slot 0 savefile name in Kyra3. (Now using 'New game' instead of 'German')
svn-id: r34502
2008-09-12 12:25:56 +00:00
Johannes Schickel 0a35842954 Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
svn-id: r34495
2008-09-11 19:47:45 +00:00
Johannes Schickel 8c58e27ab1 Cleanup.
svn-id: r34248
2008-09-01 18:14:55 +00:00
Max Horn 91df44f8f6 Merging more of the GSoC 2008 RTL branch: KYRA
svn-id: r34246
2008-09-01 17:52:50 +00:00
Florian Kagerer bfd1723998 - add support for Italian floppy version
- more work on fm-towns music tempo

svn-id: r34067
2008-08-20 19:57:57 +00:00
Johannes Schickel f4fc8c3e4c Committed patch #2050337 "KYRA/SCUMM: Thumbnail support/improvement". (Without Max' compressed backward seeking support for now)
svn-id: r34053
2008-08-20 14:03:34 +00:00
Christopher Page 909b66ef54 Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33924
2008-08-16 04:30:01 +00:00
Christopher Page ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page 9d3cdcb2da Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
2008-08-15 18:15:14 +00:00
Florian Kagerer d6ac646d0b lol: new detection entry (german floppy extracted)
svn-id: r33886
2008-08-14 23:46:37 +00:00
Florian Kagerer 3f316681a0 - HOF: forgot french and german entries in last commit
svn-id: r33875
2008-08-14 21:34:29 +00:00
Florian Kagerer 8fe533657c - HOF: another Italian fan translation
svn-id: r33873
2008-08-14 21:21:04 +00:00
Johannes Schickel 0f95bb9fd5 Added detection entries for kyra3 Mac.
svn-id: r33837
2008-08-13 19:10:31 +00:00
Florian Kagerer 3fdc699411 LOL: add support for floppy installer files
(startup will fail nonethelesse since we have different pak file names)

svn-id: r33777
2008-08-11 14:47:50 +00:00
Johannes Schickel 126d4a5ec6 Added detection entries for kyra2 cd italian fan translation (see fr#2003504 "KYRA: add support for Italian version of Kyrandia 2&3"). (totally untested!)
svn-id: r33579
2008-08-03 12:16:53 +00:00
Florian Kagerer 4c74db4463 add non-interactive lol demo
svn-id: r33556
2008-08-02 23:11:31 +00:00
Travis Howell 2d647afbbf Detect both HOF non-interactive demos.
svn-id: r33525
2008-08-02 14:37:10 +00:00
Johannes Schickel 5e0df8ad8e Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + Character selection".
svn-id: r33463
2008-07-31 10:47:15 +00:00
Torbjörn Andersson c8488c060c Fixed Kyra 3 detection regression.
svn-id: r32992
2008-07-10 16:19:17 +00:00
Johannes Schickel 056288f87a Added support for Italian fan translation of Kyrandia 3. (see fr#2003504 "KYRA: add support for Italian version of Kyrandia 2&3")
svn-id: r32912
2008-07-05 08:20:10 +00:00
Johannes Schickel 34a49d4a5a Fix game flags for detection entries of installed kyra3 versions.
svn-id: r32859
2008-06-30 23:44:33 +00:00
Johannes Schickel cef7d68fc5 Added support for Spanish fan translation of kyra3 (See fr #1994040 "KYRA3: Add support for Spanish fan translation").
svn-id: r32858
2008-06-30 23:39:56 +00:00
Florian Kagerer b0e22db7a8 - some more work on the Hof FM-Towns/PC98 music driver
- move channels to a separate class

svn-id: r32841
2008-06-29 15:25:45 +00:00
Florian Kagerer 7b30081be2 - improved hof music support for fm-towns (driver for *.twn tracks) (still needs quite some work)
- some PC-98 music support since it uses a very similar driver, but this can't be considered working yet)
- Kyra 1 PC-98 music doen't work at all since I haven't figured out yet how to turn track numbers into the corresponding music file names (might require a hard coded track map)

svn-id: r32807
2008-06-26 19:42:59 +00:00
Johannes Schickel dd79ed1011 Added ADGF_CD to Italian fan translation of kyra1 cd.
svn-id: r32438
2008-05-31 20:18:43 +00:00
Florian Kagerer 0efebd9876 - add support for HOF floppy versions
- playing directly from installer files (WESTWOOD.00X) is supported (not recommended for low-end machines and certain ports)

svn-id: r32249
2008-05-24 16:30:18 +00:00
Johannes Schickel c834bbba06 Changed kyra3 detection entries, now there are special entries for non installed version checking for WESTWOOD.001 and special entries for installed version checking for AUD.PAK.
svn-id: r32120
2008-05-14 16:59:34 +00:00
Johannes Schickel bb03596744 - Renamed KyraEngine to KyraEngine_v1
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp

svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel 6e0c569966 Consisteny fixes:
- Renamed classes *_v1 -> *_LoK
 - Renamed files *_v1.* -> *_lok.*
 - Renamed WSAMovieV1 -> WSAMovie_v1
 - Renamed WSAMovieV2 -> WSAMovie_v2

svn-id: r32042
2008-05-11 22:32:37 +00:00
Jordi Vilalta Prat 38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Johannes Schickel 4b5f3266cf Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
svn-id: r31817
2008-05-02 14:46:30 +00:00
Johannes Schickel 4d5c6d1afb Prevent analog sound driver to be created for Kyra3.
svn-id: r31771
2008-04-29 14:22:04 +00:00
Johannes Schickel 960655eec5 Fixed formatting.
svn-id: r31577
2008-04-19 14:52:35 +00:00
Florian Kagerer 8711a48de3 fix detection for playable Hof demo
svn-id: r31576
2008-04-19 14:48:29 +00:00
Johannes Schickel baf3d98513 - Reverted r31454 changes to detection.cpp
- Added ADGF_CD to all CD versions
- Added ADGF_DROPLANGUAGE to Kyra2/3 CD version
- Changed Kyrandia engine to use agumented target ids

svn-id: r31476
2008-04-10 21:50:41 +00:00
Johannes Schickel 50c3732478 - Set language to Common::UNK_LANG for multilanguage games (kyra2cd and kyra3) in detection code
- Save language changes done in menu in HoF to the config file

svn-id: r31454
2008-04-08 18:52:27 +00:00
Max Horn 29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00