Commit Graph
1262 Commits
Author SHA1 Message Date
Sven Hesse 8546ecab04 AGOS: Fix wrongly indented debugC() statement
GCC 6's -Wmisleading-indentation warns about the debugC() statement
being wrongly indented, as if belonging into the else's branch, which
it clearly doesn't.
2016-07-20 18:39:42 +02:00
Strangerke 93e0f8f03b AGOS: Fix uninitialized variables 2016-05-24 19:49:38 +02:00
Kirben e5ffd75330 AGOS: Fix potential buffer overflow. 2016-05-17 15:30:18 +10:00
Eugene Sandulenko ba8c9271cf AGOS: Safer string manipulation 2016-05-12 14:29:53 +02:00
Eugene Sandulenko d633a54526 AGOS: Added Russian Simon2 Talkie. Submitted by Dimouse 2016-04-16 23:39:38 +02:00
Ori Avtalion 5e49800901 AGOS: Reduce audio header dependencies 2016-04-14 16:48:02 +03:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Matthew Hoops aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops ec5df573cb AGOS: Mark the audio CD playback as emulate only 2016-03-13 13:53:26 +01:00
Johannes Schickel 0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko 23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Johannes Schickel 99c59cdeb2 AGOS: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Alexandre Detiste 6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel 37ec3978d6 AGOS: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Kirben 11c7d38e09 AGOS: Fix music looping in disk version of Simon1, a regression from svn 22907. 2015-07-24 20:34:52 +10:00
Johannes Schickel 757077fecc AGOS: Add simple volume control when Simon1 AdLib output is used. 2015-07-23 22:33:57 +02:00
Johannes Schickel cf42dc0a35 AGOS: Slight cleanup in Simon1 AdLib output initialization code. 2015-07-23 22:33:56 +02:00
Johannes Schickel 33c57c632c Revert "AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank"
This reverts commit 06addfc404.

We implement the actual Simon1 DOS AdLib driver now, thus this code is
obsolete.
2015-07-23 22:33:56 +02:00
Johannes Schickel 979a885ef9 AGOS: Add initial version of Simon1 DOS AdLib output.
Testing so far has not really happened. Only the first part of the intro has
been tested.
2015-07-23 22:33:56 +02:00
Max Horn 856475067a MISC: Remove some unused private member variables 2015-07-19 17:13:18 +02:00
Matthew Hoops bed9da8b9d AUDIO: Remove all AudioStream access to OPL 2015-07-07 20:19:47 -04:00
Matthew Hoops 0c5d40e94c AGOS: Use the built-in OPL timer 2015-07-07 20:19:45 -04:00
Matthew Hoops 2e8f9dcec9 AUDIO: Remove the sample rate configuration from the OPL code 2015-07-07 20:19:42 -04:00
Torbjörn Andersson cc46c92a8e AGOS: Remove unused field
Should have been removed in a4b8c6e054
but wasn't.
2015-07-07 00:32:54 +02:00
Kirben cf92118507 AGOS: Fix turning music on and off in Amiga versions. 2015-07-05 11:41:10 +10:00
Kirben a7fe40d3b1 AGOS: The sound effects in Simon the Sorcerer 1 (Floppy) are only meant for Adlib. 2015-07-05 11:20:39 +10:00
Kirben a4b8c6e054 AGOS: Revert 46d1c106ca:
AGOS: Give each MIDI track its own loop flag

Since the changes broke looping in Simon the Sorcerer 2.
2015-07-05 10:58:35 +10:00
Martin Kiewitz 96005c7da9 AUDIO: Miles Audio AdLib instrument stream support
- not using byte pointer + size and instead now a
  SeekableReadStream for factory
- adjusted ACCESS + AGOS engines accordingly
2015-07-04 12:55:49 +02:00
Martin Kiewitz 7753f2d516 AGOS: Simon 2: use common PKWARE data comp. lib
use PKWARE data compression library code from COMMON/
AdLib drivers will get changed to use streams too
2015-07-04 01:50:07 +02:00
Martin Kiewitz 870b33743f AGOS: Simon 2: extract MIDPAK.AD from SETUP.SHR
implements support for extracting MIDPAK.AD from SETUP.SHR
this way the user isn't required to install the game and can just
use the files copied from CD-ROM.
Files inside SETUP.SHR were compressed using PKWARE data compression
library.

PKWARE decompression code based on information released by
Ben Rudiak-Gould in comp.compression on 13.8.2001

