aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-19Removed superfluous variable checkings. Made it so that Apple IIGS mixing ↵Kari Salminen
code doesn't try to mix MIDI sounds yet as mixing them isn't yet supported. svn-id: r28673
2007-08-19Fixes previously crashing sound. Crash happened because of PCjr 4-channel ↵Kari Salminen
mixing code trying to use uninitialized values (phase, ins etc) when mixSound was called before anything was playing. svn-id: r28672
2007-08-19Some cleanup / const correctness / OOficationMax Horn
svn-id: r28671
2007-08-19Small correctionSven Hesse
svn-id: r28670
2007-08-19Fixed warning about global symbol 'chn' being shadowed by local declaration ↵Max Horn
'chn' (note: naming a global var 'chn' is probably a bad idea. And using a class would be far better anyway ;) svn-id: r28669
2007-08-19Always update the video's position, even if it's already been loaded, becauseTorbjörn Andersson
it won't necessarily be played at the same position every time. For instance, in Lost in Time you can look at the captain's chair several times. The position of the video seems to depend on exactly where on the screen you clicked. svn-id: r28668
2007-08-19Fixed bug #1777058.Nicola Mettifogo
svn-id: r28666
2007-08-19Fixing code formattingMax Horn
svn-id: r28665
2007-08-19Checking in patch #1777241 by Uwe Ryssel (GOB: Some optimizations for slow ↵Sven Hesse
computers) svn-id: r28664
2007-08-19Patch #1776858: README: some fixesMax Horn
svn-id: r28663
2007-08-19Fixed two more warningsMax Horn
svn-id: r28662
2007-08-19Fixed some - not all - warnings.Torbjörn Andersson
svn-id: r28661
2007-08-18Changed Apple IIGS sample playing frequency multiplier from 1076.0 to C6 ↵Kari Salminen
(i.e. about 1046.5). Commented out a warning that comes too often. svn-id: r28657
2007-08-18Added support for playing Apple IIGS samples. The code's not very pretty at ↵Kari Salminen
the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment. svn-id: r28656
2007-08-18Making DS port build againNeil Millstone
svn-id: r28654
2007-08-18Corrected some of the colors in the save/load dialogs in IHNMFilippos Karapetis
svn-id: r28648
2007-08-17Added a definition for Apple IIGS sound emulation mode, made sound ↵Kari Salminen
initialization set it when appropriate and instruments loading use it. svn-id: r28647
2007-08-17added two more partsPaweł Kołodziejski
svn-id: r28646
2007-08-17Several bugfixes:Filippos Karapetis
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene - sf92 is sfDemoSetInteractive - It's now possible to use dashes and underscores in savegames - Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black - The interface mode is now correctly set in the non-interactive part of the IHNM demo - sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed svn-id: r28643
2007-08-17Removed an obsolete TODOFilippos Karapetis
svn-id: r28642
2007-08-16Now using stacks to keep track of multiple levels when parsing location scripts.Nicola Mettifogo
svn-id: r28639
2007-08-16Fixed some warningMax Horn
svn-id: r28638
2007-08-16Changed more parsing routines to use tables instead of switch statements.Nicola Mettifogo
svn-id: r28637
2007-08-15Added rudimentary classes for different AGI sound resources (IIgsMidi, ↵Kari Salminen
IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound. svn-id: r28630
2007-08-15Moved AgiSound definition around and also changed it from a struct to a class.Kari Salminen
svn-id: r28629
2007-08-15Removed unneeded code from inside #if 0 ... #endif -clauses.Kari Salminen
svn-id: r28628
2007-08-15Removed use of decodeSound(int resnum). Not needed at the moment (Probably ↵Kari Salminen
going to be replaced by other functionality later). svn-id: r28627
2007-08-15Removed use of USE_IIGS_SOUND (#define).Kari Salminen
svn-id: r28626
2007-08-15Changed use of USE_CHORUS (#define) to g_useChorus (static boolean).Kari Salminen
svn-id: r28625
2007-08-15Made AGI's 4-channel PCjr sound not need structure packing pragmas anymore. ↵Kari Salminen
Also added more use of little endian reading macros. svn-id: r28624
2007-08-14Oops oops. This fixes the bug fix.Nicola Mettifogo
svn-id: r28623
2007-08-14Oops. Removed debug code.Nicola Mettifogo
svn-id: r28622
2007-08-14Fixed bug (array-overflow) in NS introduction. This randomly caused the ↵Nicola Mettifogo
intro to crash during sketching. svn-id: r28621
2007-08-14Defined new Table for location scripts level-0 statements, and changed ↵Nicola Mettifogo
parseLocation to use a function pointer array instead of a big switch statement. svn-id: r28620
2007-08-14Fixed a couple of mistyped strings, solving a crash in the introduction of ↵Nicola Mettifogo
BS and a soon-to-be-spotted issue in BRA. svn-id: r28619
2007-08-14fix issues with parenthesesMatthew Hoops
svn-id: r28618
2007-08-14Limit loading external fonts, to required game versions.Travis Howell
svn-id: r28617
2007-08-14Shuffled around AgiGameID's declaration and an include to get stuff ↵Kari Salminen
hopefully working now with GCC too. svn-id: r28616
2007-08-14Added forward declaration for enum AgiGameID (Was breaking compilation on GCC).Kari Salminen
svn-id: r28615
2007-08-14Moved Apple IIGS related structs' read & finalize functions' implementations ↵Kari Salminen
to sound.cpp and left the declarations in sound.h. svn-id: r28614
2007-08-14Defined some functions in Agi::SoundMgr and moved stuff generally around ↵Kari Salminen
between AGI's sound.h and sound.cpp. Assimilated calcTrueSampleSize into another function. svn-id: r28613
2007-08-14Unified intendation, purely visual changes.Kari Salminen
svn-id: r28611
2007-08-14Not saving Apple IIGS instrument header's unneeded info anymore (Priority ↵Kari Salminen
increment and spare byte). svn-id: r28610
2007-08-14Partially reverting commit 28568, so now engine is back in charge for ↵Nicola Mettifogo
parsing locations. I'm going to convert this if/else/else hell into smaller opcode-like routines to achieve more flexibility first, and then assign version-specific opcodes to subclasses. svn-id: r28609
2007-08-14GCC doesn't like the extra qualifier when DECLARE_COMMAND_PARSER() etc. areTorbjörn Andersson
used within the class definition. Added macros for the unqualified form. Feel free to give them a less cumbersome name -- I just wanted to be able to compile ScummVM again. :-) svn-id: r28608
2007-08-14Making it work again for 16bit VMDsSven Hesse
svn-id: r28606
2007-08-14Fixed talking videos syncSven Hesse
svn-id: r28605
2007-08-14The talking videos work a bit better now. The sync and coordinates are still ↵Sven Hesse
screwy svn-id: r28604
2007-08-13Added invalid opcode entries in slot 0 of opcode lists, and adjusted indices ↵Nicola Mettifogo
to avoid small decrements. svn-id: r28603
2007-08-13Moved opcode initialization to new routine.Nicola Mettifogo
svn-id: r28602