Freeciv-3.3: /fast/freeciv/nightly/main/ai/default/aiparatrooper.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Functions
aiparatrooper.h File Reference

Go to the source code of this file.

## Functions

void | dai_manage_paratrooper (struct ai_type *ait, struct player *pplayer, struct unit *punit)
void | dai_choose_paratrooper (struct ai_type *ait, struct player *pplayer, struct city *pcity, struct adv_choice *choice, bool allow_gold_upkeep)

## Function Documentation

## ◆ dai_choose_paratrooper()

void dai_choose_paratrooper | ( | struct ai_type * | ait,
|  | struct player * | pplayer,
|  | struct city * | pcity,
|  | struct adv_choice * | choice,
|  | bool | allow_gold_upkeep
| ) |  |

Chooses to build a paratroopers if necessary

Definition at line 382 of file aiparatrooper.c.

Referenced by military_advisor_choose_build().

## ◆ dai_manage_paratrooper()

void dai_manage_paratrooper | ( | struct ai_type * | ait,
|  | struct player * | pplayer,
|  | struct unit * | punit
| ) |  |

This function does manage the paratrooper units of the AI.

Definition at line 198 of file aiparatrooper.c.

Referenced by dai_manage_unit().