Torbjörn Andersson
8d25c55891
KYRA: Fix MIDI fade-out behaviour
...
There are two ways that the music volume may be set:
The setSourceVolume() specifies the current music volume, as
ScummVM sees it. This is stored in _sources[].volume.
The MIDI data itself can trigger volume events. These are handled
by send(), which stores the volume - usually (always?) 100 - in
_sources[_curSource].controllers[]. The volume is then adjusted
by _sources[].volume.
When music is faded out, setSourceVolume() is called repeatedly
with progressively smaller values for the volume. What it should
do, then, is to make sure that the volume is set to what was
previously set to in send(), adjusted to the fading volume.
At least, that's how I understand it.
2013-04-21 12:54:19 +02:00
Torbjörn Andersson
5d7067baaa
HOPKINS: Silence GCC warning
2013-04-21 10:18:30 +02:00
Strangerke
cb2b375ff0
HOPKINS: Fix missing break in switch CID 1003757
2013-04-21 08:28:23 +02:00
Strangerke
b2d5b40305
HOPKINS: Enlarge _lockedAnims array to avoid potential out of bound access. CID 1004012
2013-04-21 08:25:42 +02:00
Paul Gilbert
4518535968
HOPKINS: Removed spaces after asserts
2013-04-21 01:13:02 -04:00
Strangerke
48c62cbb7d
HOPKINS: Fix code related to _zoneLine
2013-04-21 00:40:09 +02:00
Strangerke
f66e702e01
HOPKINS: More MAX_LINES cleanup
2013-04-21 00:28:41 +02:00
Strangerke
b7d4ece827
HOPKINS: Add extra sanity check CID 1004008
2013-04-21 00:26:41 +02:00
Willem Jan Palenstijn
31e08b923c
HOPKINS: MAX_LINES cleanup
2013-04-21 00:24:48 +02:00
Einar Johan Trøan Sømåen
b97edfcbe0
WINTERMUTE: Fix the final int->int32 to allow AmigaOS4-compile.
2013-04-21 00:24:02 +02:00
Strangerke
be0f082ab6
HOPKINS: Improve test on lineData in testLine. CID 1003821
2013-04-21 00:00:54 +02:00
Willem Jan Palenstijn
f279cc0e51
SCI: Add extra sanity check
2013-04-20 23:53:06 +02:00
Strangerke
3c94770349
HOPKINS: Fix missing break in characterRoute() CID 1003758
2013-04-20 23:48:34 +02:00
Strangerke
08b1002eb5
HOPKINS: Fix check on index in LinesManager. CID 1004010
2013-04-20 23:41:23 +02:00
Matthew Hoops
72101c66fa
AUDIO: Cleanup naming
2013-04-20 15:18:09 -04:00
Matthew Hoops
c38beb0ced
AUDIO: Remove default makeADPCMStream rate/channels values
2013-04-20 14:54:41 -04:00
Einar Johan Trøan Sømåen
f1c3869669
WINTERMUTE: Fix ScriptExtDate-saving (bump savegame-version to 1.2.1).
...
This also fixes int->int32 in ScriptExtDate::transfer.
2013-04-20 18:32:42 +02:00
Einar Johan Trøan Sømåen
d8eff7be22
WINTERMUTE: Change ScriptValue to use int32.
2013-04-20 18:18:54 +02:00
Einar Johan Trøan Sømåen
51e17d9f86
WINTERMUTE: Further reduce the amount of int->int32-confusion.
2013-04-20 18:11:47 +02:00
Einar Johan Trøan Sømåen
2625f3931a
WINTERMUTE: Fix a few more int->int32's spotted by fuzzie.
2013-04-20 17:37:19 +02:00
Einar Johan Trøan Sømåen
839c16e848
WINTERMUTE: Let TMEMBER_INT take int32, not int.
2013-04-20 17:16:56 +02:00
Einar Johan Trøan Sømåen
2a2264dc61
WINTERMUTE: Use int32 in coll_templ.h
2013-04-20 17:11:09 +02:00
Willem Jan Palenstijn
24b0b6aa43
SCI: Fix memory leak
2013-04-20 16:27:59 +02:00
Willem Jan Palenstijn
9694cbbaaf
SCI: Fix resource type range checks
2013-04-20 16:17:49 +02:00
Willem Jan Palenstijn
09fc458f15
SCI: Report sound stream loading errors
2013-04-20 16:13:41 +02:00
johndoe123
4fc57dac8f
SWORD25: Fix blitting code
...
- Rename collectRenderQueue to preRender
- Only do forceRefresh() in Panel::setColor() and Text::setText() if the new values are different
- Move child object resorting from RenderObject::render() into RenderObject::preRender()
2013-04-20 00:34:32 +02:00
Willem Jan Palenstijn
e273a387a7
SCI: Replace workaround for bug #3605269 by script patch
2013-04-19 23:50:04 +02:00
Einar Johan Trøan Sømåen
c5bd3ecb13
WINTERMUTE: Change more int's to int32s.
2013-04-19 18:20:43 +02:00
Einar Johan Trøan Sømåen
9184bb5c24
WINTERMUTE: Add overrides to Font-classes.
2013-04-19 18:15:25 +02:00
Einar Johan Trøan Sømåen
a2fb3dfe9e
WINTERMUTE: Replace a few more ints by int32s.
2013-04-19 18:13:42 +02:00
Einar Johan Trøan Sømåen
315550c0f8
WINTERMUTE: Change transfer(int *val) to transfer(int32 *val)
2013-04-19 17:29:34 +02:00
Einar Johan Trøan Sømåen
72d0affe01
WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses.
2013-04-19 17:17:53 +02:00
Einar Johan Trøan Sømåen
60a474d452
WINTERMUTE: Initialize member _gameRef in SaveThumbHelper
2013-04-19 17:17:41 +02:00
Johannes Schickel
2785c3a528
Merge pull request #322 from fingolfin/fix-clang-warnings
...
Fix clang warnings
2013-04-19 06:43:47 -07:00
Alyssa Milburn
80271c24b1
MOHAWK: Try LB subpage 0 if loading subpage 1 fails.
2013-04-19 15:05:53 +02:00
Sven Hesse
4a59c02a8f
GOB: Add a call to Inter::animPalette() in the hotspot checker
...
The original has the call there too, as confirmed using
the disasm of the gob3 binary.
This fixes bug #3611208 .
2013-04-19 11:40:18 +02:00
Strangerke
907f650620
HOPKINS: Remove useless endless loop in AnimationManager
2013-04-19 08:16:15 +02:00
Strangerke
cbf85da3f3
HOPKINS: Simplify code in checkSounds()
2013-04-19 08:10:30 +02:00
Strangerke
398b4353a6
HOPKINS: Remove dead code and out of bound access in SoundManager
2013-04-19 08:05:29 +02:00
Strangerke
6de13b475e
HOPKINS: Fix missing break in ScriptManager. CID 1003759
2013-04-19 00:51:00 +02:00
Alyssa Milburn
02d81911cd
MOHAWK: Add LB function name aliases.
2013-04-19 00:48:41 +02:00
Strangerke
16259a52e3
HOPKINS: Remove dead code in ScriptManager
2013-04-19 00:46:49 +02:00
Alyssa Milburn
aa140c4982
MOHAWK: Fix bug in View::setModule (thanks ST).
2013-04-19 00:46:11 +02:00
Alyssa Milburn
ba9efd5c40
MOHAWK: Allow skipping LB videos, plus other video bits.
2013-04-19 00:42:28 +02:00
Alyssa Milburn
73d6294619
MOHAWK: Some LB bytecode improvements.
2013-04-19 00:36:45 +02:00
Alyssa Milburn
541a0b8c69
MOHAWK: Implement LB's kTokenEval.
2013-04-19 00:32:49 +02:00
Alyssa Milburn
aa1fe8a161
MOHAWK: Implement kLBXDataFileAddSection/SetKey.
2013-04-19 00:25:18 +02:00
Alyssa Milburn
ace04a92a2
COMMON: Add ConfigFile::addSection function.
2013-04-19 00:22:07 +02:00
Strangerke
d7a4a12b67
HUGO: Initialize variables in Hugo engine constructor. CID 1002886
2013-04-19 00:21:37 +02:00
Strangerke
caa04fb8bf
JANITORIAL: Add a CRLF at the end of the file to fix compilation using MSVC (complete previous commit)
2013-04-19 00:02:51 +02:00