178 count += nationality;
struct player_slot * citizens_random(const struct city *pcity)
void citizens_free(struct city *pcity)
void citizens_nation_move(struct city *pcity, const struct player_slot *pslot_from, const struct player_slot *pslot_to, int move)
void citizens_nation_add(struct city *pcity, const struct player_slot *pslot, int add)
citizens citizens_nation_get(const struct city *pcity, const struct player_slot *pslot)
void citizens_nation_set(struct city *pcity, const struct player_slot *pslot, citizens count)
citizens citizens_nation_foreign(const struct city *pcity)
citizens citizens_count(const struct city *pcity)
void citizens_init(struct city *pcity)
#define citizens_iterate_end
#define citizens_iterate(_pcity, _pslot, _nationality)
static citizens city_size_get(const struct city *pcity)
#define city_owner(_pcity_)
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
static bool is_server(void)
#define MAX_NUM_PLAYER_SLOTS
#define fc_assert_ret(condition)
#define fc_assert(condition)
#define fc_assert_ret_val(condition, val)
#define fc_calloc(n, esz)
int player_slot_index(const struct player_slot *pslot)
struct player * player_slot_get_player(const struct player_slot *pslot)
struct packet_game_info info
struct player * nationality