aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2008-08-13Fixed initialization of some SoundMgr-class's member variables. Moved ↵Kari Salminen
_sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game. svn-id: r33822
2008-08-13Reverted r33815 (But not r33816).Kari Salminen
svn-id: r33819
2008-08-13Shutting up Valgrind about using uninitialised values from array _chn in ↵Kari Salminen
function stopNote. svn-id: r33816
2008-08-13Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. ↵Kari Salminen
Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game. svn-id: r33815
2008-06-11Merged revisions ↵Christopher Page
32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32667
2008-06-11No need to specify CaseSensitiveString_Hash explicitly anymoreMax Horn
svn-id: r32663
2008-05-27AGI: Modified AGI Engine to shutdown without using system->quitChristopher Page
svn-id: r32329
2008-05-24AGI: Fixed two memory leaks when returning to launcher from AGI EngineChristopher Page
svn-id: r32236
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-04-29Update AGI timers while waiting for a key to be pressed (e.g. when showing ↵Filippos Karapetis
blocking text windows). Fixes bugs #1935909 and #1943872 svn-id: r31777
2008-04-29Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost ↵Filippos Karapetis
on restart" svn-id: r31776
2008-04-22Fix initialization of Apple //gs soundEugene Sandulenko
svn-id: r31659
2008-04-21Fix timing in Apple IIGS MIDI parsing. Now sounds should get triggered at ↵Kari Salminen
the correct times without the previously observed time jitter effect. svn-id: r31636
2008-04-20Add another verions of fanmade game Kings Quest 2 1/4 mentioned inEugene Sandulenko
bugreport #1947051: "AGI: Kings Quest 2 1/4 - Unknown version" svn-id: r31629
2008-04-17Tiny cleanup: Fix a parameter name discrepancy between ↵Kari Salminen
IIgsChannelInfo::noteOn-function's declaration and definition introduced in r31550. svn-id: r31553
2008-04-17Fixed gcc warnings.Johannes Schickel
svn-id: r31550
2008-04-17Fix building with GCC (a few extra ;'s got in there somehow).John Willis
svn-id: r31545
2008-04-17Implemented Apple IIGS MIDI playing with software mixing.Kari Salminen
(NOTE: As you can hear this is a work in progress ;-)) - Added IIgsSoundMgr class for handling Apple IIGS sounds and moved functionality inside it - Added IIgsMidiChannel class for handling Apple IIGS MIDI channels - Made sound effects playing use the IIgsSoundMgr class too - Modified software mixing routine to mix multiple sounds svn-id: r31544
2008-04-15Make convertWave-function static as it uses no member variables.Kari Salminen
svn-id: r31510
2008-04-15Cleanup (Remove unneeded functions and rename a struct correctly).Kari Salminen
svn-id: r31509
2008-04-15Move MIDI program change mappings to their own structs (Useful for later ↵Kari Salminen
changes). svn-id: r31508
2008-04-12Fix a couple of typos spotted by Raziel.Kari Salminen
svn-id: r31487
2008-04-11Show current text prompt when the accept_input opcode is called. This, ↵Filippos Karapetis
together with commit #31477 fix bugs #1875076 - "AGI GR: Input prompt not changing in outhouse" and #1939632 - "SQ2: Text prompt glitch" svn-id: r31485
2008-04-10Initial attempt at handling non-default AGI game input promptFilippos Karapetis
svn-id: r31477
2008-04-10Allow the predictive dialog to be shown when ego cannot be moved (i.e. when ↵Filippos Karapetis
_game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page" svn-id: r31462
2008-04-09Fixed warnings for msvc9.Johannes Schickel
svn-id: r31460
2008-04-09Fixed an off-by one error in the AGI set_menu opcode. Fixes bug #1935896 - ↵Filippos Karapetis
"AGI: Fan(Beyond Titanic 2) - Assertion" svn-id: r31457
2008-04-08Implement the full range of Apple IIGS MIDI program number to instrument ↵Kari Salminen
mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array. svn-id: r31451
2008-04-08Added a sanity check for original game script bugs in Agent06. Fixes bugs ↵Filippos Karapetis
#1935842 - "AGI: Fan(Agent06) - Graphic errors" and #1935838 - "AGI: Fan(Agent06) - Crash on Quit" svn-id: r31449
2008-04-05Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, ↵Max Horn
kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default) svn-id: r31413
2008-04-03Add Apple IIGS MIDI program number to instrument number mappings (Both for ↵Kari Salminen
the older instrument set used by SQ1 only and for the newer instrument set used by all the other tested Apple IIGS games). svn-id: r31371
2008-04-03After further testing it seems Apple IIGS midi playing speed is actually 60 ↵Kari Salminen
ticks per second. Hurrah! svn-id: r31367
2008-04-03Fix naming of the Apple IIGS midi speed variable and its value (Was ↵Kari Salminen
erronously named bpm although was really ticks per second rather than ticks per minute). svn-id: r31366
2008-04-03Fix Apple IIGS midi playing speed (Based on tests with Apple IIGS KQ1 and ↵Kari Salminen
SQ1 under MESS 0.124a) svn-id: r31365
2008-04-01Add detection entry for Serguei's Destiny II Demo v1.3.1 (March 22nd 2008).Kari Salminen
svn-id: r31346
2008-03-30Removed char &operator [] from class String -- it had the potential to wreak ↵Max Horn
havoc when used on shared strings (thanks to tramboi for pointing this out) svn-id: r31334
2008-03-28Added FIXME comment regarding sorting of pred.dic; replaced weird binary ↵Max Horn
search code with simple binary search code ;-) svn-id: r31291
2008-03-15Got rid of EncapsulatedADGameDescMax Horn
svn-id: r31130
2008-03-14Started to get rid of Common::EncapsulatedADGameDesc (using plain ↵Max Horn
Common::ADGameDescription instead) svn-id: r31121
2008-03-14Advanced Detector: Changed fallback detector from a callback function ↵Max Horn
pointer to an overrideable method of AdvancedMetaEngine svn-id: r31119
2008-02-22Fixed some issues with the previous commit, bug #1893564 should be fixed now ↵Filippos Karapetis
without affecting anything else svn-id: r30917
2008-02-22Fix for bug #1893564 - "AGI: Texts messed out in Naturette 1"Filippos Karapetis
svn-id: r30916
2008-02-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2008-02-13Fix for bug #1883989 (AGI: Jolimie freezes). Game's detection entry had its ↵Kari Salminen
parameters in wrong order and game feature flags were interpreted as the AGI version number and vice versa... whoops. svn-id: r30857
2008-02-12Tiny fix to autodetected game's naming (Removes an extra space).Kari Salminen
svn-id: r30854
2008-02-12Added better AGIPAL autodetect to the AGI's fallback detector (Now checks ↵Kari Salminen
files 'pal.100' - 'pal.109' rather than just the file 'pal.101'). svn-id: r30852
2008-02-08Initial support for plugin typesJordi Vilalta Prat
svn-id: r30825
2008-02-03Revised Engine plugin API to only provide a single func which returns a ↵Max Horn
MetaEngine instance. Used this to simplify the rest of the plugin system svn-id: r30780
2008-02-03Changed "COMPATIBLITY" to "COMPATIBILITY".Torbjörn Andersson
svn-id: r30754