1 #ifndef FIGURE_COMBAT_H 2 #define FIGURE_COMBAT_H 3 4 #include "figure/figure.h" 5 #include "map/point.h" 6 7 void figure_combat_handle_corpse(figure *f); 8 void figure_combat_handle_attack(figure *f); 9 10 int figure_combat_get_target_for_soldier(int x, int y, int max_distance); 11 int figure_combat_get_target_for_wolf(int x, int y, int max_distance); 12 int figure_combat_get_target_for_enemy(int x, int y); 13 14 int figure_combat_get_missile_target_for_soldier(figure *shooter, int max_distance, map_point *tile); 15 int figure_combat_get_missile_target_for_enemy(figure *enemy, int max_distance, int attack_citizens, map_point *tile); 16 17 void figure_combat_attack_figure_at(figure *f, int grid_offset); 18 19 #endif // FIGURE_COMBAT_H 20