Freeciv-3.1
|
Data Fields | ||
enum animation_type | type | |
int | id | |
bool | finished | |
int | old_x | |
int | old_y | |
int | width | |
int | height | |
union { | ||
struct { | ||
struct unit * mover | ||
struct tile * src | ||
struct tile * dest | ||
float canvas_dx | ||
float canvas_dy | ||
} movement | ||
struct { | ||
struct unit * virt_loser | ||
struct tile * loser_tile | ||
int loser_hp_start | ||
struct unit * virt_winner | ||
struct tile * winner_tile | ||
int winner_hp_start | ||
int winner_hp_end | ||
int steps | ||
} battle | ||
struct { | ||
struct tile * tile | ||
const struct sprite_vector * sprites | ||
int sprite_count | ||
} expl | ||
struct { | ||
bool shown | ||
struct tile * nuke_tile | ||
} nuke | ||
}; | ||
Definition at line 130 of file mapview_common.c.
union { ... } animation |
struct { ... } animation::battle |
Referenced by animations_free(), battle_animation(), and decrease_unit_hp_smooth().
float animation::canvas_dx |
Definition at line 144 of file mapview_common.c.
Referenced by move_unit_map_canvas(), and movement_animation().
float animation::canvas_dy |
Definition at line 145 of file mapview_common.c.
Referenced by move_unit_map_canvas(), and movement_animation().
struct tile* animation::dest |
Definition at line 143 of file mapview_common.c.
Referenced by move_unit_map_canvas().
struct { ... } animation::expl |
Referenced by decrease_unit_hp_smooth(), and explosion_animation().
bool animation::finished |
Definition at line 134 of file mapview_common.c.
Referenced by animation_add(), and update_animation().
int animation::height |
Definition at line 138 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), explosion_animation(), move_unit_map_canvas(), movement_animation(), put_nuke_mushroom_pixmaps(), and update_animation().
int animation::id |
Definition at line 133 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), move_unit_map_canvas(), put_nuke_mushroom_pixmaps(), put_one_tile(), and update_animation().
int animation::loser_hp_start |
Definition at line 150 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().
struct tile* animation::loser_tile |
Definition at line 149 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().
struct { ... } animation::movement |
Referenced by animations_free(), move_unit_map_canvas(), and movement_animation().
struct unit* animation::mover |
Definition at line 141 of file mapview_common.c.
Referenced by animations_free(), move_unit_map_canvas(), and movement_animation().
struct { ... } animation::nuke |
Referenced by nuke_animation(), and put_nuke_mushroom_pixmaps().
struct tile* animation::nuke_tile |
Definition at line 164 of file mapview_common.c.
Referenced by nuke_animation(), and put_nuke_mushroom_pixmaps().
int animation::old_x |
Definition at line 135 of file mapview_common.c.
Referenced by animation_add(), explosion_animation(), movement_animation(), nuke_animation(), and update_animation().
int animation::old_y |
Definition at line 136 of file mapview_common.c.
Referenced by explosion_animation(), movement_animation(), nuke_animation(), and update_animation().
bool animation::shown |
Definition at line 163 of file mapview_common.c.
Referenced by nuke_animation(), and put_nuke_mushroom_pixmaps().
int animation::sprite_count |
Definition at line 160 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), and explosion_animation().
const struct sprite_vector* animation::sprites |
Definition at line 159 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), and explosion_animation().
struct tile* animation::src |
Definition at line 142 of file mapview_common.c.
Referenced by move_unit_map_canvas(), and movement_animation().
int animation::steps |
Definition at line 155 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().
struct tile* animation::tile |
Definition at line 158 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), and explosion_animation().
enum animation_type animation::type |
Definition at line 132 of file mapview_common.c.
Referenced by animations_free(), decrease_unit_hp_smooth(), move_unit_map_canvas(), put_nuke_mushroom_pixmaps(), and update_animation().
struct unit* animation::virt_loser |
Definition at line 148 of file mapview_common.c.
Referenced by animations_free(), battle_animation(), and decrease_unit_hp_smooth().
struct unit* animation::virt_winner |
Definition at line 151 of file mapview_common.c.
Referenced by animations_free(), battle_animation(), and decrease_unit_hp_smooth().
int animation::width |
Definition at line 137 of file mapview_common.c.
Referenced by decrease_unit_hp_smooth(), explosion_animation(), move_unit_map_canvas(), movement_animation(), put_nuke_mushroom_pixmaps(), and update_animation().
int animation::winner_hp_end |
Definition at line 154 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().
int animation::winner_hp_start |
Definition at line 153 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().
struct tile* animation::winner_tile |
Definition at line 152 of file mapview_common.c.
Referenced by battle_animation(), and decrease_unit_hp_smooth().