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
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
Travis Howell
de8dedf3c3
Add missing break to processSpecialKeys().
...
svn-id: r34843
2008-10-23 00:26:45 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +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
Max Horn
706fb37061
Modified uncompress in common/zlib.h to return a bool, so that we don't have to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts)
...
svn-id: r34576
2008-09-16 11:42:21 +00:00
Travis Howell
1b34b58c01
Replace ioFailed by err.
...
svn-id: r34557
2008-09-15 12:37:24 +00:00
Filippos Karapetis
cde2ee58b1
Fix for bug #2102828 - "AGOS - compilation error, uninitialized variable"
...
svn-id: r34469
2008-09-10 06:59:55 +00:00
Max Horn
2bc093828f
Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
...
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Christopher Page
d370c8eedd
Agos volume levels changed by the keyboard correspond now sync with the config manager
...
svn-id: r33954
2008-08-16 22:42:19 +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
ad5b550df8
Small correction for last commit
...
svn-id: r33910
2008-08-15 18:26:59 +00:00
Christopher Page
6bebff8ab0
Fixed a memory leak in Agos
...
svn-id: r33852
2008-08-14 00:26:57 +00:00
Christopher Page
8d8c46e36f
Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
...
svn-id: r33848
2008-08-13 20:45:00 +00:00
Christopher Page
fcc00f20b9
Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33769
2008-08-10 21:58:18 +00:00
Torbjörn Andersson
d08c3ba66b
Committed my patch #2040074 ("XMIDI callback control events"). At the moment, I'm
...
not aware of any game that actually uses this XMIDI feature, so its primary
function right now is to silence lots of warnings while running the DOS version
of Simon the Sorcerer 2.
svn-id: r33763
2008-08-10 17:59:42 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33720
2008-08-09 19:03:29 +00:00
Travis Howell
f68d52ce4d
Remove debug leftover.
...
svn-id: r33696
2008-08-08 02:49:51 +00:00
Travis Howell
fd65ea311a
Hopefully allow quiting at any stage AGOS engines games again.
...
svn-id: r33693
2008-08-08 02:18:17 +00:00
Kostas Nakos
1a99bce201
smartphone-specific code not needed anymore
...
svn-id: r33674
2008-08-07 09:10:42 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Max Horn
0be985ce83
Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
...
svn-id: r33412
2008-07-29 16:09:10 +00:00
Travis Howell
4f445e3deb
Fix buffer overflow in error message.
...
svn-id: r33321
2008-07-27 01:54:40 +00:00
Paul Gilbert
ba351015cb
Fix to prevent attempt to delete a non-initialised object during game exit
...
svn-id: r33283
2008-07-25 09:36:18 +00:00
Christopher Page
50a5410316
Implemented listSaves() for AGOS
...
svn-id: r33265
2008-07-24 20:16:21 +00:00
Christopher Page
09f4fd946e
Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33183
2008-07-21 22:46:39 +00:00
Christopher Page
34d3d74b97
Fixed a small SFX issue with AGOS
...
svn-id: r33180
2008-07-21 19:46:23 +00:00
Travis Howell
e1c71dab99
Spacing.
...
svn-id: r33168
2008-07-21 10:32:20 +00:00
Bertrand Augereau
ecd44b8f90
Avoid branching in the inner loop of AGOS drawVertImageCompressed
...
svn-id: r33167
2008-07-21 10:13:44 +00:00
Bertrand Augereau
bd17a600dc
Split the drawVertImage function in the agos engine to make it clearer
...
and easier to profile
svn-id: r33083
2008-07-16 09:08:44 +00:00
Christopher Page
7f480ac571
Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
...
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
ebd3510b72
AGOS: Got rid of _masterVolume and replaced with _musicVolume and _sfxVolume so that music and sfx are separately controlled via the Options menu
...
svn-id: r33065
2008-07-14 22:10:04 +00:00
Bertrand Augereau
9c91f091ff
Register spilling avoided in AGOS background drawing (and 2x unrolling)
...
svn-id: r33062
2008-07-14 20:34:31 +00:00
Christopher Page
17ce8db211
Lure works with the new GMM implementation
...
svn-id: r32996
2008-07-10 22:34:48 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a4f56de13a
Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
...
svn-id: r32952
2008-07-07 22:34:45 +00:00
Christopher Page
e36166bda2
Added syncSoundSettings() to Engine, sound settings can now be modified from the global main menu for most engines
...
svn-id: r32815
2008-06-26 23:22:28 +00:00
Christopher Page
e53556af85
Fixed quitting from BASS intro, cleaned up comments in agos
...
svn-id: r32793
2008-06-26 00:50:16 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Christopher Page
23fc803dad
AGOS: Found a system->quit(), changed to _quit=true
...
svn-id: r32718
2008-06-16 17:34:58 +00:00
Christopher Page
ad99e9b249
AGOS: Fixed a memory leak in the AGOS engine
...
svn-id: r32679
2008-06-12 19:34:32 +00:00
Christopher Page
8297ead267
Merged revisions 32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32350
2008-05-28 20:30:20 +00:00
Travis Howell
942f838924
Add Max's patch for AGOSEngine::pauseEngineIntern().
...
svn-id: r32241
2008-05-24 01:17:04 +00:00
Chris Apers
1b69c18b56
Fixed PalmOS compilation
...
svn-id: r32223
2008-05-23 11:13:15 +00:00
Christopher Page
9e4115a3bf
AGOS: Fixed a memory leak from earlier in a better way
...
svn-id: r32219
2008-05-22 23:40:36 +00:00
Christopher Page
799fb932f4
AGOS: Fixed two memory leaks when returning to the launcher (_mouseData and _zoneBuffers)
...
svn-id: r32208
2008-05-21 18:52:27 +00:00