aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2011-07-10SCUMM: Let PC Speaker output be controlable via music volume.Johannes Schickel
2011-07-10SCUMM: Properly implement volume controler for PC Speaker output.Johannes Schickel
2011-07-10SCUMM: Fix priority settings in iMuse allocate part sysEx command.Johannes Schickel
Formerly we ever only used the lower 4 bit of the priority setting for a new part. The original used a full 8 bit setting though (based on the Indy4 PC Speaker output driver). This fixes missing notes in the Indy4 intro with PC Speaker output. This might affect other outputs too! And could cause regressions in case other outputs implemented priority settings differently.
2011-07-10SCUMM: Fix PC Speaker sound.Johannes Schickel
Now we only output a new frequency if a new channel was selected or a new output frequency has to be send. This makes the sound much more like in DOSBox. This is not present in the original, but since our timings are different this should make up for that.
2011-07-10SCUMM: Do not allow multi midi mode for PC Speaker output.Johannes Schickel
Thanks to eriktorbjorn for catching this.
2011-07-10SCUMM: Minor clean up in iMuse instrument handling code.Johannes Schickel
2011-07-10SCUMM: Limit iMuse default instrument load to PC Speaker output.Johannes Schickel
Albeit the code is marked as a hack inside the source, the original behaved exaclty the same. If the code is removed the PC Speaker output will miss notes, since unlike the original we only output to parts, which have an instrument set up.
2011-07-10SCUMM: Only try to load MT-32 instruments when we have a MIDI output in iMuse.Johannes Schickel
This fixes the melody in Indy4's intro with the PC Speaker output.
2011-07-10SCUMM: Implement effect envelope for PC Speaker output in SCUMM v5.Johannes Schickel
2011-07-08SCUMM: Initial PC Speaker output implementation for SCUMM v5.Johannes Schickel
This is *not* complete yet.
2011-07-03SCUMM: Remove unused operator int.Johannes Schickel
2011-07-03AGI: Cleanup some Winnie string codeMatthew Hoops
2011-07-03AGI: Fix some memset callsMatthew Hoops
Spotted by both salty-horse and LordHoto using clang
2011-07-03MOHAWK: Fix build.Alyssa Milburn
2011-07-03MOHAWK: Implement the remaining LBCode arithmetic operators.Alyssa Milburn
2011-07-03MOHAWK: Handle subpages in the LB console's changePage.Alyssa Milburn
2011-07-03SCUMM: fix crash in digital iMuse games when using RTL and restartingathrxx
(static array were not reset to NULL after being freed and therefore didn't get reallocated on restart)
2011-07-03KYRA: formattingathrxx
2011-07-03MOHAWK: Fix associativity of LBCode operators.Alyssa Milburn
2011-07-03SWORD2: Silence "variable set but not used" GCC warningseriktorbjorn
2011-07-03COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined.Johannes Schickel
2011-07-02GUI: Zero is a valid save slot number.Bastien Bouclet
Fixes loading from slot 0 using the GMM.
2011-07-02MOHAWK: Misc Mechanical fixes. Many thanks to Patrick Monnerat for the patch.Bastien Bouclet
- Adds break statements where missing in Mechanical::toggleVar() and Mechanical::setVarValue() - Restore proper numbering of Achenar and Sirrus panel state variables, which were wrongly swapped. - When bird is singing, play sound continuously. - When operating the fortress elevator, keep the engine sound active while the elevator is moving.
2011-07-02ENGINES: Clean up SaveStateDescriptor.Johannes Schickel
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible saved meta data is included directly into SaveStateDescriptor. This is slightly less flexible, but we never needed that flexibility so far. On the other hand it should reduce the memory usage. At least on my system (Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new SaveStateDescriptor has a size of 200.
2011-07-02TSAGE: Remove outdated extra channel variablePaul Gilbert
2011-07-02TSAGE: Linked in the (in progress) SoundBlaster Fx classPaul Gilbert
2011-07-02TSAGE: Fixed problem with saving double valuesPaul Gilbert
2011-07-02TSAGE: Beginnings of SoundBlaster sound driverPaul Gilbert
2011-07-02MOHAWK: Don't allocate zero-size array.Alyssa Milburn
2011-07-01MOHAWK: Add the Mac version of Arthur's Reading RaceMatthew Hoops
2011-07-02MOHAWK: Always create a code object for every LBPage.Alyssa Milburn
2011-07-02MOHAWK: Try implementing LBCode eval, random and seek.Alyssa Milburn
2011-07-02MOHAWK: Use LBCode instead of running scripts in LBItem.Alyssa Milburn
2011-07-02MOHAWK: Add LBCode::parseCode.Alyssa Milburn
This allows script strings to be parsed into LB bytecode.
2011-07-02MOHAWK: Allow creation of LBCode instances without an associated BCOD.Alyssa Milburn
2011-07-02MOHAWK: Add LBCode::resolveItem helper function.Alyssa Milburn
2011-07-02MOHAWK: Fix/add bounds checking in LBCode::nextToken.Alyssa Milburn
2011-07-01LASTEXPRESS: Fix loading of subtitles from sound nameLittleboy
2011-07-01GRAPHICS: Remove default values from FontSJIS::drawChar.Johannes Schickel
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls.
2011-07-01DREAMWEB: Add Spanish CD and French CD Detection Entries.D G Turner
These are taken from bug #3328865 ("DREAMWEB Spanish Version").
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
2011-06-30MOHAWK: Fix tMOV resources at the end of a fileMatthew Hoops
Thanks to fuzzie for noticing
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
2011-06-30MADE: Fix hidden overloaded virtual function warningOri Avtalion
2011-06-29LASTEXPRESS: Hook up preliminary sound filteringLittleboy
- Add debug checks in soundFilter() - Rename kSoundStatusClear1 to kSoundStatusFilterVariant
2011-06-29LASTEXPRESS: Update sound timer and sound entry playingLittleboy
- Move filtering to SoundEntry class - Make some methods of SoundEntry class private - Add methods to check if a StreamedSound/AppendableSound is done playing
2011-06-29LASTEXPRESS: Move SoundStatus to shared headerLittleboy
2011-06-29LASTEXPRESS: Replace shared sound buffer by per-entry bufferLittleboy
2011-06-29SWORD25: removed useless warning in setVsync()Eugene Sandulenko
2011-06-29SWORD25: Implement persistence functions for soundengineEugene Sandulenko
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained.