Freeciv-3.2
Loading...
Searching...
No Matches
Functions
daidomestic.h File Reference
#include "fc_types.h"

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)
 
void dai_wonder_city_distance (struct ai_type *ait, struct player *pplayer, struct adv_data *adv)
 

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 643 of file daidomestic.c.

Referenced by cai_wonder_city_distance(), and texwai_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 489 of file daidomestic.c.

Referenced by dai_city_choose_build().