Freeciv-3.1: adv_city Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
adv_city Struct Reference

`#include <infracache.h>`

## Data Fields

struct worker_activity_cache * | act_cache
int | act_cache_radius_sq
adv_want | building_want [B_LAST]
int | downtown

## Detailed Description

Definition at line 21 of file infracache.h.

## Field Documentation

## ◆ act_cache

struct worker_activity_cache* adv_city::act_cache

Definition at line 24 of file infracache.h.

Referenced by adv_city_alloc(), adv_city_free(), adv_city_update(), adv_city_worker_act_get(), adv_city_worker_act_set(), adv_city_worker_extra_get(), adv_city_worker_extra_set(), adv_city_worker_rmextra_get(), and adv_city_worker_rmextra_set().

## ◆ act_cache_radius_sq

int adv_city::act_cache_radius_sq

Definition at line 25 of file infracache.h.

Referenced by adv_city_alloc(), adv_city_update(), adv_city_worker_act_get(), adv_city_worker_act_set(), adv_city_worker_extra_get(), adv_city_worker_extra_set(), adv_city_worker_rmextra_get(), and adv_city_worker_rmextra_set().

## ◆ building_want

adv_want adv_city::building_want[B_LAST]

Definition at line 32 of file infracache.h.

Referenced by adjust_improvement_wants_by_effects(), assess_danger(), building_advisor_choose(), dai_build_adv_override(), dai_choose_help_wonder(), and military_advisor_choose_build().

## ◆ downtown

int adv_city::downtown

Definition at line 34 of file infracache.h.

Referenced by building_advisor(), and calculate_city_clusters().