![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
Include dependency graph for daiactions.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| adv_want | dai_action_value_unit_vs_city (struct action *paction, struct unit *actor_unit, struct city *target_city, int sub_tgt_id, int count_tech) |
| Returns the utility of having the specified unit perform the specified action to the specified city target with the specified sub target. More... | |
| int | dai_action_choose_sub_tgt_unit_vs_city (struct action *paction, struct unit *actor_unit, struct city *target_city) |
| Returns the sub target id of the sub target chosen for the specified action performed by the specified unit to the specified target city. More... | |
| int dai_action_choose_sub_tgt_unit_vs_city | ( | struct action * | paction, |
| struct unit * | actor_unit, | ||
| struct city * | target_city | ||
| ) |
Returns the sub target id of the sub target chosen for the specified action performed by the specified unit to the specified target city.
Definition at line 298 of file daiactions.cpp.
Referenced by dai_diplomat_city().
| adv_want dai_action_value_unit_vs_city | ( | struct action * | paction, |
| struct unit * | actor_unit, | ||
| struct city * | target_city, | ||
| int | sub_tgt_id, | ||
| int | count_tech | ||
| ) |
Returns the utility of having the specified unit perform the specified action to the specified city target with the specified sub target.
The sub target id is encoded like it is in the network protocol.
Definition at line 90 of file daiactions.cpp.
Referenced by dai_diplomat_city().