aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/event.cpp
AgeCommit message (Collapse)Author
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_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-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
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-07Implemented Common::EventManager::pushEvent() to insert fake events into the ↵Christopher Page
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-05-20AGOS Engine: Began implementation for a new quit event which will cleanly ↵Christopher Page
return to the launcher. This replaces the old shutdown() method within delay() svn-id: r32203
2008-04-16Cleanup.Travis Howell
svn-id: r31512
2007-12-20Moved all time() calls in AGOS to a single new method AGOSEngine::getTime(); ↵Max Horn
also replaced an evil function-static variable by a member variable (lastMinute) svn-id: r29908
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-30Changed AGOS to use full KeyState, not just ascii value, in key eventsMax Horn
svn-id: r27800
2007-06-22Use KEYCODE constants.Torbjörn Andersson
svn-id: r27599
2007-06-21Minor cleanup.Travis Howell
svn-id: r27580
2007-06-21Use frameBuffer directly, in order to drop extra buffer (frontBuffer) and ↵Travis Howell
cleanup code. svn-id: r27577
2007-06-10Restore DIMP specific timer code.Travis Howell
svn-id: r27277
2007-06-10Fix timer code in Puzzle Pack, to match original speed.Travis Howell
svn-id: r27275
2007-06-08Fix load/save interface in Elvira 1.Travis Howell
svn-id: r27191
2007-06-05Add option to dump all subrountines in a game, to help with bug reports.Travis Howell
svn-id: r27104
2007-06-05Fix input issues in earlier games, and split handleMouseMoved() due to ↵Travis Howell
difference in earlier games. svn-id: r27103
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-28Fix glitches caused by interface differences in the AtariST verison of Elvira 2.Travis Howell
svn-id: r26988
2007-05-26Add code for opcodes 177/178 in Elvira 2.Travis Howell
svn-id: r26937
2007-05-22Add load/save interface support for Elvira 2 and Waxworks.Travis Howell
svn-id: r26909
2007-05-17Cleanup.Travis Howell
svn-id: r26858
2007-05-16Add idle code for DIMP.Travis Howell
svn-id: r26848
2007-05-13Cleanup.Travis Howell
svn-id: r26833
2007-05-13Rename a few variables.Travis Howell
svn-id: r26827
2007-05-13Fix bugs #941074 and #828860, by switching to graphics renderer code used by ↵Travis Howell
earlier (non-Windows) versions of Simon the Sorcerer 1/2. svn-id: r26825
2007-05-10Fix glitches in pause options of Elvira 1.Travis Howell
svn-id: r26796
2007-05-09Imrproved support for Elvira 1/2 and Waxworks.Travis Howell
svn-id: r26792
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2007-03-18Changed AGOS to use the EventManager to track the mouse position; added a ↵Max Horn
FIXME comment about _mouseOld never being set svn-id: r26206
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
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-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-02-16Add support for using soundtrack from the Simon the Sorcerer 1 - Music ↵Travis Howell
Enhancement Project. svn-id: r25632
2007-01-01At Kirben's request, I've applied my old keyboard repeat patch for the AGOSTorbjörn Andersson
engine. Swampy's Adventures really needs it, and the more generic solution to keyboard repeat is apparently stalled. svn-id: r24964
2006-10-28Remove vga opcodes which are never used by gamesTravis Howell
svn-id: r24557
2006-10-22Add drag support for items in Elvira 1/2 and WWTravis Howell
svn-id: r24436
2006-10-21CleanupTravis Howell
svn-id: r24397
2006-10-13Add differences in opcode table for Elvira 2 and cleanupTravis Howell
svn-id: r24294
2006-10-11CleanupTravis Howell
svn-id: r24282
2006-10-03Remove blocks/tiles related code for PP, which was only required by ↵Travis Howell
unreleased game svn-id: r24092
2006-10-02Fix changing map areas in swampyTravis Howell
svn-id: r24062
2006-10-02Add last tiles code and corrections for SwampyTravis Howell
svn-id: r24061
2006-10-02Add more tiles code for SwampyTravis Howell
svn-id: r24058
2006-10-01Update vga timer code to match original PPTravis Howell
svn-id: r24052
2006-09-30Add debug output, to find triggers for PP functionsTravis Howell
svn-id: r24037
2006-09-30Ooops, another mistake in isVgaQueueEmpty()Travis Howell
svn-id: r24033
2006-09-30Ooops, increase count in isVgaQueueEmpty()Travis Howell
svn-id: r24032
2006-09-30Add code for isVgaQueueEmpty() in PPTravis Howell
svn-id: r24031
2006-09-30Enable more code in oops functions of PPTravis Howell
svn-id: r24030