aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-23KYRA: Some slight cleanup.Johannes Schickel
2012-11-23KYRA: Fix bug #3589441 "KYRA: LOL DOS is broken".Johannes Schickel
In fact it affected all DOS versions of the game. This is a regression from 93e69aa4da0558b05fc235684355ed38eed9863d.
2012-11-23SCUMM: Added TODO comment about Mac MI1 musicTorbjörn Andersson
Some notes in the main theme are very staccato, and this could possibly explain why.
2012-11-23SCUMM: Fix memory leak when loading old MI1 Mac savegamesTorbjörn Andersson
I completely forgot to delete the dummy iMUSE object after using it to skip over the old music save information. Thanks to Lordhoto for pointing this out.
2012-11-23KYRA: Remove unnecessary forward declaration.Johannes Schickel
2012-11-23KYRA: Move SoundDigital declaration to its own header.Johannes Schickel
2012-11-23KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError.Johannes Schickel
2012-11-23KYRA: Get rid of pointless SoundDigital::init method.Johannes Schickel
2012-11-23KYRA: Make Sound::hasSoundFile const again.Johannes Schickel
2012-11-23KYRA: Properly mark digital sfx as sfx in HoF and LoL again.Johannes Schickel
This is a regression from e016e7dfc2b1e3cdb39c01d81c5a34eee66a277b.
2012-11-22Merge pull request #283 from lordhoto/scumm-opl3Johannes Schickel
SCUMM: Support OPL3 in Sam&Max
2012-11-22TINSEL: Fix typo in commentTorbjörn Andersson
2012-11-22TINSEL: Fix inventory scrollbar handle positionTorbjörn Andersson
The scrollbar handle was one pixel too far to the left, and the topmost position was off by one as well. I've verified this to the best of my ability. I've compared it visually in DOSBox (which is a bit tricky for Discworld 2, but I think it's right now), and against the initial Tinsel v1 source code that was added to ScummVM. I don't know what the initial Tinsel v2 source code looked like, though.
2012-11-22TINSEL: Fix inventory scrollingTorbjörn Andersson
Adjusted NM_SLIDE_INSET and NM_SLIDE_THICKNESS to make the inventory scrollbar work as it did before Tinsel v1 and v2 were combined. The scrollbar worked before, but you had to click a bit to the left of it to operate it. It's the only place in the code where these constants are used, so it should not break anything else.
2012-11-21PEGASUS: Add a keymapMatthew Hoops
2012-11-22AUDIO: Remove two extra commas.Johannes Schickel
2012-11-22AUDIO: Disallow custom percussion instruments in MIDI->AdLib code.Johannes Schickel
2012-11-22AUDIO: Only enable OPL3 code in MIDI->AdLib, when we have the DOSBox ↵Johannes Schickel
emulator builtin.
2012-11-20TONY: Fix compiler warnings about possible "used before set" variables.D G Turner
Looking at this code and the code in clip2D, this shouldn't happen, but this will prevent any future issues.
2012-11-20AUDIO: Slight cleanup and typo fix in S&M OPL3 code.Johannes Schickel
2012-11-19PARALLACTION: Mask unused, but set variable warning, by debug().D G Turner
This variable is likely to be used in the future if the associated TODO is implemented, so this warning is inhibited by adding a debug() output statement.
2012-11-19TOLTECS: Remove unused, but set, variable, start.D G Turner
2012-11-19QUEEN: Fix compilation.D G Turner
2012-11-19QUEEN: Remove unused, but set variable, personWalking from Talk::talk().D G Turner
2012-11-19N64: Fix remaining warnings associated with mouse cursor drawing.D G Turner
2012-11-19KYRA: Make "const type *const" use consistent.Johannes Schickel
I used this command for changing "const type * const" to "const type *const": git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/const \([a-zA-Z0-9_]*\) \* const/const \1 \*const/g'
2012-11-19KYRA: Make more static data tables const.Johannes Schickel
2012-11-19KYRA: Strip trailing whitespaces.Johannes Schickel
2012-11-19KYRA: Some formatting fixes.Johannes Schickel
Powered by astyle.
2012-11-19SCUMM: Try harder to find Mac Monkey Island instrumentsTorbjörn Andersson
At least for me, hfsutils turns spaces into underscores so try both "Monkey Island" and "Monkey_Island".
2012-11-19SCUMM: Simplify checkMusicAvailable() a bitTorbjörn Andersson
2012-11-19SCUMM: Fix crash when Macintosh instruments aren't availableTorbjörn Andersson
Initialise _channel[] even when the instruments aren't available. Otherwise, ScummVM will crash in a number of places including, but not limited to, when loading savegames.
2012-11-19SCUMM: Add Windows encoding of the Mac Loom filenameTorbjörn Andersson
2012-11-18N64: Fix compiler warnings associated with cursor size variables.D G Turner
2012-11-18VIDEO: Fix SVQ1 videos to error out on B Frames.D G Turner
2012-11-18VIDEO: Fix compiler warning in SVQ1 codec.D G Turner
2012-11-18AUDIO: Cleanup MidiParser_QT a bitMatthew Hoops
2012-11-18AUDIO: Ignore QT MIDI control change 0Matthew Hoops
QuickTime docs don't list it, and we shouldn't treat it as a bank select
2012-11-18SCUMM: Lock the sound resource while the music is playingTorbjörn Andersson
After some discussion on #scummvm, the player now locks the sound resource while the music is playing. This prevents the resource manager from expiring the resource, which at best could cause music to restart where it shouldn't.. At worst, I guess it could have crashed, but I never saw that happen.
2012-11-18PEGASUS: Fix timer not resuming on the WSC catwalk when using the AIMatthew Hoops
An original game bug
2012-11-18SCUMM: Fix regression that caused "pops" in MI1 jungle musicTorbjörn Andersson
Properly treat rests as rests, not notes. Otherwise, it would try to play a really low note which just came out as a "pop".
2012-11-18SCUMM: Use more correct (I think) way of converting samplesTorbjörn Andersson
It shouldn't make any real difference, but it's probably more formally correct.
2012-11-18SCUMM: Prevent music channels from drifting out of sync in Mac MI1Torbjörn Andersson
In looped music, prevent the music channels from drifting out of sync over time. This was noticeable after a few minutes in the SCUMM Bar. We do this by extending the last note (which is just zeroes, so we didn't even use to play it) so that it has the exact number of samples needed to make all channels the exact same length. (This is calculated when the music is loaded, so it does not need any extra data in the save games, thankfully.) As a result, the getNextNote() is now responsible for converting the duration to number of samples (out of necessity) and for converting the note to a pitch modifier (out of symmetry). I made several false starts before I realized how much easier it would be this way.
2012-11-18SCUMM: Fix whitespaceTorbjörn Andersson
2012-11-18PEGASUS: Don't constantly redraw the overview text frameMatthew Hoops
2012-11-17PEGASUS: Fade out the main menu when using the quit buttonMatthew Hoops
2012-11-18BUILD: Fix missing directory creation in aos4dist target.D G Turner
2012-11-18OSX: Remove use of deprecated methodsThierry Crozat
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we use CFURLRef instead.
2012-11-18OSX: Fix Sparkle compilation on older systemsThierry Crozat
This patch was provided by fingolfin (see patch #3582260). It replaces use of methods introduced in MacOS X 10.4 with methods that exists since MacOS X 10.0.
2012-11-18OSX: Add missing include for NSURLThierry Crozat
This fixes compilation on older systems (apparently on newer systems it was already included indirectly).