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
b9b7b85d54
Disallow overwriting of slot 0, quicksave and autosave slots.
...
svn-id: r34973
2008-11-09 20:20:22 +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
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
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
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
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
Nicola Mettifogo
63ccac8f9d
Enabled flags parsing for all commands in location script. Most of them don't need it, but some commands have been enhanced in BRA.
...
svn-id: r34944
2008-11-09 05:24:08 +00:00
Nicola Mettifogo
2be5afee68
Fixed crash when closing BRA.
...
svn-id: r34943
2008-11-09 05:22:25 +00:00
Nicola Mettifogo
27a5d8bd5b
Better cleanup and handling of mouse when changing location in NS.
...
svn-id: r34942
2008-11-09 03:53:06 +00:00
Nicola Mettifogo
f076b5e034
Fixed bug in introduction of NS.
...
svn-id: r34941
2008-11-09 02:39:28 +00:00
Nicola Mettifogo
3eeece6a25
* cleanup
...
* moved find routines from Parallaction to Location
svn-id: r34940
2008-11-08 15:02:19 +00:00
Nicola Mettifogo
5581030972
* removed the obsolete _quit flag
...
* refactored most cleanup code for locations and game
svn-id: r34939
2008-11-08 14:56:45 +00:00
Nicola Mettifogo
767485840f
Got rid of the SurfaceToMultiFrames adapter class.
...
svn-id: r34938
2008-11-08 02:32:40 +00:00
Max Horn
0508fec8a8
Pushing down some header deps
...
svn-id: r34936
2008-11-08 01:30:32 +00:00
Benjamin Haisch
8ffcd984b0
Implemented RTL support
...
svn-id: r34933
2008-11-07 21:59:25 +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
Nicola Mettifogo
e6337d11aa
* completed transition to Common::Archive for Nippon Safes.
...
* removed lots of old Archive swap magic
svn-id: r34931
2008-11-07 15:35:18 +00:00
Nicola Mettifogo
8baedea4d4
Implemented a Common::Archive subclass to handle the content of archives in Nippon Safes. Common::File is now used only to load archives.
...
svn-id: r34921
2008-11-07 08:47:59 +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
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Filippos Karapetis
2b0346ca5e
Fix for bug #2071125 - "MICKEY: Mouse movement", by using the waitForTimer() function from the SCUMM engine
...
svn-id: r34914
2008-11-06 16:31:34 +00:00
Max Horn
8f33d4a40a
Implemented GMM loading (and, once the GMM supports it, saving) for SCUMM
...
svn-id: r34913
2008-11-06 15:41:38 +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
38a4eaa001
cleanup
...
svn-id: r34910
2008-11-06 14:03:38 +00:00
Max Horn
142a8d5a51
Simplified AdvancedMetaEngine::fallbackDetect usage
...
svn-id: r34909
2008-11-06 13:59:39 +00:00
Max Horn
f32be87633
Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
...
svn-id: r34906
2008-11-05 17:24:56 +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
cbfa73886c
cleanup
...
svn-id: r34898
2008-11-04 20:03:32 +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
Nicola Mettifogo
70679e6895
Fixed leak (unreleased stream of music data).
...
svn-id: r34895
2008-11-04 13:57:29 +00:00
Nicola Mettifogo
9fe3150348
Refactoring of NS disk code, preliminary to change towards Common::Archive.
...
svn-id: r34894
2008-11-04 13:57:04 +00:00
Johannes Schickel
2694e916da
Extend HACK in Engine::hasFeature, fixes GMM load dialog.
...
svn-id: r34889
2008-11-03 21:10:18 +00:00
Johannes Schickel
112feada4e
- Extended some comments
...
- Added @todos to engines/engine.h
- Added a FIXME to engines/dialogs.cpp
svn-id: r34887
2008-11-03 20:00:36 +00:00
Johannes Schickel
39a1eb8191
Check for engine support for loading/saving via GMM when enabling/disabling the buttons.
...
svn-id: r34886
2008-11-03 19:55:20 +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
Max Horn
55c10e0ec6
Patch #2122869 : ALL: Common load dialog
...
svn-id: r34883
2008-11-03 18:32:16 +00:00
Johannes Schickel
282ebbb0e5
Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
...
svn-id: r34871
2008-11-01 12:49:29 +00:00