Freeciv21
Develop your civilization from humble roots to a global empire
ai_plr Struct Reference

#include <aidata.h>

+ Collaboration diagram for ai_plr:

Public Attributes

bool phase_initialized
 
int last_num_continents
 
int last_num_oceans
 
struct {
   int   passengers
 
   int   boats
 
   int   available_boats
 
   int *   workers
 
   int *   ocean_workers
 
   QSet< int >   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
 
diplomacy
 
struct ai_settlersettler
 
adv_want tech_want [A_LAST+1]
 

Detailed Description

Definition at line 63 of file aidata.h.

Member Data Documentation

◆ available_boats

int ai_plr::available_boats

Definition at line 72 of file aidata.h.

Referenced by domestic_advisor_choose_build(), and kill_something_with().

◆ boats

int ai_plr::boats

Definition at line 71 of file aidata.h.

Referenced by domestic_advisor_choose_build(), and kill_something_with().

◆ 

◆ diplomat_reservations

QSet<int> ai_plr::diplomat_reservations

Definition at line 77 of file aidata.h.

Referenced by dai_choose_diplomat_offensive(), and dai_data_phase_begin().

◆ last_num_continents

int ai_plr::last_num_continents

Definition at line 66 of file aidata.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 67 of file aidata.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 85 of file aidata.h.

Referenced by dai_data_init(), and dai_diplomacy_begin_new_phase().

◆ love_incr

char ai_plr::love_incr

Definition at line 86 of file aidata.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 70 of file aidata.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 88 of file aidata.h.

Referenced by dai_data_init(), and dai_goldequiv_clause().

◆ req_love_for_peace

int ai_plr::req_love_for_peace

Definition at line 87 of file aidata.h.

Referenced by dai_data_init(), and dai_goldequiv_clause().

◆ settler

◆ 

◆ strategy

enum winning_strategy ai_plr::strategy

Definition at line 82 of file aidata.h.

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

◆ tech_want

◆ timer

int ai_plr::timer

Definition at line 84 of file aidata.h.

Referenced by dai_data_init().

◆ workers

int* ai_plr::workers