27591 Commits

Author SHA1 Message Date
Filippos Karapetis
8940030f44 Added MSVC project files for the new tucker engine
svn-id: r34996
2008-11-10 22:08:02 +00:00
Filippos Karapetis
4ea83f237c Silenced MSVC warnings about uninitialized variables
svn-id: r34995
2008-11-10 21:56:27 +00:00
Filippos Karapetis
1914f20c38 Fixed typo (which seems like a nasty bug)
svn-id: r34994
2008-11-10 21:53:39 +00:00
Gregory Montoir
0032f2743e removed unneeded file header read
svn-id: r34992
2008-11-10 21:01:15 +00:00
Gregory Montoir
4a5d4ba94d add initial support for 'Bud Tucker in Double Trouble'
svn-id: r34990
2008-11-10 20:38:54 +00:00
Filippos Karapetis
2b59700d2a AGI save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34989
2008-11-10 19:02:47 +00:00
Filippos Karapetis
a859e2c1c9 Cleanup
svn-id: r34988
2008-11-10 18:51:51 +00:00
Filippos Karapetis
dbb0fa5f62 Updated the MSVC project files for commit #34983
svn-id: r34987
2008-11-10 14:34:32 +00:00
Filippos Karapetis
3ccfce260f SAGA save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34986
2008-11-10 14:11:30 +00:00
Max Horn
32526079aa Include required header
svn-id: r34985
2008-11-10 12:45:09 +00:00
Filippos Karapetis
4e7f7064a3 Limit places where saving from the GMM is permitted
svn-id: r34984
2008-11-10 11:43:02 +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
Vicent Marti
631c679e40 Added some more whitespace skipping to default theme generation script.
svn-id: r34982
2008-11-10 10:40:08 +00:00
Benjamin Haisch
8709acb6de - Global options dialog support
svn-id: r34981
2008-11-10 00:19:43 +00:00
Filippos Karapetis
03a0046b1c Fixed an off-by-one error in the save slot gap filling code
svn-id: r34980
2008-11-09 21:39:41 +00:00
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
Torbjörn Andersson
926193c9c3 Only hide the cursor for in-game pausing. Pausing from the outside is assumed to
bring up the GUI, which has its own cursor. (This fixes the cursor disappearing
when pausing on one of the engine's own dialog windows.)

svn-id: r34977
2008-11-09 20:35:06 +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
b9b7b85d54 Disallow overwriting of slot 0, quicksave and autosave slots.
svn-id: r34973
2008-11-09 20:20:22 +00:00
Johannes Schickel
d7c5e9ce87 Fixed 'Save'/'Load' button enable/disable triggering.
svn-id: r34972
2008-11-09 20:18:51 +00:00
Johannes Schickel
fac44f1e57 Update documentation.
svn-id: r34971
2008-11-09 20:08:54 +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
7d8e4ca59b Added a getMaximumSaveSlot() implementation for sword1 and sword2
svn-id: r34969
2008-11-09 19:30:09 +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
Johannes Schickel
ed1b12571b Updated documentation.
svn-id: r34964
2008-11-09 17:43:39 +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
Torbjörn Andersson
b7991b6ad8 Removed some code that was added earlier to deal with dimming/undimming the
palette when pausing the game in a mid-fade. The game can only be paused in
mid-fade from the outside, and then the palette isn't dimmed/undimmed.

svn-id: r34958
2008-11-09 14:35:45 +00:00
Torbjörn Andersson
d896c892e5 Allow pausing (from the outside) during credits and palette fades. Refactored the
code to distinguish outside pausing from in-game pausing, to avoid cursor-related
problems. The screen is now only dimmed during in-game pausing.

svn-id: r34957
2008-11-09 14:32:24 +00:00
Torbjörn Andersson
2e9e68fc8e Fixed pausing during credits.
svn-id: r34956
2008-11-09 13:50:41 +00:00
Torbjörn Andersson
2bbc958373 Made getSoundElapseTime() work better when the sound has been paused. A new
variable, _pauseTime, keeps track of how long the sound has been paused since the
last mixer time stamp.

svn-id: r34955
2008-11-09 13:28:59 +00:00
Torbjörn Andersson
db3438f2c9 Allow pausing during cutscene movies. (This will need an update to the mixer's
getSoundElapsedTime() function to work better.)

svn-id: r34954
2008-11-09 13:20:43 +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
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
43e7832e0e Removed unused XML_GLOBAL_PROP functionality (saves some kilobytes)
svn-id: r34950
2008-11-09 12:37:19 +00:00
Johannes Schickel
44853bf2af Fixed bug, which might mess up the description of new savegames.
svn-id: r34949
2008-11-09 12:16:51 +00:00
Johannes Schickel
f2174f5751 Implemented Engine::syncSoundSettings properly for MIDI output.
svn-id: r34948
2008-11-09 12:07:20 +00:00
Torbjörn Andersson
18414f0a0a Moved sound-related settings to syncSoundSettings() for the global options dialog.
svn-id: r34947
2008-11-09 11:52:52 +00:00
Torbjörn Andersson
7b8ff8b752 Fixed warning, and what looked to me like a very minor memory leak.
svn-id: r34946
2008-11-09 09:58:59 +00:00
Nicola Mettifogo
93499c8032 Update ReadStringStream and parser to work with the new eos() logic.
svn-id: r34945
2008-11-09 09:39:36 +00:00