Commit graph

51 commits

Author SHA1 Message Date
Jérémy Rosen
dd48d3d8db allow multiple sub-animations, in all animations (not just missile in fight) 2007-10-28 10:17:53 +00:00
Jérémy Rosen
749a065b11 reorganizing backard compatibility stuff to avoid stupid mistakes,
also put most of the ugly code in the animation files instead of
spread between unit.xpp and unit_types.xpp
2007-10-19 17:42:45 +00:00
Jérémy Rosen
1db6b51ca8 grrr ok, fixed the wrong return 2007-10-15 21:38:16 +00:00
Jérémy Rosen
ba281e0aa8 more unit animation internal changes 2007-10-13 09:30:11 +00:00
Jérémy Rosen
29e3c21f87 redesign the internals of unit animations, preparing for future great stuff 2007-10-12 18:57:45 +00:00
Jérémy Rosen
366f1b9b55 allow animation level progressive parameters.
This should simplify backward compatibilty code greatly...
2007-10-12 17:17:16 +00:00
Jérémy Rosen
94a2b19d4a deprecating properly image_short and image_long (code part) 2007-10-05 19:57:55 +00:00
Jérémy Rosen
d84b7f63b3 move attack animations out of [attack] and into [unit], code+wmllint 2007-09-08 07:51:22 +00:00
Jérémy Rosen
90846dd9ae more animations converted... 3 more to go 2007-09-01 12:48:30 +00:00
Jérémy Rosen
3124e019d3 more internal changes to animation engine, still not consequences expected... 2007-09-01 09:11:39 +00:00
Jérémy Rosen
79c20ac42f removed the unused [neighbour_unit_filter] from animations,
SUF does it for us, and does it better
2007-09-01 06:28:43 +00:00
Jérémy Rosen
509f21ffe1 use more const values instead of hard coded numbers
fix bug with units wo idle anims playing random anims instead

adapted movement anims to the new animation choice method
2007-08-22 22:17:30 +00:00
Patrick Parker
c84a1c08f3 use a constant instead of hard-coding -2 everywhere unit_animation matches fail 2007-08-21 23:02:08 +00:00
Jérémy Rosen
991cbc8219 change most non-fight animations to the new choosing method.
No user impact, WML deprecation are currently commented
2007-08-21 21:14:10 +00:00
Mark de Wever
080eb69f60 Updated the headers to state GPL 2+ and a few changelog cleanups. 2007-08-15 13:41:56 +00:00
Mark de Wever
bb01934b85 A rather large update which updates the copyright info
* Wesnoth is distributed under the terms of the GPL version 2, made
  that more explicit

* updated the copyright range to 2007

* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Eric S. Raymond
43e5de9fee Huge patch pretty much all name changes.
display is now the base class and game_display the derived; code that
can use the base class because it doesn't need to grok units or teams
(like preferences.cpp and hotkeys.cpp) does so.
2007-06-28 05:32:36 +00:00
Mark de Wever
7c5c3d3ae4 set svn:keywords to 'Author Date Id Revision'
added /* $Id$ */ to files which didn't have that
2007-06-04 20:48:38 +00:00
Jérémy Rosen
e97d041fd8 fix filtering on most fighting animations 2007-04-18 19:07:46 +00:00
Mark de Wever
c347e9790b Added some typedefs for the terrain_translations and shorted the names a little.
Added some extra comment to terrain_translation.hpp.

Applied these changes to all users and did some whitespace enhancement.

Various minor code cleanups while busy.
2006-12-03 11:48:45 +00:00
Mark de Wever
ff1143244f merge trunk 2006-11-15T18:25:24Z!koraq@xs4all.nl..2006-11-27T17:10:23Z!koraq@xs4all.nl 2006-11-27 17:33:17 +00:00
Mark de Wever
b21495719d Fixed the unit animation terrain filter.
This filter appeared not to work properly due to a coding error and a
logical error in the orginal code.

