Freeciv21
Develop your civilization from humble roots to a global empire
citizenshand.h
Go to the documentation of this file.
1 /***********************************************************************
2 _ ._ Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors.
3  \ | This file is part of Freeciv21. Freeciv21 is free software: you
4  \_| can redistribute it and/or modify it under the terms of the
5  .' '. GNU General Public License as published by the Free
6  :O O: Software Foundation, either version 3 of the License,
7  '/ \' or (at your option) any later version. You should have
8  :X: received a copy of the GNU General Public License along with
9  :X: Freeciv21. If not, see https://www.gnu.org/licenses/.
10 ***********************************************************************/
11 #pragma once
12 
13 struct city;
14 
15 void citizens_update(struct city *pcity, struct player *plr);
16 void citizens_convert(struct city *pcity);
17 void citizens_convert_conquest(struct city *pcity);
18 
19 void citizens_print(const struct city *pcity);
void citizens_convert_conquest(struct city *pcity)
Convert citizens to the nationality of the one conquering the city.
void citizens_convert(struct city *pcity)
Convert one (random) foreign citizen to the nationality of the owner.
void citizens_update(struct city *pcity, struct player *plr)
void citizens_print(const struct city *pcity)
Print the data about the citizens.
Definition: city.h:291
Definition: player.h:231