Commit Graph
86814 Commits
Author SHA1 Message Date
Strangerke c87074f8a8 MORTEVIELLE: Some refactoring in Action 2014-01-17 21:52:50 +01:00
Strangerke 0d4d7a66a9 MORTEVIELLE: rename a variable 2014-01-17 21:28:08 +01:00
Eugene Sandulenko 3587d87047 FULLPIPE: Enable scene35 2014-01-17 20:32:06 +02:00
Eugene Sandulenko 8388714ac9 FULLPIPE: Renames in scene35. This completes the scene 2014-01-17 13:57:17 +02:00
Eugene Sandulenko 8a2b186382 FULLPIPE: Implement sceneHandler35_genFlies() 2014-01-17 13:46:39 +02:00
Marisa-Chan 9c9f59d570 ZVISION: Move lever code to use MetaAnimation. 2014-01-17 16:56:49 +07:00
Marisa-Chan ff2a20889c ZVISION: Move code of animation_node to use meta_animation. 2014-01-17 16:54:59 +07:00
Marisa-Chan 3a1fda6d57 ZVISION: New class for handle rlf and avi animations. 2014-01-17 16:52:26 +07:00
Strangerke 05360d66c5 MORTEVIELLE: Remove unused structure and an obsolete comment 2014-01-17 07:39:34 +01:00
D G Turner 3cf79e0792 CGE: Further alignment fixes to Bitmap class.
This fixes bug #6476 - "DC: Soltys (CGE) crashes at start up".
2014-01-17 04:32:13 +00:00
Marisa-Chan 7b7ae43f7f ZVISION: Implement crossfade. 2014-01-17 11:10:17 +07:00
Marisa-Chan d973b1fb1b ZVISION: Implement attenuate code. 2014-01-17 11:07:58 +07:00
Marisa-Chan 41415002b2 ZVISION: Implement PanTrack. 2014-01-17 10:57:29 +07:00
Paul Gilbert c1657dc278 VOYEUR: Fix selection of apartment music after initial phone call ends 2014-01-16 22:11:41 -05:00
Marisa-Chan 61224e7225 ZVISION: Move MusicNode to use Audio::SoundHandle. 2014-01-17 09:32:06 +07:00
Johannes Schickel 9afeafd3fd TONY: Cleanup (don't compare pointer with false). 2014-01-16 22:58:38 +01:00
Johannes Schickel 67bf71f43a KYRA: Slight cleanup. 2014-01-16 22:56:52 +01:00
Johannes Schickel e00ae0918a AUDIO: Cleanup MT-32 code a bit.
This removes overwrites in ReportHandlerScummVM which are simply the default
implementation anyway. A side effect is that this silences/fixes a warning
about the former onProgramChanged to hide an virtual method due to parameter
differences.
2014-01-16 22:46:21 +01:00
Eugene Sandulenko 5ccec11d52 FULLPIPE: Implement sceneHandler35_startFlow() 2014-01-16 23:39:06 +02:00
Eugene Sandulenko 0bb98d6876 FULLPIPE: Implement sceneHandler35_stopFlow() and _shrink() 2014-01-16 23:39:06 +02:00
Eugene Sandulenko ad33e9c026 FULLPIPE: Implement sceneHandler35() 2014-01-16 23:39:06 +02:00
Johannes Schickel 1eb10b1a46 AUDIO: Register EAS sound driver as plain sound type.
MIDI code will control volume via MIDI events thus the generated audio should
not be affected by mixer sound volumes.

The initial commit 0e6cdfd675 added it as music
sound type. Might be copied from the (also) incorrect FluidSynth code.
2014-01-16 22:21:39 +01:00
Johannes Schickel d99f23fb10 AUDIO: Register FluidSynth driver as plain sound type.
MIDI code will control volume via MIDI events thus the generated audio should
not be affected by mixer sound volumes.

The initial commit(s) in d4d045b117 /
13dc149ded added it as music sound type.
So, this seems to be a long standing issue.
2014-01-16 22:20:23 +01:00
Johannes Schickel 5ea87462e4 AUDIO: Register MT-32 emulator as plain sound type.
Formerly the audio stream was registered as sfx. This is incorrect behavior
since the client code will control music volume with MIDI events on its own.
It seems 67b311713d introduced this very long
ago.

This should fix unintended coupling of sfx volume and music volume in BASS.
2014-01-16 22:18:47 +01:00
Eugene Sandulenko f60b6cb17d FULLPIPE: Plug scene35 in 2014-01-16 18:27:49 +02:00
Eugene Sandulenko f79390fea2 FULLPIPE: Initial code for scene35 2014-01-16 18:27:49 +02:00
Paul Gilbert b0e397551c VOYEUR: Implemented remaining initialisations in sInitPic 2014-01-16 09:25:31 -05:00
uruk 19ae43aa18 AVALANCHE: Move Clock to dedicated files. 2014-01-15 23:04:59 +01:00
uruk f2206381bc AVALANCHE: Fix another bug regarding speaking.
This prevents the player from giving commands to Avalot when the
character is tied up to a tree, so it's impossible to break the game's
consistency that way.
2014-01-15 20:36:26 +01:00
uruk ee0d3b609f AVALANCHE: Repair bug regarding speaking in bed. 2014-01-15 20:22:30 +01:00
uruk de4ec97f6d AVALANCHE: Implement wobble, move it to Animation. 2014-01-15 20:03:06 +01:00
uruk 96d4b67d41 AVALANCHE: Implement, rename, move zonk() and connected functions.
Implementations: zonk(), zl().
Renames: zonk() -> thunder(), zl() -> drawLightning().
Moved: the 2 above from Pingo to Animation.
Addition: GraphicManager::drawLine().
2014-01-15 18:00:04 +01:00
uruk b5b0aa25e0 AVALANCHE: Implement setBackgroundColor(). 2014-01-15 18:00:03 +01:00
Strangerke 78b25b17d1 MORTEVIELLE: Split resetVariables in two, reuse it in engine constructor 2014-01-15 17:57:28 +01:00
uruk b4af4dc8c2 Merge branch 'master' of https://github.com/scummvm/scummvm 2014-01-15 16:23:12 +01:00
uruk f6c14408a3 AVALANCHE: Repair rest of the credits. 2014-01-15 16:23:02 +01:00
Eugene Sandulenko b5498bc314 FULLPIPE: Implement ModalMap::getScenePicture() 2014-01-15 15:39:29 +02:00
Eugene Sandulenko 4a79295379 FULLPIPE: Implement ModalMap::initMap() 2014-01-15 15:39:29 +02:00
Eugene Sandulenko db4c5eb2c0 FULLPIPE: Implement ModalMap::init() 2014-01-15 15:39:29 +02:00
Eugene Sandulenko f3ca6b2626 FULLPIPE: Implement ModalMap::handleMessage() 2014-01-15 15:39:29 +02:00
Eugene Sandulenko f6ebae63cd FULLPIPE: More code to ModalMap 2014-01-15 15:39:29 +02:00
Eugene Sandulenko 659fe85716 FULLPIPE: Implement FullpipeEngine::openMap() and stub ModalMap class 2014-01-15 15:39:29 +02:00
Einar Johan Trøan Sømåen 74282cd415 WINTERMUTE: Stop any playing FMV when loading a savegame. 2014-01-15 12:11:07 +01:00
uruk ab98e22c3b AVALANCHE: Repair credits.pl 2014-01-15 11:28:44 +01:00
Strangerke 8524a3a714 MORTEVIELLE: Add some missing variable initializations 2014-01-15 07:12:46 +01:00
Paul Gilbert 0985cc51c2 VOYEUR: Implement pictures with horizontal or vertical flip 2014-01-14 23:19:24 -05:00
Paul Gilbert 5774ce53df VOYEUR: Further saving logic 2014-01-14 21:49:26 -05:00
D G Turner ac4087856f ALL: Remove optimization unstable code on checking for null after new.
These issues were identified by the STACK tool.

By default, the C++ new operator will throw an exception on allocation
failure, rather than returning a null pointer.

The result is that testing the returned pointer for null is redundant
and _may_ be removed by the compiler. This is thus optimization
unstable and may result in incorrect behaviour at runtime.

However, we do not use exceptions as they are not supported by all
compilers and may be disabled.

To make this stable without removing the null check, you could qualify
the new operator call with std::nothrow to indicate that this should
return a null, rather than throwing an exception.

However, using (std::nothrow) was not desirable due to the Symbian
toolchain lacking a <new> header.
A global solution to this was also not easy by redefining "new" as "new
(std::nothrow)" due to custom constructors in NDS toolchain and various
common classes.

Also, this would then need explicit checks for OOM adding to all new
usages as per C malloc which is untidy.

For now to remove this optimisation unstable code is best as it is
likely to not be present anyway, and OOM will cause a system library
exception instead, even without exceptions enabled in the application
code.
2014-01-15 02:36:19 +00:00
Paul Gilbert 74fbd2de82 TSAGE: Fix for R2R cursor closing dialogs on title screen 2014-01-14 20:12:38 -05:00
D G Turner 6814ce68bf QUEEN: Disable detection entries with unknown MD5sums.
This forces detection of the entries with missing MD5sums via the
fallback detector. This triggers will then trigger a warning
with the associated md5sum for the user to report to the team.
2014-01-14 23:11:20 +00:00