31 const struct player *pplayer,
32 const struct tile *ptile)
54 const struct tile *ptile)
78 struct extra_type_list *
bases;
82 if (
bases == NULL || id < 0 || id >= extra_type_list_size(
bases)) {
126 pbase->
self = pextra;
141 const struct tile *ptile)
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 player *other_player, const struct requirement_vector *reqs, const enum req_problem_type prob_type)
enum base_gui_type gui_type
struct packet_ruleset_control control
#define tile_owner(_tile)
const struct unit_type * unit_type_get(const struct unit *punit)