Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
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
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
ca76ef4e1f AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher. This replaces the old shutdown() method within delay()
svn-id: r32203
2008-05-20 21:40:53 +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
f445d8c800 Changed AGOS to use full KeyState, not just ascii value, in key events
svn-id: r27800
2007-06-30 22:21:29 +00:00
Max Horn
206d167457 AGOS: Introduced ChildType enum
svn-id: r27792
2007-06-30 16:25:59 +00:00
Travis Howell
00829f15c8 Minor cleanup.
svn-id: r27580
2007-06-21 06:37:00 +00:00
Travis Howell
741aed5047 Fix crash via assert, when string for subtitles exists, but is only set to zero.
svn-id: r27270
2007-06-10 01:16:29 +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
Travis Howell
73749ddafa Minor cleanup.
svn-id: r26845
2007-05-15 13:01:36 +00:00
Travis Howell
48c21a1e31 Add eriktorbjorn's patch to split script opcodes into specific game engines.
svn-id: r26490
2007-04-15 12:04:47 +00:00
Travis Howell
2d3e77db85 Split game engines, to allow further cleanups.
svn-id: r26481
2007-04-15 05:04:48 +00:00
Travis Howell
1c00843f2b Cleanup.
svn-id: r26480
2007-04-15 00:55:16 +00:00
Max Horn
2d2b3d0ed2 Renamed AGOSEngine::midi to AGOSEngine::_midi
svn-id: r26468
2007-04-14 12:03:46 +00:00
Kostas Nakos
c1a735dee5 re-added missing wince #include; got deleted suring the simon -> agos transition
svn-id: r25515
2007-02-12 09:05:52 +00:00
Travis Howell
f55320f988 Add inital pause code for Elvira 1/2 & WW, and cleanup
svn-id: r24723
2006-11-15 13:11:53 +00:00
Travis Howell
415ec67056 Cleanup
svn-id: r24639
2006-11-06 13:59:11 +00:00
Travis Howell
94f1aab61a Music is disabled when under water in Elvira 1
svn-id: r24619
2006-11-05 01:43:29 +00:00
Travis Howell
05fd51d036 Cleanup
svn-id: r24501
2006-10-25 13:38:35 +00:00
Travis Howell
872a708c4e Add system includes
svn-id: r24428
2006-10-22 01:05:14 +00:00
Travis Howell
ff574a63ee Split code into more specific files and cleanup
svn-id: r24394
2006-10-20 02:10:51 +00:00
Travis Howell
e26954bcdb Split script opcode tables up into more specifics
svn-id: r24393
2006-10-19 23:57:54 +00:00
Travis Howell
d75901b832 Split game specific script opcodes into separate files
svn-id: r24389
2006-10-19 11:40:26 +00:00