Miles Audio support is still disabled atm
and has to be enabled manually
2015-07-03 21:02:13 +02:00
Martin Kiewitz 453a800754 AGOS: music: simplified music-mode code in open()
combined both Accolade + Miles Audio initial open() code
2015-07-03 01:09:36 +02:00
Martin Kiewitz 32c5c2f50f AGOS: disable Miles Audio for Simon 2
enabled it by accident in the last commit
2015-07-03 00:59:17 +02:00
Martin Kiewitz a4d3ad396c AGOS: Accolade music driver: fix memory leak
in factory
2015-07-03 00:57:25 +02:00
Martin Kiewitz bfa7d89500 AGOS: Accolade music: read driver data in factory
moved driver reading code into factory of both Accolade music drivers
2015-07-03 00:52:36 +02:00
Martin Kiewitz 710aeb380b AGOS: SIMON2: set nativeMT32, so mt32 tracks get
set _nativeMT32, so that the MT32 XMIDI track set is getting used
and not the general MIDI one for MT32 Miles Audio playback.
This should solve the MT32 music issues, although this needs
to get verified in detail.
2015-07-01 20:39:00 +02:00
Martin Kiewitz b38c161c18 AGOS: add Miles Audio support for simon 2
currently not enabled by default, because there are some
issues.
2015-07-01 12:40:16 +02:00
Torbjörn Andersson b57e9ae814 AGOS: Adjust indentation. 2015-06-30 18:54:10 +02:00
Kirben d48ccd357d AGOS: Fix bug #5986 - AGOS: Simon1 Amiga CD32 Verb Area missing. 2015-06-30 20:43:10 +10:00
Kirben 927ff67ce6 AGOS: List Infocom versions of Simon the Sorcerer 1 during detections. 2015-06-30 13:49:01 +10:00
Martin Kiewitz fe31e6a3f6 AGOS: Accolade AdLib: remove _ from reset-methods
remove "_" from reset-method-names
2015-06-27 19:05:59 +02:00
Martin Kiewitz 371d5e1d90 Merge branch 'master' of github.com:scummvm/scummvm 2015-06-21 11:20:01 +02:00
Martin Kiewitz 155d554183 AGOS: MidiParser_S1D: do proper skipping of SysEx
figured out the code that the original interpreters used to
skip over the header-SysEx
2015-06-21 11:19:28 +02:00
Kirben 2e8fd74548 AGOS: Allow digital sound effects file to be used in PC version of Elvira 2. 2015-06-21 19:14:54 +10:00
Martin Kiewitz 5f77bcc74c AGOS: Accolade MT32: General MIDI mapping
- renamed _MT32 to _nativeMT32
this name doesn't really make sense, because MUNT isn't a native
MT32, but the name is common to the other engines
- implement MT32 -> General MIDI mapping in case no MT32 is
available
- implement dialog screen, so that user is told about General MIDI
mapping and that it may sound awful
2015-06-21 10:06:12 +02:00
Martin Kiewitz 3f9c44c743 AGOS: Accolade AdLib/MT32 driver naming cleanup 2015-06-21 03:23:01 +02:00
Martin Kiewitz 01802eec5f AGOS: Accolade adlib driver: remove debug warning 2015-06-21 01:26:16 +02:00
Martin Kiewitz ac505b5c71 AGOS: Elvira 2 MUSIC.DRV variant comment added 2015-06-21 01:22:57 +02:00
Martin Kiewitz 69436f6c41 AGOS: Elvira 2 seems to use MUSIC.DRV variant
- Kirben told me that Elvira 2 is shipped with MUSIC.DRV and
INSTR.DAT file. Using MUSIC.DRV file makes the music work properly
I couldn't check, b/c I own none of these games.

- also commented out implemented bug of INSTR.DAT/MUSIC.DRV
This bug only affected the adlib drivers, so I guess we should
rather fix it instead of implementing the same buggy behavior
2015-06-21 01:20:21 +02:00
Martin Kiewitz d24c68c739 AGOS: implement Accolade AdLib + MT32 music drivers
- both known variants are supported (INSTR.DAT + MUSIC.DRV)
- INSTR.DAT/MUSIC.DRV holds channel mapping, instrument mapping, etc.
- fixed bug inside S1D MidiParser, that ruined some instrument changes
0xFC header was seen as 2 byte header, but it's 4 bytes in Elvira 2
and 5 bytes in Waxworks / Simon 1 demo
- dynamic channel allocation for the MUSIC.DRV adlib driver is not
implemented atm, simply because at least the demos of Waxworks and
Simon 1 do not use this feature
- sound effects of Waxworks are not implemented atm
- note: the game "Altered Destiny" uses Accolade INSTR.DAT variant too
2015-06-21 00:45:45 +02:00
Kirben 06addfc404 AGOS: Add updated patch for #647 - Simon 1 DOS Adlib instrument bank 2015-05-26 13:23:20 +10:00