Commit Graph
84 Commits
Author SHA1 Message Date
Coen Rampen 1f19bf2d31 AGOS: Improve sound pausing and volume management
MIDI music is now paused by pausing the parser(s) instead of relying on the
mixer streams to stop providing callbacks. This gives more consistent behavior
as external MIDI devices or softsynths now also pause playback.

Muting sound now sets the volume to 0 instead of pausing playback.
2022-05-09 17:19:42 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 8c81b5026a AGOS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
athrxx cac259ba26 AGOS: (ELVIRA2) - fix mouse wheel handling
- Fix messed up inventory (bug no. 11998) caused by the asynchronous (outsize of the normal engine) handling of the mouse wheel. This often lead to wrong inventory item icons.

- Also prevent crash due to nullptr deref. This can happen when using the mouse wheel while the inventory items are not visible (e. g. during the copy protection, when the symbol and words for the code wheel are displayed in the inventory window).
2021-04-17 04:23:27 +02:00
athrxx 77b316ef58 AGOS: (ELVIRA) - block mouse wheel during save/load/pause dialog
I assume that this happens accidently, since the mouse wheel was never supported by the original. Currently, you can still scroll the inventory using the mouse wheel when a save/load/pause dialog is open. It causes a text glitch in the PC-98 version. Instead of just fixing that glitch I've decided to fix the underlying bug (limited to Elvira 1 though; no idea what the behavior is in the other games).
2021-01-22 00:47:59 +01:00
Ori Avtalion 5e49800901 AGOS: Reduce audio header dependencies 2016-04-14 16:48:02 +03:00
Kirben cf92118507 AGOS: Fix turning music on and off in Amiga versions. 2015-07-05 11:41:10 +10:00
Filippos Karapetis 2621d22cb7 AGOS: Remove trailing whitespace 2014-10-28 16:04:52 +02:00
Kirben ac26163f4d AGOS: Fix scroll wheel glitch in Simon the Sorcerer 1. 2014-03-11 19:37:52 +11:00
Kirben 32fdb194c7 AGOS: Fix scroll wheel glitch in The Feeble Files. 2014-03-04 17:10:11 +11:00
Kirben 7cc8d4184a AGOS: Disable mouse scroll in Puzzle Pack games. 2014-03-04 17:04:03 +11:00
Kirben ec0f420299 AGOS: Add mouse wheel support for The Feeble Files. 2014-03-04 11:20:01 +11:00
Kirben 83b32010b3 AGOS: Add initial support for mouse wheel. 2014-03-02 22:19:32 +11:00
Johannes Schickel c4fc0cee96 AGOS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Eugene Sandulenko 6e795a89b0 AGOS: Reduced header dependency 2011-08-06 11:28:40 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
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