Commit graph

72 commits

Author SHA1 Message Date
David White
97bb9fadf6 make drawing smoother 2006-12-31 17:50:21 +00:00
Jérémy Rosen
5268469e60 make animation use vect instead of map, first step for random durations 2006-10-28 11:59:17 +00:00
Jérémy Rosen
96cab1a3cf change function prototype slightly ot prevent incorrect use 2006-10-16 21:22:19 +00:00
Patrick Parker
330408863d make trunk compile again. 2006-10-16 00:52:03 +00:00
Jérémy Rosen
939259648a remove a high maintainance cost/low benefit feature of animation, no user impact 2006-10-15 21:20:55 +00:00
Jérémy Rosen
5d2f781f7b new low level animation engine,
should ease the macroification and tuning of animations once they are
converted (backward compatible).
2006-10-15 18:19:08 +00:00
Jérémy Rosen
94cf19fe44 fix what I broke yesterday 2006-08-07 19:52:30 +00:00
Jérémy Rosen
cc18ff7fe2 structural change needed for progressive parameters 2006-08-05 13:56:12 +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
Jérémy Rosen
91d376143d make flag on village synchronized per team instead of globally 2006-05-08 08:07:29 +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
56de0453f3 more internal changes to the unit display code,
...unit display themselves when moving instead of being displayed by
someone else
2006-02-17 18:52:24 +00:00
Jérémy Rosen
3c8b58be8d minor fixes in animation engine 2006-01-18 18:31:24 +00:00
Jérémy Rosen
8e43e4f4b8 first round of warning fixes 2006-01-08 11:14:47 +00:00
Jérémy Rosen
074f75c9ff Drake landing, take two 2005-12-19 20:43:59 +00:00
András Salamon
8bd9bc98a5 ran codeclean against files 2005-06-04 19:16:06 +00:00
Guillaume Melquiond
fa1f3f6444 Remove the template code from animated.hpp and put it into animated.cpp.
This code was indirectly included in at least 25 files: the 25 files
for which a dependency on string_utils.hpp has been added by a
consequence of its removal from animated.hpp. It should induce a small
compile time improvement.
2005-02-21 09:05:51 +00:00
Guillaume Melquiond
6eb0df334a Slowly going away from big config.cpp 2005-02-20 20:46:48 +00:00
Dave White
0172e51f45 removed some unnecessary diagnostics (CVS internal) 2004-08-25 02:59:51 +00:00
Philippe Plantier
906845dc4d [[Editor optimization]]
* Minor speed optimizations (TODO: test whether these are actually
  worth something)

* Fixed editor where nothing was displayed until terrains were rebuilt.
2004-08-15 19:42:44 +00:00
Dave White
36e49bc678 added [then] and [else] tags under [object] tags 2004-07-18 21:07:56 +00:00
Philippe Plantier
ac441889d9 [[Animation refactoring]]
* Refactoring of all animation code in unit_display and halo.

* Adding animated.hpp, and the animated<T> template.

* Partial rewrite of image.?pp for speed: looking up images was what
  was slowing the game

* Replacing all SDL_Surface*, and scoped_sdl_surface, with
  shared_sdl_surface, which was renamed surface.

* Optimizing halo movement when unit moves

* Inlining some stuff for performance reasons

* Optimizing invalide_all redraws

* Adding support for animated terrain images
2004-07-18 19:02:25 +00:00