#include <cp_research.h>
Data Fields | |
requirementType_t | type |
char * | id |
void * | link |
int | amount |
int | collected |
Definition at line 73 of file cp_research.h.
How many items are needed for research ... if any. (fix)
Definition at line 85 of file cp_research.h.
Referenced by PR_RequirementsMet(), PR_UpdateRequiredItemsInBasestorage(), RS_ParseTechnologies(), and RS_RequirementsMet().
How many items have been collected. (varies)
Definition at line 86 of file cp_research.h.
char* requirement_s::id |
Dependency id (text-id)
Definition at line 75 of file cp_research.h.
Referenced by RS_AssignTechLinks(), RS_ParseTechnologies(), RS_RequirementsMet(), UP_DisplayTechTree(), and UP_TechTreeClick_f().
void* requirement_s::link |
Dependency pointer (depends on the type) RS_LINK_TECH -> technology_t* RS_LINK_TECH_NOT -> (planned to be technology_t*) RS_LINK_ITEM -> objDef_t* RS_LINK_ALIEN -> teamDef_t* RS_LINK_ALIEN_DEAD -> teamDef_t* RS_LINK_ALIEN_GLOBAL -> NULL RS_LINK_UFO -> aircraft_t*
Definition at line 76 of file cp_research.h.
Referenced by PR_RequirementsMet(), PR_UpdateRequiredItemsInBasestorage(), RS_AssignTechLinks(), RS_RequirementsMet(), UP_DisplayTechTree(), and UP_TechTreeClick_f().
What type the requ. is: item (in store/quarantine), event, etc...
Definition at line 74 of file cp_research.h.
Referenced by PR_RequirementsMet(), PR_UpdateRequiredItemsInBasestorage(), RS_AssignTechLinks(), RS_ParseTechnologies(), RS_RequirementsMet(), UP_DisplayTechTree(), and UP_TechTreeClick_f().