Freeciv-3.2
Loading...
Searching...
No Matches
Data Structures | Data Fields
research Struct Reference

#include <research.h>

Data Structures

struct  research_invention
 

Data Fields

int techs_researched
 
int future_tech
 
Tech_type_id researching
 
int bulbs_researched
 
Tech_type_id researching_saved
 
int bulbs_researching_saved
 
int free_bulbs
 
struct research::research_invention inventions [A_ARRAY_SIZE]
 
Tech_type_id tech_goal
 
int num_known_tech_with_flag [TF_COUNT]
 
union { 
 
   struct { 
 
      int   researching_cost 
 
      int   total_bulbs_prod 
 
   }   client 
 
};  
 

Detailed Description

Definition at line 39 of file research.h.

Field Documentation

◆ [union]

union { ... } research

◆ bulbs_researched

int research::bulbs_researched

◆ bulbs_researching_saved

int research::bulbs_researching_saved

Definition at line 63 of file research.h.

Referenced by choose_tech(), and update_bulbs().

◆ [struct]

struct { ... } research::client

◆ free_bulbs

int research::free_bulbs

Definition at line 67 of file research.h.

Referenced by choose_tech(), dai_manage_tech(), end_phase(), and update_bulbs().

◆ future_tech

int research::future_tech

◆ inventions

◆ num_known_tech_with_flag

int research::num_known_tech_with_flag[TF_COUNT]

Definition at line 88 of file research.h.

Referenced by num_known_tech_with_flag().

◆ researching

Tech_type_id research::researching

◆ researching_cost

int research::researching_cost

◆ researching_saved

Tech_type_id research::researching_saved

Definition at line 62 of file research.h.

Referenced by choose_tech(), researches_init(), update_bulbs(), and update_national_activities().

◆ tech_goal

Tech_type_id research::tech_goal

◆ techs_researched

int research::techs_researched

◆ total_bulbs_prod

int research::total_bulbs_prod

Definition at line 97 of file research.h.