97 const struct city *pcity)
struct player * city_owner(const struct city *pcity)
Return the owner of the city.
struct tile * city_tile(const struct city *pcity)
Return the tile location of the city.
const char * city_name_get(const struct city *pcity)
Return the name of the city.
citizens city_size_get(const struct city *pcity)
Get the city size.
#define fc_assert_ret(condition)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
#define sz_strlcpy(dest, src)
void vision_site_update_from_city(struct vision_site *psite, const struct city *pcity)
Returns the basic structure filled with current elements.
struct vision * vision_new(struct player *pplayer, struct tile *ptile)
Create a new vision source.
void vision_site_size_set(struct vision_site *psite, citizens size)
Set the city size.
citizens vision_site_size_get(const struct vision_site *psite)
Get the city size.
bool vision_reveal_tiles(struct vision *vision, bool reveal_tiles)
Sets the can_reveal_tiles flag.
struct vision_site * vision_site_new_from_city(const struct city *pcity)
Returns the basic structure filled with initial elements.
void vision_free(struct vision *vision)
Free the vision source.
struct vision_site * vision_site_new(int identity, struct tile *location, struct player *owner)
Returns the basic structure.