Commit Graph

33 Commits

Author SHA1 Message Date
D G Turner
cfe7bf614b TOON: Remove unecessary getSystem() function.
This was needed due to the unecessary protected shadow variable
hiding the Engine superclass _system member variable.
2012-07-07 14:37:15 +01:00
sylvaintv
dedbfb836a TOON: Fix Flux jumpy animation when imprisoned
Idle animation was reset every frame when changing facing point.
Fix also Drew description when right-clicking on Flux
2011-10-07 01:10:51 +02:00
Strangerke
b60a706751 JANITORIAL: Fix some formatting glitches in gob, hugo and toon 2011-09-08 07:55:40 +02:00
Max Horn
59dfd6e859 TOON: Remove all instances of s(n)printf 2011-06-02 10:22:23 +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
sylvaintv
3964ce8123 TOON: Add more dirtyRect checks 2011-03-13 23:11:47 +01: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
53d6a4f831 TOON: Decrease CPU usage
Added dirty rects
Reduced the max FPS from 60 to 30
2011-03-08 00:51:21 +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
Sylvain Dupont
5257d91e99 TOON: Fixes two movie issues
- Can't skip the videos with left button anymore, now the Nefarius video on the
TV is played normally and not skipped.
- Last video playback 2x too big in height.

svn-id: r55662
2011-01-30 20:21:45 +00:00
Sylvain Dupont
5934ccd184 TOON: Fix the last known z-order issues
Rewrote the Z-order management, it's now very close to the original code

svn-id: r55650
2011-01-30 02:18:53 +00:00
Sylvain Dupont
01c32f7287 TOON: More Drew visibility fixes
In the castle, Drew disappeared if you clicked twice on the closed door.

svn-id: r55649
2011-01-30 00:44:51 +00:00
Sylvain Dupont
c450ac28e9 TOON: Add workarounds in transformed barn scene
Drew does not disappear anymore in the barn when filling his can.
Slowed down the talk animations a bit

svn-id: r55626
2011-01-29 22:15:57 +00:00
Sylvain Dupont
875a840a7a TOON: Fixed crash of bug #3166533
Bug #3166533: "TOON: crashes when leaving room"

svn-id: r55621
2011-01-29 18:42:33 +00:00
Sylvain Dupont
63e58baae1 TOON: Fix problem when exiting the king cave
svn-id: r55042
2010-12-26 14:32:38 +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
698f4c2b45 TOON: Walk animation improved
Smoothing direction changes. Still needs to be polished though.

svn-id: r54221
2010-11-13 01:15:37 +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
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
Max Horn
a7248a0601 ENGINES: Replace many printfs by warning/debug/debugN
svn-id: r54031
2010-11-01 21:37:47 +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
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
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
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
23aa94ec02 TOON: Fix fast animation "Ready" on Sweetfighter game
svn-id: r53129
2010-10-10 20:30:36 +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
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