1350 Commits

Author SHA1 Message Date
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Vicent Marti
b98f89c7f0 Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
Massive cleanup.

svn-id: r34983
2008-11-10 11:24:55 +00:00
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
85c1d35ae3 Error out on savegame load failure (again).
svn-id: r34953
2008-11-09 13:12:38 +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
Johannes Schickel
f2174f5751 Implemented Engine::syncSoundSettings properly for MIDI output.
svn-id: r34948
2008-11-09 12:07:20 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +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
Johannes Schickel
282ebbb0e5 Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
svn-id: r34871
2008-11-01 12:49:29 +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
Johannes Schickel
7d331b7341 Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
svn-id: r34837
2008-10-22 17:44:12 +00:00
Johannes Schickel
cd38ddc542 Cleanup.
svn-id: r34831
2008-10-21 11:42:08 +00:00
Florian Kagerer
e25265425d - fix installer file support for Kyra 2 and 3
- fix bug in pc98 audio driver

svn-id: r34791
2008-10-13 06:29:14 +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
d89ff31450 Cleanup.
svn-id: r34736
2008-10-03 18:23:57 +00:00
Johannes Schickel
f3469eae94 Check all 'kyra.dat' files in setup paths instead of only the first one found.
svn-id: r34735
2008-10-03 18:18:42 +00:00
Johannes Schickel
e417471177 Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
svn-id: r34734
2008-10-03 16:57:40 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +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
Willem Jan Palenstijn
395536be6e also check for premature end-of-stream when loading
svn-id: r34563
2008-09-15 19:34:06 +00:00
Johannes Schickel
c1458bd2bb Fixed regression introduced with latest stream changes (it seems compressed savefiles ioFailed never returned true when only eos was set).
svn-id: r34551
2008-09-14 23:14:38 +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
48adf18e21 Added autosave support in Kyra.
svn-id: r34535
2008-09-14 19:48:40 +00:00
Johannes Schickel
20a7a9112f Fix potentional bug in Screen::setResolution.
svn-id: r34533
2008-09-14 19:05:05 +00:00
Johannes Schickel
38097172e2 Typo.
svn-id: r34528
2008-09-14 16:48:20 +00:00
Johannes Schickel
eddae0e105 Fixed thumbnail creation / loading in kyra.
svn-id: r34527
2008-09-14 16:29:14 +00:00
Johannes Schickel
a716fe8393 Implemented opcode 151: o1_resetMaskRegion
svn-id: r34524
2008-09-14 15:36:16 +00:00
Johannes Schickel
fbbe535645 Fixed regression introduced with r34522. (Now games without 'cdaudio' config value set should startup again).
svn-id: r34523
2008-09-14 15:35:40 +00:00
Johannes Schickel
53cf9e6409 Only setup 'cdaudio' config default for FM-Towns/PC98.
svn-id: r34522
2008-09-14 14:58:37 +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
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +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
25d79f8918 Cleanup.
svn-id: r34484
2008-09-10 20:47:58 +00:00
Johannes Schickel
a54d1dbde6 Cleanup.
svn-id: r34481
2008-09-10 18:01:02 +00:00
Johannes Schickel
6fad6711d9 Changed static resource code to use Streams instead of operating on buffers.
svn-id: r34467
2008-09-09 18:09:46 +00:00
Florian Kagerer
2c0c67c08a HOF: msvc8 compile fix (ARRAYSIZE used with run-time allocated array)
svn-id: r34454
2008-09-08 21:57:38 +00:00
Johannes Schickel
c5e049bce8 Made some filenames uppercase for consistency.
svn-id: r34452
2008-09-08 18:55:29 +00:00
Johannes Schickel
c6b6a99f2a Fixed LoL file loading regression.
svn-id: r34451
2008-09-08 18:48:39 +00:00
Johannes Schickel
a8c4ffa93f Changed priorities for search paths. (Just in case system specific data paths contain an outdated kyra.dat version)
svn-id: r34438
2008-09-07 22:41:57 +00:00
Johannes Schickel
06d57a54f3 - Fixed regression in Resource::unloadPakFile
- Changed priority value for OSystem::addSysArchivesToSearchSet call

svn-id: r34436
2008-09-07 22:35:13 +00:00
Johannes Schickel
bd10e674a3 Got rid of all Common::File usages in Kyra.
svn-id: r34435
2008-09-07 22:30:34 +00:00
Max Horn
3c48fb7eae Fix warning about missing virtual destructor
svn-id: r34433
2008-09-07 22:00:04 +00:00