Freeciv-3.3
Loading...
Searching...
No Matches
Functions
daiparadrop.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 380 of file daiparadrop.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 196 of file daiparadrop.c.

Referenced by dai_manage_unit().