Johannes Schickel
efc2808926
TOON: Fix debug console by implementing getDebugger.
...
svn-id: r54128
2010-11-07 21:21:55 +00:00
David Turner
4acad22d6e
TOON: Corrections to close some memory leaks.
...
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option.
svn-id: r54127
2010-11-07 21:08:46 +00:00
David Turner
279a760c5a
TOON: Added basic debugging console to engine
...
Since Toon uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.
However, the hotkey for this is currently disabled as it causes a segfault. Not sure why.
svn-id: r54123
2010-11-07 17:18:59 +00:00
Max Horn
18d40017e8
ENGINES: Unify code layout of all ADParams instances
...
svn-id: r54105
2010-11-07 01:01:18 +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
a7248a0601
ENGINES: Replace many printfs by warning/debug/debugN
...
svn-id: r54031
2010-11-01 21:37:47 +00:00
Max Horn
9a350f4398
ENGINES: Get rid of some (f)printfs
...
svn-id: r54011
2010-11-01 16:04:47 +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
ec08328f0c
TOON: Fixed some animation glitches for small sprites
...
Fixed problems when the uncompressed is smaller than compressed size
Bug fix sent by Thomas
It also fixes Bug fix #3086004 : "TOON: Lights above WACME doors incorrect"
svn-id: r53908
2010-10-28 21:39:46 +00:00
Sylvain Dupont
fc1e70eb01
TOON: Fix SetMousePos wrong position
...
When the game was in a close up, cmd_Set_Mouse_Pos was setting
a out-of-window mouse position.
svn-id: r53866
2010-10-26 22:26:13 +00:00
Sylvain Dupont
66da19552e
TOON: Implement cmd_Set_Anim_Scale_Size
...
Used to rescale the knight animation when the knight
is moved around the room in Chapter 2
svn-id: r53865
2010-10-26 22:18:14 +00:00
Sylvain Dupont
c509752da1
TOON: Fixed some Z-order issues for animations
...
Happened when the flag 0x20 was set in Init_Scene_Anim
It says to use the background layer system
svn-id: r53836
2010-10-25 22:41:34 +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
3fb739f90a
TOON: Fix conversation freeze in the beginning of chapter 2
...
A missing talk animation was started
svn-id: r53723
2010-10-22 23:35:56 +00:00
Sylvain Dupont
4b98404d7b
TOON: Close correctly sound packs
...
svn-id: r53720
2010-10-22 23:29:52 +00:00
Sylvain Dupont
9cbb0d5579
TOON: More talk animation fixes
...
There was a conflict between the idle animation and the talk animation
in some cases (showing the chain anim & idle anim in the arcade)
svn-id: r53713
2010-10-22 21:42:48 +00:00
Sylvain Dupont
63862026bc
TOON: Fix for a small typo in talking state
...
svn-id: r53710
2010-10-22 21:21:57 +00:00
Sylvain Dupont
66e3815963
TOON: Fixed Bug #3089974 and #3086015
...
Bug #3089974 : "TOON: Two Drews when exiting King's bedroom"
Bug #3086015 : "TOON: Woof doesn't idle correctly"
Most talking animation bugs are fixed with this.
The mouse is now hidden when entering a room.
svn-id: r53706
2010-10-22 20:53:25 +00:00
Sylvain Dupont
4d28de5623
TOON: Prevent quick load/save when it's not currently possible
...
svn-id: r53550
2010-10-16 22:07:09 +00:00
Sylvain Dupont
40d38fcc0d
TOON: Added most of the remaining Advanced Engine Features
...
Loading/Saving during runtime, Advanced Pausing,
Load savestate via launcher, RTL
svn-id: r53549
2010-10-16 21:58:33 +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
Sylvain Dupont
49fc73e3be
TOON: Fix bugs #3085967 and #3085969 about guards dance
...
Bug #3085969 : "TOON: Missing dialogue for Palace guards dance"
Bug #3085969 : "TOON: Missing dialogue for Palace Guards sequence"
svn-id: r53543
2010-10-16 17:06:10 +00:00
Sylvain Dupont
de1b17fb99
TOON: Fix inventory autoclose when the click is too long
...
svn-id: r53542
2010-10-16 15:55:11 +00:00
Sylvain Dupont
291f39044f
TOON: Removed useless debug printf
...
svn-id: r53541
2010-10-16 15:49:48 +00:00
Sylvain Dupont
fff2066872
TOON: Fixed bug #3085999 with bad mouse button behavior
...
Bug #3085999 : TOON: "Exiting inventory screen loop"
Now the events are fired on mouse down instead of on mouse up.
svn-id: r53540
2010-10-16 15:44:50 +00:00
Sylvain Dupont
7b50c2e3c3
TOON: Fixed Bug #3086564 with freezing conversation
...
Bug #3086564 : "TOON: Conversation freeze"
There was an error in hardcoded conversation flag function
Fixed also all endianess problems in conversations
svn-id: r53539
2010-10-16 15:14:09 +00:00
Sylvain Dupont
2c2ca3e353
TOON: Fixed bug #3086000 there was no magnifier effect
...
Bug #3086000 : "TOON: Magnifying glass cursor drawn incorrectly"
Zoom magnifier postprocess fx has been implemented
svn-id: r53529
2010-10-16 00:17:19 +00:00
Sylvain Dupont
19272595e7
TOON: Fixed Bug #3085978 with "Exit Not Defined" appearing
...
Bug #3085978 : "TOON: "Exit not defined" when leaving cellar"
svn-id: r53521
2010-10-15 22:05:54 +00:00
Sylvain Dupont
906704b213
TOON: Fixed bug #3084738 with loading bottomless bag state
...
Bug #3084738 : "TOON: Vanishing bottomless bag"
svn-id: r53520
2010-10-15 21:58:34 +00:00
Martin Kiewitz
5ba92baa9f
TOON: readding spanish special chars removed in r53513
...
svn-id: r53514
2010-10-15 20:52:29 +00:00
Martin Kiewitz
effe45e581
TOON: fix Ä umlaut and " char in german version of toonstruck
...
svn-id: r53513
2010-10-15 20:32:46 +00:00
Filippos Karapetis
5961857049
TOON: Fixed code analysis warning - bug #3087867
...
svn-id: r53502
2010-10-15 15:17:49 +00:00
Max Horn
4ccce19876
ENGINES: Enhance namespace comments a bit
...
svn-id: r53484
2010-10-15 12:48:19 +00:00
Max Horn
34cc54eaa9
Add doxygen comment for namespaces of several engines.
...
This is an empty template which ideally engine maintainers
would update and complete with concrete information...
svn-id: r53481
2010-10-15 12:28:56 +00:00
Jordi Vilalta Prat
06c2b6bace
TOON: Fixed the Spanish special characters.
...
- Wrap the text to font mapping in a function to give more flexibility.
- Add mapping of the opening exclamation and question marks to the common
mapping array.
- Added a special case for a character already mapped incorrectly in the
original interpreter, which seems to conflict with what's required by
the other languages.
svn-id: r53461
2010-10-14 22:27:48 +00:00
Jordi Vilalta Prat
00a477fa79
TOON: Fix some labels of the Spanish version.
...
The solution was suggested by Strangerke after realising it looked like a
copy-paste typo from the Russian version.
svn-id: r53458
2010-10-14 18:51:11 +00:00
Sylvain Dupont
320dd0b071
TOON: Fixed Bug #3084725 with cursor disappearing at screen borders
...
Bug #3084725 : "TOON: Glitch in cursor anim"
svn-id: r53453
2010-10-14 00:03:53 +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
Sylvain Dupont
4c4e821326
TOON: Fixed bug #3085971 with missing "fail" sound sfx
...
Bug #3085971 : "TOON: Missing sfx for invalid Flux request"
svn-id: r53260
2010-10-12 22:57:03 +00:00
Sylvain Dupont
8061d8cac9
TOON: Fixed bug #3086025 with bad inventory behavior
...
Bug #3086025 "TOON: Inventory not working correctly with butter"
svn-id: r53199
2010-10-12 22:18:43 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sylvain Dupont
eb52eb32a0
TOON: Fixed Flux disappearing in barn when talking to the cow
...
Several animations are not present for every Flux facing.
There is an hardcoded table to handle this.
svn-id: r53157
2010-10-11 23:16:15 +00:00
Sylvain Dupont
95c0e6cc42
TOON: Fixed uninitialized var
...
svn-id: r53156
2010-10-11 23:14:32 +00:00
Sylvain Dupont
21cb3a62b6
TOON: Reverted script throttle for now and fixed anim timing issue
...
svn-id: r53155
2010-10-11 23:12:59 +00:00
Filippos Karapetis
576d6429bc
TOON: Reduced CPU usage by about 40%
...
svn-id: r53151
2010-10-11 21:27:28 +00:00
Sylvain Dupont
ce97c61079
TOON: Fixed offsets in hard coded conversation musics
...
svn-id: r53144
2010-10-10 23:10:14 +00:00
Sylvain Dupont
a4c657b8cf
TOON: Made all ToonEngine functions non-virtual
...
svn-id: r53134
2010-10-10 21:40:25 +00:00
Johannes Schickel
97f042e530
TOON: Adapt include guard for consistency.
...
svn-id: r53133
2010-10-10 21:26:37 +00:00