Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
animation Struct Reference

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 
 
};  
 

Detailed Description

Definition at line 132 of file mapview_common.c.

Field Documentation

◆ [union]

union { ... } animation

◆ [struct]

struct { ... } animation::battle

◆ canvas_dx

float animation::canvas_dx

Definition at line 146 of file mapview_common.c.

Referenced by move_unit_map_canvas().

◆ canvas_dy

float animation::canvas_dy

Definition at line 147 of file mapview_common.c.

Referenced by move_unit_map_canvas().

◆ dest

struct tile* animation::dest

Definition at line 145 of file mapview_common.c.

◆ [struct]

struct { ... } animation::expl

◆ finished

bool animation::finished

Definition at line 136 of file mapview_common.c.

Referenced by update_animation().

◆ height

int animation::height

Definition at line 140 of file mapview_common.c.

◆ id

int animation::id

Definition at line 135 of file mapview_common.c.

◆ loser_hp_start

int animation::loser_hp_start

Definition at line 152 of file mapview_common.c.

◆ loser_tile

struct tile* animation::loser_tile

Definition at line 151 of file mapview_common.c.

◆ [struct]

struct { ... } animation::movement

◆ mover

struct unit* animation::mover

Definition at line 143 of file mapview_common.c.

◆ [struct]

struct { ... } animation::nuke

◆ nuke_tile

struct tile* animation::nuke_tile

Definition at line 166 of file mapview_common.c.

◆ old_x

int animation::old_x

Definition at line 137 of file mapview_common.c.

◆ old_y

int animation::old_y

Definition at line 138 of file mapview_common.c.

◆ shown

bool animation::shown

Definition at line 165 of file mapview_common.c.

◆ sprite_count

int animation::sprite_count

Definition at line 162 of file mapview_common.c.

◆ sprites

const struct sprite_vector* animation::sprites

Definition at line 161 of file mapview_common.c.

◆ src

struct tile* animation::src

Definition at line 144 of file mapview_common.c.

◆ steps

int animation::steps

Definition at line 157 of file mapview_common.c.

◆ tile

struct tile* animation::tile

Definition at line 160 of file mapview_common.c.

◆ type

enum animation_type animation::type

Definition at line 134 of file mapview_common.c.

◆ virt_loser

struct unit* animation::virt_loser

Definition at line 150 of file mapview_common.c.

◆ virt_winner

struct unit* animation::virt_winner

Definition at line 153 of file mapview_common.c.

◆ width

int animation::width

Definition at line 139 of file mapview_common.c.

◆ winner_hp_end

int animation::winner_hp_end

Definition at line 156 of file mapview_common.c.

◆ winner_hp_start

int animation::winner_hp_start

Definition at line 155 of file mapview_common.c.

◆ winner_tile

struct tile* animation::winner_tile

Definition at line 154 of file mapview_common.c.