Johannes Schickel
34d43e3319
Applied my patch from -devel, which reenables GMM opening via F6.
...
svn-id: r34281
2008-09-02 13:27:26 +00:00
Max Horn
027ae0a6f6
First part of GSoC2008 RTL branch merge
...
svn-id: r34241
2008-09-01 17:30:03 +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
Christopher Page
a6e1d6bd3d
SKY works with the new GMM implementation, also updated gui/newgui.cpp and prevented pushEvent from pushing more than one EVENT_QUIT into the artificialEventQueue
...
svn-id: r33041
2008-07-13 20:41:39 +00:00
Christopher Page
67c8c39fdf
Queen works with the new GMM implementation, and made a correction to a change in parallaction
...
svn-id: r32999
2008-07-11 00:49:01 +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
a14a0d16c1
Changes to implementation of the GMM
...
svn-id: r32872
2008-07-02 00:30:49 +00:00
Christopher Page
d0dcc1ad79
Quit or RTL from the main menu now triggers an EVENT_QUIT in DefaultEventManager::pollEvent()
...
svn-id: r32813
2008-06-26 22:03:49 +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
Filippos Karapetis
0bdd409d4b
Remove double inclusion of config-manager.h
...
svn-id: r30951
2008-02-24 13:37:29 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Johannes Schickel
28ef622faa
Silence warning.
...
svn-id: r29087
2007-09-24 17:15:21 +00:00
Eugene Sandulenko
77eea722af
Modified patch #1738058 : "Action recorder".
...
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
a64b12bb03
Only invoke g_engine->pauseEngine if g_engine != NULL
...
svn-id: r27831
2007-07-01 18:22:25 +00:00
Max Horn
fed38a794f
Added Engine::pauseEngine method (allows outside code, like the backend, to pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine
...
svn-id: r27797
2007-06-30 18:22:21 +00:00
Max Horn
c7fa7baf1f
Added global support for the (so far undocumented) confirm_exit config key
...
svn-id: r27788
2007-06-30 12:43:53 +00:00
Max Horn
bd9ba26109
Modified version of patch #1740493 (EVENTS: Event Key Codes)
...
svn-id: r27592
2007-06-21 18:35:15 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4
Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
...
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.
Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.
svn-id: r26170
2007-03-17 15:44:26 +00:00
Max Horn
e72455c215
cleanup
...
svn-id: r26169
2007-03-17 14:34:50 +00:00
Max Horn
8fc8c4847d
Implemented a simple EventManager class
...
svn-id: r26154
2007-03-17 00:07:34 +00:00