Freeciv21
Develop your civilization from humble roots to a global empire
advcity.cpp File Reference
#include "city.h"
#include "fc_types.h"
#include "advdata.h"
#include "advcity.h"
+ Include dependency graph for advcity.cpp:

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().