aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
AgeCommit message (Collapse)Author
2008-08-25Fix for bug #2073159 - "MICKEY: Incomplete computer message".Filippos Karapetis
Random numbers are calculated from 1 onwards in the preAGI engines, but there was an off-by one error. I'm currently hesitant to add this fix to the 0.12.0 branch, as I'm unsure if it has any possible regressions in Troll's Tale or Winnie the Pooh svn-id: r34152
2008-08-16Merged revisions ↵Christopher Page
33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33924
2008-08-16Added a MetaEngineFeature for RTL support, the RTL button is disabled in the ↵Christopher Page
GMM if the engine doesn't support it svn-id: r33921
2008-08-15Defined some MetaEngineFeatures for the engines, the launcher uses these ↵Christopher Page
features to allow/disallow loading and deleting saves svn-id: r33909
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-08-10Added Autosave support for AGIChristopher Page
svn-id: r33772
2008-08-05Fixed some GCC warningsChristopher Page
svn-id: r33647
2008-07-30Added support for Savestates to be loaded from the launcherChristopher Page
svn-id: r33461
2008-07-28Added --list-saves support for AGIChristopher Page
svn-id: r33351
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-15Reverted an incorrect change to AGIChristopher Page
svn-id: r33077
2008-07-13Removed an exit() call in PreAGIChristopher Page
svn-id: r33049
2008-07-10Removed unnecessary #inlcudesChristopher Page
svn-id: r32984
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
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-08PreAGI works with the new GMM implementationChristopher Page
svn-id: r32956
2008-07-07Agi works with the new GMM implementationChristopher Page
svn-id: r32953
2008-07-07Sound settings for AGI are now configurable through the GMMChristopher Page
svn-id: r32936
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
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