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

#include <entitiesdef.h>

Data Fields

char * str
 
intiArr
 
float * fArr
 
int numElements
 
int continuous
 

Detailed Description

Definition at line 55 of file entitiesdef.h.

Field Documentation

int entityKeyRange_s::continuous

boolean. two elements in the array, Arr[0] <= val <= Arr[1]

Definition at line 60 of file entitiesdef.h.

Referenced by ED_CheckRange(), and ED_ProcessRanges().

float* entityKeyRange_s::fArr

this is used if the key is V_FLOAT

Definition at line 58 of file entitiesdef.h.

Referenced by ED_CheckRange(), ED_Free(), and ED_ProcessRanges().

int* entityKeyRange_s::iArr

this is used if the key is V_INT

Definition at line 57 of file entitiesdef.h.

Referenced by ED_CheckRange(), ED_Free(), and ED_ProcessRanges().

int entityKeyRange_s::numElements

number of discrete options for the value, or two for continuous ranges

Definition at line 59 of file entitiesdef.h.

Referenced by ED_CheckRange(), and ED_ProcessRanges().

char* entityKeyRange_s::str

the range string is stored here until the whole ent def is parsed

Definition at line 56 of file entitiesdef.h.

Referenced by ED_AllocRange(), ED_CheckRange(), ED_Free(), and ED_ProcessRanges().


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