Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson c16de405d7 TINSEL: Fix inventory scrolling
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-22 22:12:51 +01:00
Matthew Hoops 7f8b7e0916 PEGASUS: Add a keymap 2012-11-21 23:18:08 -05:00
Johannes Schickel 1f69192f7d AUDIO: Remove two extra commas. 2012-11-22 02:29:57 +01:00
Johannes Schickel 761a98997c AUDIO: Disallow custom percussion instruments in MIDI->AdLib code. 2012-11-22 02:22:25 +01:00
Johannes Schickel 689497f06e AUDIO: Only enable OPL3 code in MIDI->AdLib, when we have the DOSBox emulator builtin. 2012-11-22 02:18:51 +01:00
Strangerke 60a154a5d7 HOPKINS: Fix erroneous modification in create_msvc9 2012-11-22 00:03:26 +01:00
Strangerke 42bafc5719 HOPKINS: Fix problem with some keys (A, Z, Q, M on Azerty keyboards) 2012-11-21 23:55:16 +01:00
Strangerke cbbc928788 HOPKINS: some renaming and reworking 2012-11-21 22:42:51 +01:00
Paul Gilbert f9a58d0aaa HOPKINS: Enable cursor animations like the original 2012-11-21 21:59:35 +11:00
Paul Gilbert e738722905 Merge pull request #4 from alexbevi/hopkins
HOPKINS: Merge compilation fixes under Linux and added detection entry
2012-11-21 02:03:39 -08:00
Strangerke 8e376ccc81 HOPKINS: Clean up some 'for' statements 2012-11-21 08:04:50 +01:00
Strangerke ec81dfb655 HOPKINS: Fix potential problem reported by alexbevi, cleanup variables in INTRORUN 2012-11-21 00:20:55 +01:00
D G Turner e9b04d018f TONY: Fix compiler warnings about possible "used before set" variables.
Looking at this code and the code in clip2D, this shouldn't happen,
but this will prevent any future issues.
2012-11-20 19:05:45 +00:00
Alex Bevilacqua 7bd46c4ee0 HOPKINS: add another detetction entry for the Win95 full game 2012-11-20 09:37:40 -05:00
Alex Bevilacqua dd241bd41c HOPKINS: fix compilation (Linux) 2012-11-20 09:36:54 -05:00
Johannes Schickel be60a641bf AUDIO: Slight cleanup and typo fix in S&M OPL3 code. 2012-11-20 03:27:12 +01:00
D G Turner 8bf5a61278 PARALLACTION: Mask unused, but set variable warning, by debug().
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-19 23:33:02 +00:00
D G Turner b35bda1715 TOLTECS: Remove unused, but set, variable, start. 2012-11-19 23:27:07 +00:00
D G Turner e9c3d14307 QUEEN: Fix compilation. 2012-11-19 23:14:30 +00:00
D G Turner 362e195a5f QUEEN: Remove unused, but set variable, personWalking from Talk::talk(). 2012-11-19 23:00:40 +00:00
D G Turner 61cb8648a9 N64: Fix remaining warnings associated with mouse cursor drawing. 2012-11-19 17:26:28 +00:00
Johannes Schickel bbb83f132b KYRA: Make "const type *const" use consistent.
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-19 13:06:09 +01:00
Johannes Schickel dd551c4775 KYRA: Make more static data tables const. 2012-11-19 13:00:33 +01:00
Johannes Schickel 6437aa2c92 KYRA: Strip trailing whitespaces. 2012-11-19 12:54:42 +01:00
Johannes Schickel b7e04fa518 KYRA: Some formatting fixes.
Powered by astyle.
2012-11-19 12:54:42 +01:00
Torbjörn Andersson 2aa8d0d65d SCUMM: Try harder to find Mac Monkey Island instruments
At least for me, hfsutils turns spaces into underscores so try both
"Monkey Island" and "Monkey_Island".
2012-11-19 08:40:51 +01:00
Torbjörn Andersson fc0288e9d5 SCUMM: Simplify checkMusicAvailable() a bit 2012-11-19 07:25:42 +01:00
Torbjörn Andersson 9e995991e7 SCUMM: Fix crash when Macintosh instruments aren't available
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-19 07:18:05 +01:00
Torbjörn Andersson cb21d7309e SCUMM: Add Windows encoding of the Mac Loom filename 2012-11-19 07:16:42 +01:00
Strangerke 2af626c3af HOPKINS: Partially fix entering high scores. Still far from perfect. 2012-11-19 00:15:52 +01:00
D G Turner d8a17a9d91 N64: Fix compiler warnings associated with cursor size variables. 2012-11-18 22:34:15 +00:00
D G Turner 46027e5303 VIDEO: Fix SVQ1 videos to error out on B Frames. 2012-11-18 21:00:07 +00:00
D G Turner d2c2c5ec01 VIDEO: Fix compiler warning in SVQ1 codec. 2012-11-18 20:52:47 +00:00
Matthew Hoops b285db4db3 AUDIO: Cleanup MidiParser_QT a bit 2012-11-18 14:43:35 -05:00
Matthew Hoops ca6fdb0807 AUDIO: Ignore QT MIDI control change 0
QuickTime docs don't list it, and we shouldn't treat it as a bank select
2012-11-18 14:20:24 -05:00
Torbjörn Andersson 94b0881427 SCUMM: Lock the sound resource while the music is playing
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-18 19:18:21 +01:00
Matthew Hoops 31451edb7a PEGASUS: Fix timer not resuming on the WSC catwalk when using the AI
An original game bug
2012-11-18 12:33:56 -05:00
Torbjörn Andersson ae823b5c6a SCUMM: Fix regression that caused "pops" in MI1 jungle music
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-18 17:57:01 +01:00
Torbjörn Andersson 34a8b5049e SCUMM: Use more correct (I think) way of converting samples
It shouldn't make any real difference, but it's probably more
formally correct.
2012-11-18 17:56:13 +01:00
Torbjörn Andersson 4f18a92f5a SCUMM: Prevent music channels from drifting out of sync in Mac MI1
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-18 14:30:17 +01:00
Torbjörn Andersson f3c9b21806 SCUMM: Fix whitespace 2012-11-18 13:43:33 +01:00
Paul Gilbert 62759ea2a2 HOPKINS: Changed computer info display to wait for a keypress after displaying 2012-11-18 21:24:24 +11:00
Paul Gilbert 43e0daf5d1 HOPKINS: Bugfix to allow Breakout paddle movement whilst waiting for starting click 2012-11-18 21:12:21 +11:00
Paul Gilbert c1bd7e26b0 HOPKINS: Bugfixes to actually play Breakout 2012-11-18 20:58:53 +11:00
Paul Gilbert 25a311c65b HOPKINS: Bugfixes for setup of Breakout sub-game 2012-11-18 20:28:03 +11:00
Paul Gilbert 9f36cedd31 HOPKINS: Added enum for different FBI computer terminals, and capitalisatoin bugfixes 2012-11-18 19:31:43 +11:00
Matthew Hoops 7fe61fb64f PEGASUS: Don't constantly redraw the overview text frame 2012-11-18 00:22:32 -05:00
Paul Gilbert 9bc308b32b HOPKINS: Remove old stub event loop from the HopkinsEngine::run method 2012-11-18 16:19:26 +11:00
Paul Gilbert 67ae9e9306 HOPKINS: Bugfixes for computer screen text 2012-11-18 16:16:59 +11:00
Paul Gilbert 5b7b4bc9df HOPKINS: Fix for computer text display at the correct position 2012-11-18 16:05:38 +11:00