Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Paul Gilbert
53783575d8
Bugfix for player blocking room entrance causing NPCs trying to enter getting an excessive number of action entries
...
svn-id: r42676
2009-07-23 10:49:30 +00:00
Max Horn
cbea1a1193
Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
...
svn-id: r42054
2009-07-03 10:40:49 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Paul Gilbert
f8963cf550
Disable GMM Save/Loading when a cut-scene is playing
...
svn-id: r36165
2009-01-31 12:26:44 +00:00
Paul Gilbert
e2baabcab9
Enabled runtime save/loading from the GMM menu, and fixed launcher listing of savegames
...
svn-id: r36164
2009-01-31 12:15:21 +00:00
Paul Gilbert
13c7397837
Bugfix to properly have one NPC character move out of the way when two NPCs bump into each other
...
svn-id: r36153
2009-01-31 01:58:10 +00:00
Paul Gilbert
26210ad976
Bugfix to stop characters changing rooms if the entrance in the other room is blocked by another NPC
...
svn-id: r36144
2009-01-30 12:22:30 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Paul Gilbert
8315753dda
Bugfix to allow characters to start moving when some other object (such as a door) has marked part of the area the character is standing on as occupied
...
svn-id: r36120
2009-01-28 10:27:14 +00:00
Paul Gilbert
6ef26264f4
Added a debug subcommand to enable a hotspot's position to be changed
...
svn-id: r36095
2009-01-27 10:27:07 +00:00
Paul Gilbert
52df26d4b2
Implemented the Engine::getDebugger method
...
svn-id: r36068
2009-01-26 06:53:23 +00:00
Paul Gilbert
b3a7e53794
Bugfix for #2480853 - Skorl doesn't follow Minnow into Cellar
...
svn-id: r35695
2009-01-03 11:35:00 +00:00
Paul Gilbert
0a8541cc0a
Bugfix for #2480857 - Additionally savegames were crashing ScummVM
...
svn-id: r35694
2009-01-03 10:44:43 +00:00
Paul Gilbert
a45e25620d
Changed the debugger 'schedule' command to be able to list the schedule, even for currently disabled NPCs
...
svn-id: r35693
2009-01-03 10:43:07 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Johannes Schickel
2ef8a32a01
Fixed various g++ warnings ("format not a string literal and no format arguments").
...
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +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
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
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
Paul Gilbert
b9a0e32c3c
Changed NPC schedules to be loaded when an NPC is activated - this avoids an issue with the Castle Skorl's pre-activation room number being invalid room #99
...
svn-id: r34748
2008-10-05 10:25:35 +00:00
Paul Gilbert
8706081b82
Bugfix to prevent NPC characters managing to walk beyond room exits without leaving the room, and thus getting stuck
...
svn-id: r34737
2008-10-04 11:10:25 +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
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
0a35842954
Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
...
svn-id: r34495
2008-09-11 19:47:45 +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
Max Horn
10a8cdee39
Merging more of the GSoC 2008 RTL branch: LURE
...
svn-id: r34251
2008-09-01 20:18:17 +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
9d3cdcb2da
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
...
svn-id: r33909
2008-08-15 18:15:14 +00:00
Christopher Page
e30d16ddc2
Fixed more warnings
...
svn-id: r33649
2008-08-05 21:56:45 +00:00
Christopher Page
dac805c281
Added -x and --list-saves support for LURE
...
svn-id: r33291
2008-07-25 19:41:17 +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
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
7ecd54a9da
Reverted some incorrect changes and fixed sound settings issues for LURE. Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM.
...
svn-id: r33081
2008-07-15 22:54:39 +00:00
Paul Gilbert
eaeb1587f4
Fix for missing data in the savegame format that could result in not being able to talk to Goewin in the apothecary after restoring a savegame
...
svn-id: r33057
2008-07-14 10:33:57 +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
113aa1e77f
LURE: Made sure to lock _soundMutex in syncSounds()
...
svn-id: r32934
2008-07-07 03:30:34 +00:00
Christopher Page
563e28b668
Fixed some warnings
...
svn-id: r32857
2008-06-30 23:06:38 +00:00
Christopher Page
c1ae3f7dd0
Sound settings for Lure can be modified through the GMM
...
svn-id: r32855
2008-06-30 22:41:55 +00:00
Christopher Page
6e3474896c
Kyra and Lure are now using the new _quit flag
...
svn-id: r32772
2008-06-25 00:55:18 +00:00