Freeciv-3.3
Loading...
Searching...
No Matches
Data Fields
ai_plr Struct Reference

#include <daidata.h>

Data Fields

bool phase_initialized
 
int last_num_continents
 
int last_num_oceans
 
struct { 
 
   int   passengers 
 
   int   boats 
 
   int   available_boats 
 
   int *   workers 
 
   int *   ocean_workers 
 
   bv_id   diplomat_reservations 
 
stats 
 
struct { 
 
   const struct ai_dip_intel **   player_intel_slots 
 
   enum winning_strategy   strategy 
 
   int   timer 
 
   char   love_coeff 
 
   char   love_incr 
 
   int   req_love_for_peace 
 
   int   req_love_for_alliance 
 
   struct player *   war_target 
 
diplomacy 
 
struct ai_settlersettler
 
adv_want tech_want [A_LAST+1]
 

Detailed Description

Definition at line 70 of file daidata.h.

Field Documentation

◆ available_boats

int ai_plr::available_boats

Definition at line 80 of file daidata.h.

Referenced by domestic_advisor_choose_build(), and kill_something_with().

◆ boats

int ai_plr::boats

Definition at line 79 of file daidata.h.

Referenced by domestic_advisor_choose_build(), and kill_something_with().

◆ [struct]

struct { ... } ai_plr::diplomacy

◆ diplomat_reservations

bv_id ai_plr::diplomat_reservations

Definition at line 85 of file daidata.h.

Referenced by dai_choose_diplomat_offensive(), and dai_data_phase_begin().

◆ last_num_continents

int ai_plr::last_num_continents

Definition at line 74 of file daidata.h.

Referenced by dai_data_init(), dai_data_phase_begin(), and dai_plr_data_get().

◆ last_num_oceans

int ai_plr::last_num_oceans

Definition at line 75 of file daidata.h.

Referenced by dai_data_init(), dai_data_phase_begin(), and dai_plr_data_get().

◆ love_coeff

char ai_plr::love_coeff

Definition at line 93 of file daidata.h.

Referenced by dai_data_init(), and dai_diplomacy_begin_new_phase().

◆ love_incr

char ai_plr::love_incr

Definition at line 94 of file daidata.h.

Referenced by dai_data_init(), dai_diplomacy_begin_new_phase(), and dai_treaty_accepted().

◆ ocean_workers

int* ai_plr::ocean_workers

◆ passengers

int ai_plr::passengers

Definition at line 78 of file daidata.h.

◆ phase_initialized

bool ai_plr::phase_initialized

◆ player_intel_slots

const struct ai_dip_intel** ai_plr::player_intel_slots

◆ req_love_for_alliance

int ai_plr::req_love_for_alliance

Definition at line 96 of file daidata.h.

Referenced by dai_data_init(), and dai_goldequiv_clause().

◆ req_love_for_peace

int ai_plr::req_love_for_peace

Definition at line 95 of file daidata.h.

Referenced by dai_data_init(), and dai_goldequiv_clause().

◆ settler

struct ai_settler* ai_plr::settler

◆ [struct]

struct { ... } ai_plr::stats

◆ strategy

enum winning_strategy ai_plr::strategy

Definition at line 91 of file daidata.h.

Referenced by dai_data_init(), dai_diplomacy_begin_new_phase(), and dai_war_desire().

◆ tech_want

adv_want ai_plr::tech_want[A_LAST+1]

◆ timer

int ai_plr::timer

Definition at line 92 of file daidata.h.

Referenced by dai_data_init().

◆ war_target

struct player* ai_plr::war_target

Definition at line 97 of file daidata.h.

Referenced by dai_go_to_war(), and dai_revolution_start().

◆ workers

int* ai_plr::workers