FS2_Open
Open source remastering of the Freespace 2 engine
CombinedVariable Class Reference

Public Member Functions

 CombinedVariable ()
 
 CombinedVariable (float n_Float)
 
 CombinedVariable (int n_Int)
 
 CombinedVariable (int n_Int, ubyte type_override)
 
 CombinedVariable (char *n_String)
 
 ~CombinedVariable ()
 
int getFloat (float *output)
 
int getHandle ()
 
int getImage ()
 
int getInt (int *output)
 
int getSound ()
 
int getString (char *output, size_t output_max)
 
bool isEmpty ()
 

Static Public Attributes

static const int TYPE_NONE =0
 
static const int TYPE_FLOAT = 1
 
static const int TYPE_IMAGE = 2
 
static const int TYPE_INT = 3
 
static const int TYPE_SOUND = 4
 
static const int TYPE_STRING = 5
 

Detailed Description

Definition at line 3122 of file shipfx.cpp.

Constructor & Destructor Documentation

CombinedVariable::CombinedVariable ( )

Definition at line 3181 of file shipfx.cpp.

CombinedVariable::CombinedVariable ( float  n_Float)

Definition at line 3186 of file shipfx.cpp.

CombinedVariable::CombinedVariable ( int  n_Int)

Definition at line 3192 of file shipfx.cpp.

CombinedVariable::CombinedVariable ( int  n_Int,
ubyte  type_override 
)

Definition at line 3198 of file shipfx.cpp.

CombinedVariable::CombinedVariable ( char *  n_String)

Definition at line 3217 of file shipfx.cpp.

CombinedVariable::~CombinedVariable ( )

Definition at line 3224 of file shipfx.cpp.

Member Function Documentation

int CombinedVariable::getFloat ( float output)

Definition at line 3232 of file shipfx.cpp.

int CombinedVariable::getHandle ( )

Definition at line 3261 of file shipfx.cpp.

int CombinedVariable::getImage ( )

Definition at line 3269 of file shipfx.cpp.

int CombinedVariable::getInt ( int output)

Definition at line 3276 of file shipfx.cpp.

int CombinedVariable::getSound ( )

Definition at line 3309 of file shipfx.cpp.

int CombinedVariable::getString ( char *  output,
size_t  output_max 
)

Definition at line 3316 of file shipfx.cpp.

bool CombinedVariable::isEmpty ( )

Definition at line 3351 of file shipfx.cpp.

Member Data Documentation

const int CombinedVariable::TYPE_FLOAT = 1
static

Definition at line 3126 of file shipfx.cpp.

const int CombinedVariable::TYPE_IMAGE = 2
static

Definition at line 3127 of file shipfx.cpp.

const int CombinedVariable::TYPE_INT = 3
static

Definition at line 3128 of file shipfx.cpp.

const int CombinedVariable::TYPE_NONE =0
static

Definition at line 3125 of file shipfx.cpp.

const int CombinedVariable::TYPE_SOUND = 4
static

Definition at line 3129 of file shipfx.cpp.

const int CombinedVariable::TYPE_STRING = 5
static

Definition at line 3130 of file shipfx.cpp.


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