Rewrote the code to solve the logical error and it functions again.
2006-11-15 21:49:24 +00:00
Mark de Wever
d88d1d4ae4 Changed terrain translation from a class to a namespace
no real reason for a class in the new system
fixed all callers 
added some comment and cleanup unused code
2006-11-15 18:25:24 +00:00
Mark de Wever
7feba90996 Merged trunk 2006-10-20T17:19:30Z!crazy-ivanovic@gmx.net..2006-10-31T10:09:11Z!edb@sigluy.net 2006-10-31 18:12:46 +00:00
Mark de Wever
f3fcdf4742 Merged commit 2006-10-10T18:52:47Z!koraq@xs4all.nl to 2006-10-20T17:19:30Z!crazy-ivanovic@gmx.net from the trunk...
...and fixed the conficts.
2006-10-20 19:29:08 +00:00
Mark de Wever
7ad017f6f3 A big merge with the local changes so far.
Removed most of the terrain char assumptions but not ready yet. Also a
lot of bugs are left.
2006-10-10 18:52:47 +00:00
Jérémy Rosen
55bcd57145 more animation filtering on attack,
zookeeper needs to improve the berserker easter egg...
2006-09-14 20:20:38 +00:00
Jérémy Rosen
87e8ffe410 allow animation filtering on secondary unit 2006-09-10 17:55:15 +00:00
Jérémy Rosen
c889b4364e add filtering on SUF to animations 2006-09-10 17:04:26 +00:00
Jérémy Rosen
b72ca74f3e add level in and level out animations 2006-09-06 21:40:47 +00:00
Jérémy Rosen
d433bb211d add idle animations... now artists can go frantic :) 2006-09-06 19:34:37 +00:00
Jérémy Rosen
e08f8d1c3c add alpha as animation parameter
add recruit animation
made a recruit animation for skeleton
2006-09-04 18:15:53 +00:00
Jérémy Rosen
e476886059 put swing filtering back in, now that 6644 has been fixed 2006-09-03 13:33:55 +00:00
Patrick Parker
1706536918 revert 2006-08-07T20:34:56Z!jeremy.rosen@enst-bretagne.fr until the resolution of bug #6644
"unit animations crash in trunk"
2006-08-15 05:57:08 +00:00
Jérémy Rosen
4967e62489 fighting animations can now filter on swing number 2006-08-07 20:34:56 +00:00
Jérémy Rosen
564475aa7f implement healing anims
yes, I know, feature freeze and all that, but that's actually the
simplest way to fix bug #6231.
2006-06-25 13:03:14 +00:00
Gunter Labes
23ca57f01e ran codeclean over all files and set them all to svn:eol-style 'native' 2006-06-05 20:02:25 +00:00
Jérémy Rosen
e715d188b9 fix infinite loop on ranged attack and also add leading anims
yes, yes I know I should do two commits, but I'm really in a hurry right now
2006-05-29 18:35:00 +00:00
Rusty Russell
4663e74575 Fix standing anim slow bug: two frames were created even though no anim present 2006-05-27 18:43:22 +00:00
Jérémy Rosen
edc15e7031 allow conditions in animations 2006-05-21 16:43:03 +00:00
Jérémy Rosen
21d2d982d1 standing animation, second try
Soliton, this should be OK preformance wise, but please provide feedback
2006-05-20 11:16:33 +00:00
Gunter Labes
3b9e43423b reverted 2006-05-14T09:16:04Z!jeremy.rosen@enst-bretagne.fr for now as requested by boucman 2006-05-15 23:55:22 +00:00
Jérémy Rosen
84eff5e940 make standing image an animation,
...this also allows us to have terrain specific and directional
standing frames.... and Jetryl is happy :)

I've also added the moving feather for the duelist provided by Frame
2006-05-14 09:16:04 +00:00
Jérémy Rosen
ebe9c01ab2 better animation filtering criterias 2006-05-08 09:11:58 +00:00
Patrick Parker
a7671a2adb Loadscreen Progressbar:
added inner spacing for border and changed colors to wesnoth theme as
requested by Eleazar

(http://www.wesnoth.org/forum/viewtopic.php?t=10971)

Also: Minor fix for compilation warning of template re-instantiation
2006-04-23 22:45:33 +00:00
Jérémy Rosen
e8abf97884 fix uninitialized variables, this should fix -O3 compile 2006-04-09 11:50:40 +00:00
Jérémy Rosen
3bc3b27066 small improvements 2006-03-26 16:03:56 +00:00
Jérémy Rosen
f04f6a2efe fix healing bugs 2006-03-26 13:34:23 +00:00
Jérémy Rosen
4c14bd8a32 the long promissed new animation engine... report all glitches to me (boucman) 2006-03-24 19:17:23 +00:00
Jérémy Rosen
0b9b041025 change in sound handling WML within animations,
...sound are now part of the frame, and not a separate element
2006-03-02 23:33:46 +00:00