Commit Graph
4703 Commits
Author SHA1 Message Date
Filippos Karapetis a5502b296f Cleanup and simplification
svn-id: r34979
2008-11-09 21:20:44 +00:00
Filippos Karapetis 1353a304f3 Do not allow the user to alter the description of write protected save slots in the GMM save dialog
svn-id: r34978
2008-11-09 21:09:26 +00:00
Johannes Schickel 9879985abf Prevent double click handling if choose button is disabled. (SaveLoadChooser)
svn-id: r34976
2008-11-09 20:34:52 +00:00
Johannes Schickel bc829e721b Cleanup (and a little bug fix :-P).
svn-id: r34975
2008-11-09 20:33:15 +00:00
Johannes Schickel 818d87f448 Disable 'Save' button if no entry is selected in the save chooser.
svn-id: r34974
2008-11-09 20:22:43 +00:00
Johannes Schickel d7c5e9ce87 Fixed 'Save'/'Load' button enable/disable triggering.
svn-id: r34972
2008-11-09 20:18:51 +00:00
Filippos Karapetis ea7f305960 Added a new SaveStateDescriptor flag, is_write_protected, which can be used to stop the user from overwriting certain saves (e.g. the auto save, the restart save in the Kyrandia games, the quicksaves etc)
svn-id: r34970
2008-11-09 20:07:46 +00:00
Filippos Karapetis 765e37dc2e - The save list iterator should now be synced correctly
- Numbering of save slots starts from 0 again, not 1

svn-id: r34968
2008-11-09 19:14:39 +00:00
Filippos Karapetis 8b0f38acd1 Corrected comment
svn-id: r34967
2008-11-09 18:38:25 +00:00
Filippos Karapetis eee2e68007 Gaps in the list of save games are now handled correctly in the GMM save/load dialogs
svn-id: r34966
2008-11-09 18:35:26 +00:00
Filippos Karapetis bf857a73fe Save game descriptions are now set correctly in the GMM save dialog
svn-id: r34965
2008-11-09 17:53:37 +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
Max Horn 08eecfd3e5 Run xmllint on our *.STX files. Fixed several XML syntax violations
svn-id: r34962
2008-11-09 16:03:45 +00:00
Max Horn 1ad8e59c12 minor tweaks
svn-id: r34961
2008-11-09 15:59:14 +00:00
Max Horn 53d530af37 Got rid of some more 'using' usages
svn-id: r34960
2008-11-09 15:22:36 +00:00
Max Horn f5b70114ca Removed many unnecessary #includes
svn-id: r34959
2008-11-09 15:14:01 +00:00
Max Horn cb581c61b2 Partially merge classes Theme and ThemeEngine (saves another couple KB), somebody (Tanoku?) should do a proper merge
svn-id: r34951
2008-11-09 12:38:30 +00:00
Max Horn 7cbd04dc23 Thou shalst never use the 'using' keyword in a header file, lest the wrath of ye fingolfin will crush your sorrow bones to dust... *grrr* ;)
svn-id: r34937
2008-11-08 01:34:02 +00:00
Max Horn 0508fec8a8 Pushing down some header deps
svn-id: r34936
2008-11-08 01:30:32 +00:00
Max Horn 2071f606a9 Moved some internal stuff from ThemeEngine.h to ThemeEngine.cpp
svn-id: r34935
2008-11-08 00:54:58 +00:00
Filippos Karapetis 57e57c49ce Saving a game from GMM is now working for the SAGA engine, though the description is not set correctly yet
svn-id: r34932
2008-11-07 19:43:01 +00:00
Johannes Schickel 1512fbd261 Formatting.
svn-id: r34927
2008-11-07 13:20:25 +00:00
Filippos Karapetis 3cdb3d76c3 Fixed colors for the GMM save/load dialogs
svn-id: r34920
2008-11-06 23:29:48 +00:00
Torbjörn Andersson 2d42880ccf Fixed compilation.
svn-id: r34919
2008-11-06 22:00:29 +00:00
Filippos Karapetis 27d1959683 Added some WIP code for the GMM save dialog (still not working correctly)
svn-id: r34918
2008-11-06 20:26:19 +00:00
Max Horn edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn 79614d28b6 Tweaked browser dialog in 320x200 mode
svn-id: r34904
2008-11-05 14:58:47 +00:00
Max Horn 27628688d2 Tweaked classic theme in 320x200 mode, to use the available space better
svn-id: r34902
2008-11-05 14:33:22 +00:00
Max Horn b2d93543d4 Paranoia check
svn-id: r34901
2008-11-05 11:57:11 +00:00
Max Horn 817d2078cc Some cleanup / handle the case where the themepath is neither pointing to a dir nor to a .zip file
svn-id: r34897
2008-11-04 19:49:26 +00:00
Nicola Mettifogo 33b6bc4215 Reordered initialization lists to kill a ton of warnings.
svn-id: r34892
2008-11-04 05:29:53 +00:00
Johannes Schickel 4905d827b7 Removed dependency on OSystem::RGBToColor, by using Graphics::RGBToColor + Graphics::PixelFormat instead.
svn-id: r34888
2008-11-03 20:15:45 +00:00
Johannes Schickel f3f3c69f63 Updated theme files for r34883.
svn-id: r34884
2008-11-03 19:38:15 +00:00
Max Horn 55c10e0ec6 Patch #2122869: ALL: Common load dialog
svn-id: r34883
2008-11-03 18:32:16 +00:00
Max Horn 6466661252 Moved GuiObject::reflowLayout from newgui.cpp to object.cpp
svn-id: r34882
2008-11-03 16:42:23 +00:00
Max Horn 55da1fdd29 Renamed ThemeLayout::buildCopy to buildCopy::makeClone
svn-id: r34881
2008-11-03 16:38:47 +00:00
Max Horn 9e74c41dbd Fix comment
svn-id: r34880
2008-11-03 16:00:52 +00:00
Max Horn 78221818e4 Documented & cleaned up ThemeEngine::createCursor
svn-id: r34879
2008-11-03 16:00:13 +00:00
Max Horn 188da3547f Instead of allocating (and leaking, in case of an error) a 64k table with at most 256 entries, use a HashMap
svn-id: r34878
2008-11-03 15:15:32 +00:00
Johannes Schickel 2ec5515e89 Store names for renderer configuration in config file instead of integers.
svn-id: r34867
2008-10-29 20:45:28 +00:00
Johannes Schickel 98b0c4b33c Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
svn-id: r34864
2008-10-29 19:48:15 +00:00
Vicent Marti 08f1e00415 Fixed: Text too big in 1x mode.
svn-id: r34863
2008-10-29 19:02:45 +00:00
Vicent Marti fccf455bcc Bugfix: Dirty rectangle out of range when blitting into the overlay.
svn-id: r34862
2008-10-29 18:57:42 +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
Kari Salminen 4d4042df36 Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.
svn-id: r34839
2008-10-22 20:29:17 +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
Vicent Marti 66cc100702 Fixed: Naming of STX files in Scummmodern theme.
svn-id: r34834
2008-10-21 18:03:47 +00:00
Johannes Schickel 649c18d565 Fix for bug #1960518 "ALL: --list-saves ignores custom paths".
svn-id: r34832
2008-10-21 16:01:06 +00:00
Vicent Marti 98ae461556 Fixed: Assert when parsing a corrupted Theme archive (now discarding the theme silently as non-valid).
svn-id: r34825
2008-10-18 23:58:26 +00:00
Torbjörn Andersson 6e177e64df Fixed warning.
svn-id: r34822
2008-10-18 13:06:27 +00:00