Freeciv-3.2
Loading...
Searching...
No Matches
Functions
culture.h File Reference

Go to the source code of this file.

Functions

int city_culture (const struct city *pcity)
 
int city_history_gain (const struct city *pcity)
 
int player_culture (const struct player *plr)
 
int nation_history_gain (const struct player *pplayer)
 

Function Documentation

◆ city_culture()

int city_culture ( const struct city pcity)

Return current culture score of the city.

Definition at line 29 of file culture.c.

Referenced by achievement_check(), api_methods_city_culture_get(), city_migration_score(), is_minculture_req_active(), package_city(), and player_culture().

◆ city_history_gain()

int city_history_gain ( const struct city pcity)

How much history city gains this turn.

Definition at line 37 of file culture.c.

Referenced by cr_entry_history(), get_city_dialog_culture_text(), get_info_label_text_popup(), and update_city_activity().

◆ nation_history_gain()

int nation_history_gain ( const struct player pplayer)

How much nation-wide history player gains this turn. Does NOT include history gains of individual cities.

Definition at line 61 of file culture.c.

Referenced by get_info_label_text_popup(), and update_national_activities().

◆ player_culture()

int player_culture ( const struct player plr)

Return current culture score of the player.

Definition at line 46 of file culture.c.

Referenced by achievement_check(), api_methods_player_culture_get(), calc_civ_score(), is_minculture_req_active(), and package_player_info().