descriptions_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 132 of file cp_research.h.


Field Documentation

The number of descriptions.

Definition at line 133 of file cp_research.h.

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

char* descriptions_s::tech[MAX_DESCRIPTIONS]

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

Definition at line 137 of file cp_research.h.

Referenced by RS_GetDescription(), and RS_ParseTechnologies().

char* descriptions_s::text[MAX_DESCRIPTIONS]

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

Definition at line 136 of file cp_research.h.

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

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 134 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:

Generated by  doxygen 1.6.2