![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include "advchoice.h"
Include dependency graph for advbuilding.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | FOOD_WEIGHTING 30 |
| #define | SHIELD_WEIGHTING 17 |
| #define | TRADE_WEIGHTING 18 |
| #define | POLLUTION_WEIGHTING 20 |
| #define | INFRA_WEIGHTING (TRADE_WEIGHTING * 0.75) |
| #define | WARMING_FACTOR 50 |
| #define | COOLING_FACTOR WARMING_FACTOR |
Functions | |
| void | building_advisor (struct player *pplayer) |
| Prime pcity->server.adv.building_want[]. More... | |
| void | advisor_choose_build (struct player *pplayer, struct city *pcity) |
| Setup improvement building. More... | |
| void | building_advisor_choose (struct city *pcity, struct adv_choice *choice) |
| Choose improvement we like most and put it into adv_choice. More... | |
| #define COOLING_FACTOR WARMING_FACTOR |
Definition at line 28 of file advbuilding.h.
| #define FOOD_WEIGHTING 30 |
Definition at line 16 of file advbuilding.h.
| #define INFRA_WEIGHTING (TRADE_WEIGHTING * 0.75) |
Definition at line 26 of file advbuilding.h.
| #define POLLUTION_WEIGHTING 20 |
Definition at line 25 of file advbuilding.h.
| #define SHIELD_WEIGHTING 17 |
Definition at line 17 of file advbuilding.h.
| #define TRADE_WEIGHTING 18 |
Definition at line 18 of file advbuilding.h.
| #define WARMING_FACTOR 50 |
Definition at line 27 of file advbuilding.h.
Setup improvement building.
Definition at line 325 of file advbuilding.cpp.
Referenced by choose_build_target(), and transfer_city().
| void building_advisor | ( | struct player * | pplayer | ) |
Prime pcity->server.adv.building_want[].
Definition at line 191 of file advbuilding.cpp.
Referenced by begin_phase(), dai_manage_cities(), and sg_load_sanitycheck().
| void building_advisor_choose | ( | struct city * | pcity, |
| struct adv_choice * | choice | ||
| ) |
Choose improvement we like most and put it into adv_choice.
Definition at line 286 of file advbuilding.cpp.
Referenced by advisor_choose_build(), and domestic_advisor_choose_build().