Commit Graph

63 Commits

Author SHA1 Message Date
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
Johannes Schickel
85f770599f TOON: Coding guideline corrections.
svn-id: r53132
2010-10-10 21:26:18 +00:00
Sylvain Dupont
0c6c03bfd6 TOON: Fix potential undefined operation warning
svn-id: r53131
2010-10-10 21:19:40 +00:00
Sylvain Dupont
aa89bbbcbd TOON: Music attenuation when someone talks
svn-id: r53130
2010-10-10 21:12:10 +00:00
Sylvain Dupont
23aa94ec02 TOON: Fix fast animation "Ready" on Sweetfighter game
svn-id: r53129
2010-10-10 20:30:36 +00:00
Sylvain Dupont
927f560eb2 TOON: Fixed bad Flux state when restoring a game
svn-id: r53127
2010-10-10 16:52:15 +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
Sylvain Dupont
c952f7aa58 TOON: Added special conversation musics
svn-id: r53124
2010-10-10 15:47:05 +00:00
Sylvain Dupont
0d6d895478 TOON: Disable too many levels of recursion with click events
svn-id: r53119
2010-10-10 14:30:13 +00:00
Sylvain Dupont
7a7eabb139 TOON: Fix end of idle animations
svn-id: r53118
2010-10-10 14:27:19 +00:00