11 Commits

Author SHA1 Message Date
Chris Beck
ba51524f6e update copyright to year 2016
using this shell script:

find src -type f -print0 | xargs -0 sed -i "s|Copyright (C) \([[:digit:]]*\)\([ ]*\)-\([ ]*\)2015|Copyright (C) \1\2-\32016|g"
2016-01-02 23:59:31 -05:00
gfgtdf
280dd8e7ed fix some indention 2015-03-22 01:39:55 +01:00
Ignacio R. Morelle
57ae45387a New Year copyright update 2015-01-01 19:07:35 -03:00
Chris Beck
69e3469eb3 fix bug 21400: image_icon being selected as default frame image
This commit makes unit "image" be prioritized over "image_icon"
when an animation frame isn't given an image.
2014-10-16 18:28:07 -04:00
Mark de Wever
c119584895 Strip trailing whitespace. 2014-07-13 12:41:43 +02:00
David Mikos
36d7a5b0f0 Pause whiteboard recruit animation. 2014-06-29 10:36:31 +09:30
Chris Beck
a226e6dc10 fixup halos segfaulting
fixes up commit 82c6b98907d9709aef0d23a3846c1e75ac48e1d5

Use smart "handles" for halos which have been added to a halo
manager. The handles remember what manager they came from, and
delete themselves automatically on destruction.

This wasn't an issue when haloes were basically managed by a
C library, but if we want to get rid of the static singleton
system, the handles need to be smarter than just int's.
2014-06-26 22:18:57 -04:00
Chris Beck
82c6b98907 halo uses handle-body instead of static singleton idiom 2014-06-26 18:45:45 -04:00
Chris Beck
3d6bcb4c39 move animation cache from play_controller to only fcn that uses it
This allows us to eliminate two headers and move code out of
play_controller, and keep related code together. The cache is
now a static variable in the only function that calls it.
2014-06-17 14:23:39 -04:00
Chris Beck
6603de667b move animations vector to animation component, drop header in unit 2014-06-17 11:52:44 -04:00
Chris Beck
504e4932b5 split off animation fcs from unit to unit_animation_component
This is a strict refactor, all we do is move the functions and
variables used just for animations to "unit_animation_component",
and include the necessary headers appropriate.

With a bit more work we can probably remove the graphics related
headers from unit.hpp
2014-06-17 02:18:46 -04:00