130 const struct player *tplayer)
132 if (pplayer == tplayer) {
182 switch (req->
range) {
229 "Invalid unit state property.");
244 switch (req->
range) {
266 FALSE,
"Wrong range");
287 switch (req->
range) {
378 "Invalid city tile property.");
389 switch (req->
range) {
460 switch (req->
range) {
602 switch (req->
range) {
669 switch (req->
range) {
721 switch (req->
range) {
776 switch (req->
range) {
int city_map_radius_sq_get(const struct city *pcity)
#define city_tile(_pcity_)
#define city_owner(_pcity_)
#define city_tile_iterate(_nmap, _radius_sq, _city_tile, _tile)
#define city_tile_iterate_end
struct unit struct city struct unit struct tile * target_tile
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 int const struct action *paction struct unit struct city * pcity
struct unit struct city * target_city
bool could_intel_with_player(const struct player *pplayer, const struct player *aplayer)
bool is_improvement_visible(const struct impr_type *pimprove)
bool is_great_wonder(const struct impr_type *pimprove)
struct city * city_from_great_wonder(const struct impr_type *pimprove)
#define fc_assert_msg(condition, message,...)
#define fc_assert(condition)
#define fc_assert_ret_val_msg(condition, val, message,...)
#define range_adjc_iterate(nmap, center_tile, range, itr_tile)
#define range_adjc_iterate_end
#define cardinal_adjc_iterate_end
#define adjc_iterate(nmap, center_tile, itr_tile)
#define cardinal_adjc_iterate(nmap, center_tile, itr_tile)
bool can_player_see_unit(const struct player *pplayer, const struct unit *punit)
bool team_has_embassy(const struct team *pteam, const struct player *tgt_player)
bool player_can_see_city_externals(const struct player *pow_player, const struct city *target_city)
struct player_diplstate * player_diplstate_get(const struct player *plr1, const struct player *plr2)
bool can_player_see_hypotetic_units_at(const struct player *pplayer, const struct tile *ptile)
bool can_player_see_city_internals(const struct player *pplayer, const struct city *pcity)
const struct req_context * req_context_empty(void)
bool is_req_active(const struct req_context *context, const struct req_context *other_context, const struct requirement *req, const enum req_problem_type prob_type)
#define requirement_vector_iterate_end
#define requirement_vector_iterate(req_vec, preq)
bool tile_is_seen(const struct tile *target_tile, const struct player *pow_player)
enum known_type tile_get_known(const struct tile *ptile, const struct player *pplayer)
struct city * tile_city(const struct tile *ptile)
#define trade_partners_iterate_end
#define trade_partners_iterate(c, p)
enum citytile_type citytile
enum tilerel_type tilerel
const struct impr_type * building
enum ustate_prop unit_state