Commit Graph

68 Commits

Author SHA1 Message Date
Johannes Schickel
97870a220d AGOS: Make the "m" hotkey respect the mute setting.
svn-id: r51102
2010-07-21 20:12:57 +00:00
Torbjörn Andersson
dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Andre Heider
ca7b4db0ae Removed duplicated functions.
svn-id: r43314
2009-08-12 07:37:45 +00:00
Travis Howell
8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Max Horn
24e18ae215 AGOS: Fixed backspace under OS X in Personal Nightmare
svn-id: r42591
2009-07-18 15:11:19 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Travis Howell
bb4b2a5060 Fix input glitch regression again, by closer matching original PN code.
svn-id: r40329
2009-05-05 13:40:16 +00:00
Travis Howell
f4cb6a0b0a Fix input glitch regression, when examing items in PN.
svn-id: r40328
2009-05-05 12:47:37 +00:00
Travis Howell
2f453cf852 Fix regression in handling of keyboard keys.
svn-id: r40111
2009-04-24 13:59:21 +00:00
Travis Howell
4cf0f0a9a5 Enable the arrow keys in Elvira 1/2.
svn-id: r40024
2009-04-20 10:07:18 +00:00
Travis Howell
93deecccef Minor cleanup.
svn-id: r39259
2009-03-09 04:16:27 +00:00
Travis Howell
269754759f Changed _inputting & _inputReady from uint8 to bool.
svn-id: r39258
2009-03-09 03:58:18 +00:00
Max Horn
563d76d342 AGOS: Changed _leftButtonDown & _rightButtonDown from byte to int
svn-id: r39256
2009-03-09 03:45:33 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Travis Howell
d16b4ef949 Switch pause key to Pause in AGOS engine, and drop the debug keys.
svn-id: r39153
2009-03-06 09:22:03 +00:00
Travis Howell
030f8b2e4a The background sounds option, only applies to Simon the Sorcerer 2.
svn-id: r38518
2009-02-19 00:08:35 +00:00
Travis Howell
2ada930eec Fix bug #2583230 - Waxworks: Can't drag and drop items.
svn-id: r36261
2009-02-11 12:24:38 +00:00
Travis Howell
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
b2332744e4 Cleanup.
svn-id: r36228
2009-02-07 01:11:51 +00:00
Max Horn
ca730e8f7e Allow quitting Simon 2 during the intro
svn-id: r36082
2009-01-27 00:38:56 +00:00
Travis Howell
a1fdbb8695 Fix regression, that caused text to be cut short in Elvira 1/2.
svn-id: r35327
2008-12-13 04:52:51 +00:00
Travis Howell
de8dedf3c3 Add missing break to processSpecialKeys().
svn-id: r34843
2008-10-23 00:26:45 +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
Christopher Page
d370c8eedd Agos volume levels changed by the keyboard correspond now sync with the config manager
svn-id: r33954
2008-08-16 22:42:19 +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
ebd3510b72 AGOS: Got rid of _masterVolume and replaced with _musicVolume and _sfxVolume so that music and sfx are separately controlled via the Options menu
svn-id: r33065
2008-07-14 22:10:04 +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
47ad2487b4 Fix name locking in Waxworks, and cleanup.
svn-id: r31229
2008-03-23 23:18:43 +00:00
Max Horn
f44a196087 Moved all time() calls in AGOS to a single new method AGOSEngine::getTime(); also replaced an evil function-static variable by a member variable (lastMinute)
svn-id: r29908
2007-12-20 09:43:46 +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
Travis Howell
f4fb06845c Fix regression, the incorrect key was been used for highlighting items in Simon the Sorcerer 1/2.
svn-id: r28179
2007-07-23 12:32:08 +00:00
Travis Howell
3f82a451ef Add cases for using '-' and '+' keys on the keypad too.
svn-id: r27841
2007-07-01 23:45:15 +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
Travis Howell
ab9b9a1bf3 Cleanup, could cause regressions.
svn-id: r27547
2007-06-19 11:50:22 +00:00
Travis Howell
3cd6c3c275 Fix toggling music on/off in games, when using non-MIDI music.
svn-id: r27282
2007-06-10 05:43:56 +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
f0acfc0a28 Limit MIDI driver, to games using MIDI music only.
svn-id: r27158
2007-06-07 02:43:03 +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
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
d4191508f6 Cleanup.
svn-id: r26858
2007-05-17 09:00:14 +00:00
Travis Howell
565d0d0a7d Add code to slowing kill the demon in DIMP.
svn-id: r26857
2007-05-17 07:23:56 +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
20bf83a2ce Imrproved support for Elvira 1/2 and Waxworks.
svn-id: r26792
2007-05-09 15:36:05 +00:00