Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
unit_ai Struct Reference

#include <aiunit.h>

Data Fields

int ferryboat
 
int passenger
 
int bodyguard
 
int charge
 
struct tileprev_struct
 
struct tilecur_struct
 
struct tile ** prev_pos
 
struct tile ** cur_pos
 
int target
 
bv_player hunted
 
bool done
 
enum ai_unit_task task
 

Detailed Description

Definition at line 32 of file aiunit.h.

Field Documentation

◆ bodyguard

int unit_ai::bodyguard

◆ charge

int unit_ai::charge

◆ cur_pos

struct tile ** unit_ai::cur_pos

Definition at line 40 of file aiunit.h.

Referenced by dai_data_phase_begin(), dai_hunter_manage(), and dai_unit_init().

◆ cur_struct

struct tile * unit_ai::cur_struct

Definition at line 39 of file aiunit.h.

Referenced by dai_data_phase_begin().

◆ done

bool unit_ai::done

◆ ferryboat

int unit_ai::ferryboat

◆ hunted

bv_player unit_ai::hunted

Definition at line 43 of file aiunit.h.

Referenced by dai_hunter_manage(), dai_unit_init(), and dai_unit_turn_end().

◆ passenger

int unit_ai::passenger

Definition at line 35 of file aiunit.h.

Referenced by dai_unit_init(), dai_unit_load(), and dai_unit_save().

◆ prev_pos

struct tile** unit_ai::prev_pos

Definition at line 40 of file aiunit.h.

Referenced by dai_data_phase_begin(), dai_hunter_manage(), and dai_unit_init().

◆ prev_struct

struct tile* unit_ai::prev_struct

Definition at line 39 of file aiunit.h.

Referenced by dai_data_phase_begin().

◆ target

int unit_ai::target

Definition at line 42 of file aiunit.h.

Referenced by dai_hunter_manage(), dai_unit_init(), and dai_unit_new_task().

◆ task

enum ai_unit_task unit_ai::task