Commit Graph
61292 Commits
Author SHA1 Message Date
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
Paul Gilbert 9a996d66d4 HOPKINS: Bugfix for crash when walking in the projection room 2012-11-18 15:21:16 +11:00
Matthew Hoops 4e8dca1c27 PEGASUS: Fade out the main menu when using the quit button 2012-11-17 23:16:43 -05:00
Paul Gilbert 08dcceeefc HOPKINS: Cleanup of FORET flag and bugfix for when leaving forest. 2012-11-18 13:42:44 +11:00
D G Turner c056aea400 BUILD: Fix missing directory creation in aos4dist target. 2012-11-18 02:42:24 +00:00
Paul Gilbert 4661b0ab86 HOPKINS: Bugfix for throwing a dart at the switch in Purgatory 2012-11-18 13:14:18 +11:00
Thierry Crozat 67493394b3 OSX: Remove use of deprecated methods
FSRef and FSPathMakeRef have been deprecated in OS X 10.8. So we
use CFURLRef instead.
2012-11-18 01:29:09 +00:00
Thierry Crozat 40941af7b9 OSX: Fix Sparkle compilation on older systems
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-18 01:29:09 +00:00
Thierry Crozat 5de0d081b7 OSX: Add missing include for NSURL
This fixes compilation on older systems (apparently on newer
systems it was already included indirectly).
2012-11-18 01:29:09 +00:00
Max Horn a49f55878a OSX: Improve native OS X browser dialog
Signed-off-by: Thierry Crozat <criezy@scummvm.org>
2012-11-18 01:29:08 +00:00
Paul Gilbert 416a6ac2af Merge branch 'hopkins' of github.com:dreammaster/scummvm into hopkins 2012-11-18 11:49:31 +11:00
Paul Gilbert 10bb9e7e14 HOPKINS: Pathfinding bugfix to fix error walking in Purgatory hallway 2012-11-18 11:48:28 +11:00
Strangerke 8331a015fc HOPKINS: Replace MenuText by an array of structures, implement Charge_Menu() 2012-11-18 00:57:56 +01:00
Paul Gilbert 832f06fa8a HOPKINS: Bugfix for crash when pushing button in purgatory control room 2012-11-18 10:31:58 +11:00
Paul Gilbert 3da8683c48 HOPKINS: Bugfixes for the sequence player 2012-11-18 10:16:05 +11:00
athrxx 93eb6ec64a KYRA: (EOB) - implement simplified EGA dithering for EOB II 2012-11-18 00:03:23 +01:00
athrxx c8a73d30cf KYRA: (EOB) - cleaning up CGA/EGA graphics code
- fix some glitches in CGA rendering mode
- revert most of 66da4777d4 (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-18 00:03:22 +01:00
Strangerke cdbba33e38 HOPKINS: Fix PCX loading when no present in CAT file. 2012-11-17 23:09:52 +01:00
D G Turner c63ba1fd5f BUILD: Fix aos4dist target when building outside source directory. 2012-11-17 17:58:05 +00:00
Paul Gilbert 98a3f96ce0 HOPKINS: Bugfix for cursor background transparency when in forest 2012-11-17 22:09:04 +11:00
Paul Gilbert 6f95d311f2 Merge branch 'hopkins' of github.com:dreammaster/scummvm into hopkins 2012-11-17 22:01:39 +11:00
Paul Gilbert 5ae26a1910 HOPKINS: Bugfixes for entering forest 2012-11-17 22:00:54 +11:00
Strangerke 2f116e01c7 HOPKINS: Fix original bug in chapter 2, when searching the box.
Add a safeguard to the sequence parser
2012-11-17 11:57:41 +01:00