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

#include <research.h>

+ Collaboration diagram for research:

Classes

struct  research_invention
 

Public Attributes

int techs_researched
 
int future_tech
 
Tech_type_id researching
 
int bulbs_researched
 
Tech_type_id researching_saved
 
int bulbs_researching_saved
 
bool got_tech
 
bool got_tech_multi
 
struct research::research_invention inventions [A_LAST]
 
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 32 of file research.h.

Member Data Documentation

◆ 

union { ... }

◆ bulbs_researched

◆ bulbs_researching_saved

int research::bulbs_researching_saved

Definition at line 56 of file research.h.

Referenced by choose_tech(), and sg_load_researches().

◆ 

◆ future_tech

◆ got_tech

bool research::got_tech

◆ got_tech_multi

bool research::got_tech_multi

Definition at line 62 of file research.h.

Referenced by choose_tech(), end_phase(), and found_new_tech().

◆ inventions

◆ num_known_tech_with_flag

int research::num_known_tech_with_flag[TF_COUNT]

Definition at line 83 of file research.h.

Referenced by num_known_tech_with_flag(), and research_invention_set().

◆ researching

◆ researching_cost

int research::researching_cost

Definition at line 91 of file research.h.

◆ researching_saved

◆ tech_goal

◆ techs_researched

◆ total_bulbs_prod

int research::total_bulbs_prod

Definition at line 92 of file research.h.