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

Go to the source code of this file.

Functions

int adv_eval_calc_city (struct city *pcity, struct adv_data *adv)
 This calculates the usefulness of pcity to us. More...
 

Function Documentation

◆ adv_eval_calc_city()

int adv_eval_calc_city ( struct city pcity,
struct adv_data adv 
)

This calculates the usefulness of pcity to us.

Note that you can pass another player's adv_data structure here for evaluation by different priorities.

Definition at line 26 of file advcity.cpp.

Referenced by adv_best_government().