UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
technologyDescriptions_s Struct Reference

#include <cp_research.h>

Data Fields

int numDescriptions
 
int usedDescription
 
char * text [MAX_DESCRIPTIONS]
 
char * tech [MAX_DESCRIPTIONS]
 

Detailed Description

Definition at line 128 of file cp_research.h.

Field Documentation

int technologyDescriptions_s::numDescriptions

The number of descriptions.

Definition at line 129 of file cp_research.h.

Referenced by RS_GetDescription(), RS_ParseTechnologies(), UP_Article(), and UP_TechGetsDisplayed().

char* technologyDescriptions_s::tech[MAX_DESCRIPTIONS]

The technology to check (i.e. are its requirements met?) if this description should be displayed.

Definition at line 133 of file cp_research.h.

Referenced by RS_GetDescription(), and RS_ParseTechnologies().

char* technologyDescriptions_s::text[MAX_DESCRIPTIONS]

A list of descriptions (Short text-id to get the full text via gettext).

Definition at line 132 of file cp_research.h.

Referenced by RS_GetDescription(), RS_ParseTechnologies(), and RS_ScriptSanityCheck().

int technologyDescriptions_s::usedDescription

The index of the first used description, so we do not get a different text each time it should be displayed. undef=-1

Todo:
Check if we should set this in the function that updates the research_proposals? Currently it's only in RS_GetDescription.

Definition at line 130 of file cp_research.h.

Referenced by RS_GetDescription(), RS_ParseTechnologies(), and RS_ResearchFinish().


The documentation for this struct was generated from the following file: