Freeciv21
Develop your civilization from humble roots to a global empire
citizenshand.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void citizens_update (struct city *pcity, struct player *plr)
 
void citizens_convert (struct city *pcity)
 Convert one (random) foreign citizen to the nationality of the owner. More...
 
void citizens_convert_conquest (struct city *pcity)
 Convert citizens to the nationality of the one conquering the city. More...
 
void citizens_print (const struct city *pcity)
 Print the data about the citizens. More...
 

Function Documentation

◆ citizens_convert()

void citizens_convert ( struct city pcity)

Convert one (random) foreign citizen to the nationality of the owner.

Definition at line 176 of file citizenshand.cpp.

Referenced by update_city_activities().

◆ citizens_convert_conquest()

void citizens_convert_conquest ( struct city pcity)

Convert citizens to the nationality of the one conquering the city.

Definition at line 221 of file citizenshand.cpp.

Referenced by transfer_city().

◆ citizens_print()

void citizens_print ( const struct city pcity)

Print the data about the citizens.

Definition at line 139 of file citizenshand.cpp.

Referenced by citizens_update().

◆ citizens_update()

void citizens_update ( struct city pcity,
struct player plr 
)