Commit Graph

56 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
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
Travis Howell
4d51eb5fb7 Add work around for script bug in The Feeble Files.
svn-id: r31260
2008-03-27 01:01:52 +00:00
Travis Howell
d9f28974ef Add alternative hack to main branch, to skip largest speech segment in Simon the Sorcerer 1, when using DS port.
svn-id: r30001
2007-12-26 01:28:03 +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
a6210289f5 AGOS code cleanup
svn-id: r27794
2007-06-30 17:34:49 +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
ab9b9a1bf3 Cleanup, could cause regressions.
svn-id: r27547
2007-06-19 11:50:22 +00:00
Travis Howell
2d2bda501e Fix timer code in Puzzle Pack, to match original speed.
svn-id: r27275
2007-06-10 04:14:53 +00:00
Travis Howell
27083f8fb4 Fix loading and saving game through the options screen in Amiga CD32 version of Simon the Sorcerer 1.
svn-id: r27097
2007-06-05 06:04:07 +00:00
Travis Howell
64413f9cc8 Only call MIDI code, in games which use MIDI based music.
svn-id: r27080
2007-06-04 14:25:02 +00:00
Travis Howell
c983e879e1 Fix regressions, caused by VGATimerEntry type changes.
svn-id: r27044
2007-06-01 23:12:22 +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
b6672f37a9 Fix bugs #941074 and #828860, by switching to graphics renderer code used by earlier (non-Windows) versions of Simon the Sorcerer 1/2.
svn-id: r26825
2007-05-13 08:46:48 +00:00
Travis Howell
5668e15b2e Update reporting of invalid script opcodes.
svn-id: r26501
2007-04-15 14:32:58 +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
b8bbe1b5fe Update copy protection bypass for Simon 1/2.
svn-id: r25809
2007-02-23 11:12:12 +00:00
Travis Howell
47280b3301 Fix bug #1600999 - SIMON2: Crash while talking to Bingo Bongo. A regression due to the work around for extra long strings been broken, when support for the Feeble Files was added in the past.
svn-id: r25807
2007-02-23 10:18:14 +00:00
Travis Howell
76ac2263f9 Remove Amiga OCS specific code for copy protection screen in Simon 1, since it no longer required.
svn-id: r25761
2007-02-21 12:33:34 +00:00
Travis Howell
29ada82134 Bypass the copy protection screens in floppy disk releases of Simon the Sorcerer 1 and 2, with permission from Adventure Soft.
svn-id: r25760
2007-02-21 11:46:35 +00:00
Travis Howell
affcd0f808 Update work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25513
2007-02-12 07:03:41 +00:00
Travis Howell
45692d4323 Add work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25510
2007-02-12 05:16:03 +00:00
Travis Howell
bfd3d872b8 Adjust random opcode for Amiga versions of Simon the Sorcerer 1.
svn-id: r25507
2007-02-12 04:23:10 +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
1b926fee10 Add inherit code for earlier games
svn-id: r24640
2006-11-06 14:28:19 +00:00
Travis Howell
415ec67056 Cleanup
svn-id: r24639
2006-11-06 13:59:11 +00:00
Travis Howell
a1a5c9b38a The clear timers script only exists in Simon1
svn-id: r24630
2006-11-06 01:14:26 +00:00
Travis Howell
dfd57406ff Fix sign issues, that caused combat issues in Elvira 1
svn-id: r24553
2006-10-28 12:33:49 +00:00
Travis Howell
9f85511537 Cleanup
svn-id: r24533
2006-10-27 13:28:32 +00:00
Travis Howell
f1accee702 Cleanup
svn-id: r24531
2006-10-27 12:55:48 +00:00
Travis Howell
7d71b6d109 Cleanup
svn-id: r24527
2006-10-27 11:04:05 +00:00
Travis Howell
9bab66a53a Script 160 is only used when clearing timers in Simon 1/2
svn-id: r24526
2006-10-27 10:43:48 +00:00
Travis Howell
227157ccdc Update comments
svn-id: r24502
2006-10-25 13:45:57 +00:00
Travis Howell
05fd51d036 Cleanup
svn-id: r24501
2006-10-25 13:38:35 +00:00
Travis Howell
2f422f56cd Remove unused script code
svn-id: r24499
2006-10-25 11:41:36 +00:00
Travis Howell
15915e805d Remove unused script opcodes
svn-id: r24495
2006-10-25 10:20:17 +00:00
Travis Howell
91f7477d74 Ooops, correct typo
svn-id: r24427
2006-10-22 00:58:55 +00:00
Travis Howell
bce0a11065 Add extra picture opcode code for ELvira 1/2
svn-id: r24426
2006-10-22 00:55:17 +00:00
Travis Howell
399f8381a9 Cleanup
svn-id: r24397
2006-10-21 01:51:59 +00:00
Travis Howell
4e859bb26e Cleanup
svn-id: r24396
2006-10-21 00:51:32 +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