aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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).
2012-11-18OSX: Improve native OS X browser dialogMax Horn
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-11-18KYRA: (EOB) - implement simplified EGA dithering for EOB IIathrxx
2012-11-18KYRA: (EOB) - cleaning up CGA/EGA graphics codeathrxx
- fix some glitches in CGA rendering mode - revert most of 66da4777d476c6a9fc2a13351e3b30afc748fd94 (instead of having lots of EGA dithering routines throughout the whole EOB code we're going to implement some post-processing code in updateScreen())
2012-11-17BUILD: Fix aos4dist target when building outside source directory.D G Turner
2012-11-17SCUMM: Avoid "pops" at the end of the note in Mac MI1/Loom musicTorbjörn Andersson
At least on my computer, when the note ended abruptly there would be an annoying "pop" at the end. This was particularly noticeable at the end of the distaff notes in Loom. To get around this, fade out the last 100 samples. There's nothing magical about 100 in particular, but it's a nice even number and it should be short enough that it's never a noticeable part of the note, even at low sample rates.
2012-11-17SCUMM: Remove commented out code.Torbjörn Andersson
It was the remains of an experiment and no longer serves a purpose.
2012-11-16SCUMM: Fix the "drafts" debugger command for Mac LoomTorbjörn Andersson
Mac Loom's drafts appear to be stored from variable 55 and upwards. I'm working under the assumption that there's either only one version of Loom for the Mac, or that they all behave the same. I could be wrong about that.
2012-11-16SCUMM: Remove obsolete part of the "drafts" debugger commandTorbjörn Andersson
It was never quite clear exactly what "drafts fix" did. It wasn't guaranteed to work on all versions of Loom - or at all - and I haven't heard any reports about the data structure getting corrupted for years.