31 const struct player *pplayer,
32 const struct tile *ptile)
56 const struct tile *ptile)
99 return pbase->item_number;
130 pbase->self = pextra;
145 const struct tile *ptile)
164 return pbase->border_sq >= 0;
Base_type_id base_number(const struct base_type *pbase)
void base_type_init(struct extra_type *pextra, int idx)
void base_types_free(void)
bool player_can_build_base(const struct base_type *pbase, const struct player *pplayer, const struct tile *ptile)
Base_type_id base_count(void)
struct extra_type * base_extra_get(const struct base_type *pbase)
struct base_type * get_base_by_gui_type(enum base_gui_type type, const struct unit *punit, const struct tile *ptile)
bool can_build_base(const struct unit *punit, const struct base_type *pbase, const struct tile *ptile)
struct base_type * base_by_number(const Base_type_id id)
bool territory_claiming_base(const struct base_type *pbase)
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
#define fc_assert_ret_val(condition, val)
bool are_reqs_active(const struct req_context *context, const struct req_context *other_context, const struct requirement_vector *reqs, const enum req_problem_type prob_type)
struct packet_ruleset_control control
#define tile_owner(_tile)
const struct unit_type * unit_type_get(const struct unit *punit)