Commit Graph

34 Commits

Author SHA1 Message Date
Alyssa Milburn
7c4f772e7e TOON: Tidy up decodeADPCM. 2011-06-06 10:55:36 +02:00
Max Horn
185536e4b1 TOON: Remove unused variable 2011-05-25 23:12:53 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
169512852e TOON: Use shared ADPCM data tables 2011-04-13 12:48:58 +02:00
Max Horn
79f514a397 TOON: Make ADPCM tables const 2011-04-13 11:49:24 +02:00
strangerke
fae2be668f TOON: Cleanup 2011-03-10 01:32:03 +01:00
strangerke
cf657d09e8 TOON: Janitorial: Suppress blanks at end of lines 2011-03-10 00:25:29 +01:00
sylvaintv
95a1624f6d TOON: Improve music fading between rooms 2011-03-06 17:54:03 +01:00
Sylvain Dupont
7ad4241649 TOON: Remove misc/ from paths since it's in global folders
Caps'ed the filenames, even if it should not matter normally

svn-id: r55714
2011-02-01 23:26:54 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Sylvain Dupont
db51fb3386 TOON: Fix free/malloc mismatch
svn-id: r54224
2010-11-13 02:59:46 +00:00
Sylvain Dupont
a373bd4a53 TOON: Fix more memory leaks
Mainly leaks in audio and animations

svn-id: r54223
2010-11-13 02:44:34 +00:00
Sylvain Dupont
8a4cc14b1a TOON: Fix audio crashs and more memory leaks
svn-id: r54219
2010-11-12 22:31:04 +00:00
David Turner
52ecbd4305 TOON: Even more corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a few still remain.

svn-id: r54185
2010-11-10 06:22:18 +00:00
David Turner
a74b8ad67f TOON: More corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain.

svn-id: r54176
2010-11-09 23:57:56 +00:00
David Turner
5d30eeea95 TOON: Further corrections to close memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain.

svn-id: r54136
2010-11-08 03:14:32 +00:00
Sylvain Dupont
1e59b9dd2c TOON: Fix sound effect archive destroy
Variable not initialized. Crashed when no sound effects were present in the room
(Bug fixed thanks to Thomas)

svn-id: r54076
2010-11-04 22:12:16 +00:00
Sylvain Dupont
9a704e51c1 TOON: Fix ambient audio destroy in chapter 2
(Thanks to Thomas)

svn-id: r54075
2010-11-04 22:06:22 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Sylvain Dupont
ecd3e29fe0 TOON: Stops all Sfx/voice when exiting a room
Caused crashs when exiting when a sfx or voice was still playing
Bug found by Thomas

svn-id: r53928
2010-10-29 22:00:31 +00:00
Sylvain Dupont
7ab1e368e8 TOON: Implemented Ambient SFX
For example used in arcade playing sounds, lullaby music,
toilet game win sound effects...

svn-id: r53834
2010-10-25 22:15:47 +00:00
Sylvain Dupont
4b98404d7b TOON: Close correctly sound packs
svn-id: r53720
2010-10-22 23:29:52 +00:00
Sylvain Dupont
748e00f1cf TOON: Implemented the 4 different mute modes for sound/text
As specified in the hotkeys screen (music,dialog,sound,text on/off)
Sounds are still played but with a volume = 0 (for timing issues)

svn-id: r53545
2010-10-16 19:27:11 +00:00
Lars Persson
c0e2f1c6f8 TOON: Updated code to build properly for WINSCW and GCCE(symbian)
Added templates to MAX & MIN functions. Correct usage of OpcodeV2(instead of Opcode)
Match implementation with function definition. (int32 is not == int on all platforms)

svn-id: r53401
2010-10-13 07:14:38 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sylvain Dupont
ce97c61079 TOON: Fixed offsets in hard coded conversation musics
svn-id: r53144
2010-10-10 23:10:14 +00:00
Johannes Schickel
85f770599f TOON: Coding guideline corrections.
svn-id: r53132
2010-10-10 21:26:18 +00:00
Sylvain Dupont
aa89bbbcbd TOON: Music attenuation when someone talks
svn-id: r53130
2010-10-10 21:12:10 +00:00
Torbjörn Andersson
1f6bc7e309 TOON: Fix distortion in some looped music
This was very noticeable in the footman conversation music.

svn-id: r53125
2010-10-10 16:13:55 +00:00
Johannes Schickel
eef9f7b57b TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
2010-10-09 11:11:26 +00:00
Torbjörn Andersson
20e6baca22 TOON: More semi-colon cleanup.
svn-id: r53097
2010-10-09 10:41:01 +00:00
Eugene Sandulenko
e11637c7bc TOON: Normalized include paths
svn-id: r53089
2010-10-08 22:45:28 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00