Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

aiutil.c File Reference

#include "conq.h"
#include "kpublic.h"
#include "aiutil.h"
#include "aiunit.h"

Include dependency graph for aiutil.c:

Include dependency graph

Functions

int could_destroy (int u, int u2)
int type_attack_damage_max (int u, int u2)
int type_attack_damage_min (int u, int u2)
int type_fire_damage_max (int u, int u2)
int type_fire_damage_min (int u, int u2)
int type_damage_max (int u, int u2)
int type_hit_range_max (int u, int u2)
int type_ideal_attack_range_max (int u, int u2)
int type_ideal_fire_range_max (int u, int u2)
int type_ideal_hit_range_max (int u, int u2)
int type_possible_damage_methods (int u, int u2)
OccStatus occ_status (UnitView *uview)
int planning_to_hit_type_at (Unit *unit, int u, int x, int y)
int planning_to_capture_type_at (Unit *unit, int u, int x, int y)
int side_planning_to_hit_type_at (Side *side, int u, int x, int y)
int n_planning_to_hit_type_at (Side *side, int u, int x, int y)
int side_planning_to_capture_type_at (Side *side, int u, int x, int y)
int n_planning_to_capture_type_at (Side *side, int u, int x, int y)
int has_enough_of_material (Unit *unit, int m)
int needs_n_of_material (Unit *unit, int m)
int has_full_amount_of_material (Unit *unit, int m)
int wants_n_of_material (Unit *unit, int m)
int would_starve_without_material (int u, int m)
int will_starve_wrt_material (Unit *unit, int m)
int can_donate_n_of_material (Unit *unit, int m)
int can_sacrifice_n_of_material (Unit *unit, int m)
int has_enough_of_all_materials (Unit *unit)
int has_full_amount_of_all_materials (Unit *unit)
int will_starve (Unit *unit)
int critically_needed_material (Unit *unit)
int most_needed_material (Unit *unit, int *nmost)
int most_wanted_material (Unit *unit, int *nmost)
int can_be_blocked_by_any_known_enemy_at_if_at (int x, int y, int *counter, ParamBox *parambox)
int can_be_blocked_by_any_known_enemy_if_at (int x, int y, int *counter, ParamBox *parambox)

Function Documentation

int can_be_blocked_by_any_known_enemy_at_if_at int  x,
int  y,
int *  counter,
ParamBox parambox
 

int can_be_blocked_by_any_known_enemy_if_at int  x,
int  y,
int *  counter,
ParamBox parambox
 

int can_donate_n_of_material Unit unit,
int  m
 

int can_sacrifice_n_of_material Unit unit,
int  m
 

int could_destroy int  u,
int  u2
 

int critically_needed_material Unit unit  ) 
 

int has_enough_of_all_materials Unit unit  ) 
 

int has_enough_of_material Unit unit,
int  m
 

int has_full_amount_of_all_materials Unit unit  ) 
 

int has_full_amount_of_material Unit unit,
int  m
 

int most_needed_material Unit unit,
int *  nmost
 

int most_wanted_material Unit unit,
int *  nmost
 

int n_planning_to_capture_type_at Side side,
int  u,
int  x,
int  y
 

int n_planning_to_hit_type_at Side side,
int  u,
int  x,
int  y
 

int needs_n_of_material Unit unit,
int  m
 

OccStatus occ_status UnitView uview  ) 
 

int planning_to_capture_type_at Unit unit,
int  u,
int  x,
int  y
 

int planning_to_hit_type_at Unit unit,
int  u,
int  x,
int  y
 

int side_planning_to_capture_type_at Side side,
int  u,
int  x,
int  y
 

int side_planning_to_hit_type_at Side side,
int  u,
int  x,
int  y
 

int type_attack_damage_max int  u,
int  u2
 

int type_attack_damage_min int  u,
int  u2
 

int type_damage_max int  u,
int  u2
 

int type_fire_damage_max int  u,
int  u2
 

int type_fire_damage_min int  u,
int  u2
 

int type_hit_range_max int  u,
int  u2
 

int type_ideal_attack_range_max int  u,
int  u2
 

int type_ideal_fire_range_max int  u,
int  u2
 

int type_ideal_hit_range_max int  u,
int  u2
 

int type_possible_damage_methods int  u,
int  u2
 

int wants_n_of_material Unit unit,
int  m
 

int will_starve Unit unit  ) 
 

int will_starve_wrt_material Unit unit,
int  m
 

int would_starve_without_material int  u,
int  m
 


Generated on Sat Sep 17 10:29:01 2005 for XconqKernel by doxygen 1.3.6