Freeciv21
Develop your civilization from humble roots to a global empire
daidomestic.h File Reference
#include "fc_types.h"
+ Include dependency graph for daidomestic.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct adv_choicedomestic_advisor_choose_build (struct ai_type *ait, struct player *pplayer, struct city *pcity)
 This function should fill the supplied choice structure. More...
 
void dai_wonder_city_distance (struct ai_type *ait, struct player *pplayer, struct adv_data *adv)
 Calculate walking distances to wonder city from nearby cities. More...
 

Function Documentation

◆ dai_wonder_city_distance()

void dai_wonder_city_distance ( struct ai_type ait,
struct player pplayer,
struct adv_data adv 
)

Calculate walking distances to wonder city from nearby cities.

Definition at line 579 of file daidomestic.cpp.

Referenced by cai_wonder_city_distance(), texwai_wonder_city_distance(), and twai_wonder_city_distance().

◆ domestic_advisor_choose_build()

struct adv_choice* domestic_advisor_choose_build ( struct ai_type ait,
struct player pplayer,
struct city pcity 
)

This function should fill the supplied choice structure.

If want is 0, this advisor doesn't want anything.

Definition at line 423 of file daidomestic.cpp.

Referenced by dai_city_choose_build().