Commit Graph
86814 Commits
Author SHA1 Message Date
strangerke a4d4dc81a9 HUGO: rewrite saveEvents() and restoreEvents() in order to be endian and platform safe 2011-02-28 00:58:25 +01:00
md5 1dcce4445c SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107
While fast forwarding a song, disable its hold value together with any possible
sound looping, so that the song won't loop forever.
2011-02-28 01:06:29 +02:00
md5 c7bfbc31e2 SCI: Fixed bug #3106107 - "QFG3: Crash when saving outside palace"
Ignore requests to alter a song's hold value while it's being faded, and reset
a song's hold value when fading starts. This ensures that the song will actually
stop when fading is done and won't keep looping forever.
2011-02-28 00:18:23 +02:00
md5 4d33923436 SCI: Cleanup of the save/load dialog patching code and the lofs type detection code 2011-02-28 00:15:47 +02:00
Ori Avtalion d90c7a8314 TOON: Avoid hiding overloaded virtual methods 2011-02-27 22:32:50 +02:00
Ori Avtalion ee3e08bbc2 AGOS: Avoid hiding overloaded virtual methods 2011-02-27 21:25:05 +02:00
Willem Jan Palenstijn d17a889400 SCI: Fix negative window origin alignment.
SSCI does a shr 1; shl 1 here in SetOrigin.
This fixes a crash in the ending scene of SQ3 (#3194199).
2011-02-27 18:17:22 +01:00
md5 332abb91f3 SCI: Fixed GUI option flags for PQ:SWAT 2011-02-27 16:55:28 +02:00
Willem Jan Palenstijn d7112b5bbc SCI: Remove kDoBresen special case for SCI_VERSION_1_EGA_ONLY
Confirmed with QfG2 disassembly (the only 1_EGA_ONLY game)
that it behaves the same as SCI_VERSION_1_EARLY games, except
for the uninitialized read already mentioned in kDoBresen.
2011-02-27 15:52:19 +01:00
md5 72f65b3946 SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
Lars Skovlund 65b9e1784d SCI: Detect the version of PQ SWAT from gog.com 2011-02-27 15:20:02 +01:00
md5 37d610efd3 SCI: Improved the readability of the kDoBresen code a bit 2011-02-27 16:15:33 +02:00
Willem Jan Palenstijn db89e9a42c SCI: Don't set b_movCnt to moveSpeed while walking
This fixes moonwalking in LSL1 and movement speed in KQ5.
It appears to be have been a RE bug.
2011-02-27 14:52:13 +01:00
dhewg 24a332bd22 ANDROID: Prevent AudioTrack unpause on startup 2011-02-27 14:15:47 +01:00
dhewg 72889ee24f ANDROID: Remove dead code 2011-02-27 14:15:47 +01:00
Paul Gilbert 2a2a33a14c TSAGE: Initial implementation of Scene #1400 - Arriving at Ringworld 2011-02-27 22:52:35 +11:00
Paul Gilbert b702cd0fdf TSAGE: Implemented Scene #1500 - Ringworld Space-port 2011-02-27 21:42:19 +11:00
strangerke 02e51f9de5 HUGO: Set all the palette instead of only one color in remapPal.
This fixes the palette issue after the cave in H3
2011-02-27 11:10:09 +01:00
Paul Gilbert 685c47f63f TSAGE: Initial implementation of Scene #1250 - But scene doesn't seem to be used 2011-02-27 20:42:23 +11:00
Paul Gilbert 2fd6808703 TSAGE: Bugfix for loading scenes without a palette 2011-02-27 20:41:09 +11:00
dhewg aa2a2e046b SWORD2: Reduce overhead 2011-02-27 10:13:18 +01:00
dhewg 1c95d47cfa SWORD2: Respect screen pitch while postprocessing
Fixes subtitles on androids
2011-02-27 10:10:44 +01:00
dhewg a73b2ec972 ANDROID: Remove unnecessary code 2011-02-27 09:04:38 +01:00
dhewg d4c0501d1f ANDROID: Check audio buffer for silence
Most games register a music channel, and when there is no music,
they still stream silence (and run through all the Converter::flow
code!). Scan the buffer for that to pause the AudioTrack. Ugly, but
worth it - reduces CPU usage on many games and hence saves battery life.
2011-02-27 09:04:37 +01:00
dhewg 0e869a5cf0 ANDROID: Pause the AudioTrack when possible
Only works in situations without any registered channels (or all paused)
at the mixer (like on the launcher or GMM).

CPU usage before (Galaxy Tab):
~5% scummvm
~15% mediaserver

After:
~2% scummvm
0% mediaserver

;)
2011-02-27 09:04:37 +01:00
dhewg bea57f6950 AUDIO: Make mixCallback return the sample count
The RateConverter::flow result was never used, pipe it through
Channel::mix to MixerImpl::mixCallback, so backends can decide
if they want to waste cpu cycles while playing empty buffers.
2011-02-27 09:04:36 +01:00
dhewg 25d895b859 ANDROID: Rework audio system
Move the audio thread to the bright side
2011-02-27 09:04:36 +01:00
Paul Gilbert d50482d92b TSAGE: Bugfix for correctly setting object frame numbers 2011-02-27 19:04:33 +11:00
dhewg 983e16b36a ANDROID: Formatting 2011-02-27 09:04:31 +01:00
dhewg 6b1c575d1d ANDROID: Remove another weird workaround 2011-02-27 09:04:31 +01:00
Paul Gilbert 7e595d0b35 TSAGE: Added Scene 1001 (Fleeing Planet) 2011-02-27 19:04:16 +11:00
Paul Gilbert e7ca134b1a TSAGE: Separated Scene 1000 into a seaprate code file
This is mimicking the original engine, which breaks the entire game into groups of scenes
2011-02-27 16:46:49 +11:00
Paul Gilbert 2f3831d12b TSAGE: Minor bugfixes for Scene 90 (Shipyard Entrance) 2011-02-27 16:29:30 +11:00
Paul Gilbert ee87c69a34 TSAGE: Fixed bug with scene mode being used incorrectly as the scene load flag 2011-02-27 16:28:37 +11:00
strangerke a99b394836 HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animation 2011-02-27 01:04:49 +01:00
Ori Avtalion da62869baf SCI: Avoid hiding overloaded virtual methods 2011-02-26 21:22:03 +02:00
Ori Avtalion 765540a5fd GOB: Avoid hiding overloaded virtual methods 2011-02-26 20:25:44 +02:00
md5 9bd5e8ff15 SCI: Cleanup 2011-02-26 19:10:12 +02:00
md5 fe04339909 SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this) 2011-02-26 19:07:31 +02:00
md5 ab256842e4 SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if it happens in the original version 2011-02-26 18:47:23 +02:00
md5 49f3f5e1e8 SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrind 2011-02-26 16:30:47 +02:00
Paul Gilbert 0cd4b885c8 TSAGE: Fix for inflinite loop setting scene zoom percents 2011-02-27 00:28:38 +11:00
md5 88235cee7c SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL driver, thanks to waltervn 2011-02-26 15:27:01 +02:00
Paul Gilbert 033747ceb5 TSAGE: Bugfix to enable palette rotation 2011-02-27 00:16:47 +11:00
strangerke 756a343cb8 HUGO: Fix graphic glitches in DOS versions 2011-02-26 14:06:30 +01:00
Paul Gilbert 5a606d86e1 TSAGE: Bugfix for credits animations in Scene 1000 2011-02-26 23:51:24 +11:00
Paul Gilbert 3a601812d2 TSAGE: Bugfixes for drawing objects in wide screen areas 2011-02-26 22:15:22 +11:00
dhewg bd191e1787 AGOS: Respect the screen pitch for movies
Fixes DXA and Smacker movies on Android
2011-02-26 11:58:41 +01:00
dhewg 3fb85835a1 ANDROID: Allow softkeybd on all devices 2011-02-26 11:20:23 +01:00
D G Turner f78f2dff49 MOHAWK: Correction for uninitialized read in Myst Cabin Door State. 2011-02-26 10:18:36 +00:00