Le Philousophe
429afa3a34
AGOS: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Coen Rampen
0fafb0ee19
AGOS: Fix Waxworks crash when playing digital SFX
...
Waxworks DOS has both digital and limited MIDI SFX. The game scripts use two
different opcodes for trigging digital and MIDI SFX; if a sound effect has both
a digital and a MIDI version, both opcodes are triggered. When digital SFX are
active, ScummVM would try to handle both the digital and the MIDI opcode by
playing a digital SFX. This would crash the game if the MIDI SFX ID was invalid
as a digital SFX ID. Strangely enough, this bug also seems to affect the Amiga
version. Apparently both opcodes are still in the scripts of this version, even
though it does not support MIDI at all AFAIK.
This commit fixes the issue by only playing the MIDI SFX if digital SFX are
turned off and ignoring them otherwise.
2022-08-05 22:16:43 +02:00
Coen Rampen
66bb075f1c
AGOS: Add E2/WW AdLib and MT-32 SFX and enhancements
...
This adds support for the AdLib and MT-32 sound effects in Elvira 2 and
Waxworks. It adds an option to the UI to toggle between sampled and
synthesized SFX. It also adds the following enhancements:
- AdLib OPL3 mode for Elvira 2, Waxworks and Simon 1 floppy demo. This can be
selected using a new UI option.
- Mixed AdLib/MIDI mode for Elvira 2 and Waxworks.
- Implemented "monophonic chords", a feature of the original MIDI code which
would play only the highest note of a chord on AdLib. Most noticable in the
Waxworks music.
- Added UI option to select Simon 1 DOS music tempos.
- Rewrite of the AdLib and MT-32 drivers to remove duplication and make use of
features of the standard multisource drivers.
- Refactored MidiPlayer to standardize interface and remove code moved to the
drivers and parsers.
2022-05-09 17:19:44 +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
Mathias Parnaudeau
8b816cf0ea
AGOS: Fix format-overflow warnings
...
Slightly increase the destination buffer to satisfy the theorical
copy of 5 characters for a 16-bit value.
2021-04-27 04:00:01 +01:00
sluicebox
93eeffc84d
JANITORIAL: Update old bug tracker numbers
2021-03-03 02:15:05 +02:00
Cameron Cawley
bcef809e61
WINCE: Fix compilation
2019-04-15 08:06:39 +03:00
Ori Avtalion
5e49800901
AGOS: Reduce audio header dependencies
2016-04-14 16:48:02 +03:00
Johannes Schickel
c4fc0cee96
AGOS: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
Travis Howell
d50e34c1bd
AGOS: Expand fix for bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction.
2012-04-02 23:08:31 +10:00
Travis Howell
2388477355
AGOS: Fix bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction.
2012-04-01 11:15:10 +10:00
Johannes Schickel
5a1f75eae3
AGOS: Slight cleanup.
...
Now AgosEngine::_language is of type Common::Language instead of uint16. It is
currently only used with values of that enumeration, thus it should be safe to
use that type for it too.
2011-08-20 19:30:18 +02:00
Eugene Sandulenko
52147dc0c0
AGOS: Switched pause dialog to getLanguageKeyYes usage
2011-08-20 12:52:34 +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
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
2b62f6bec3
AGOS: Adapt to setPalette RGBA->RGB change.
...
I only (minimally) tested this change with Simon 1 + 2 DOS CD.
2011-02-15 23:22:30 +01:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Ori Avtalion
2fc9d6845b
Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
...
svn-id: r48645
2010-04-12 21:21:06 +00:00
Max Horn
e270da88a6
AGOS: cleanup
...
svn-id: r47451
2010-01-22 23:58:24 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Travis Howell
227f4a575f
Simplify fade code.
...
svn-id: r42654
2009-07-22 09:52:44 +00:00
Travis Howell
56189fcf30
Clarify several errors messages.
...
svn-id: r39219
2009-03-08 10:08:09 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +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
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