ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

ICB::CpxGlobalScriptVariables Class Reference

#include <px_globalvariables.h>

Collaboration diagram for ICB::CpxGlobalScriptVariables:

List of all members.

Public Member Functions

 CpxGlobalScriptVariables ()
void SortVariables ()
int32 GetVariable (uint32 hash, const char *name=NULL, int warn=1)
int32 GetVariable (const char *n)
void SetVariable (uint32, int32)
void SetVariable (const char *n, int32 i)
void InitVariable (uint32, int32, const char *name=NULL)
void InitVariable (const char *n, int32 i)
int32 FindVariable (uint32)
int32 FindVariable (const char *n)
uint GetNoItems ()
const CpxVariableoperator[] (uint n)

Private Member Functions

 PreventClassCopy (CpxGlobalScriptVariables)

Private Attributes

CpxVariable m_vars [MAX_global_vars]
uint8 m_varInit [MAX_global_vars]
uint m_no_vars
uint m_sorted

Detailed Description

Definition at line 49 of file px_globalvariables.h.

Constructor & Destructor Documentation

ICB::CpxGlobalScriptVariables::CpxGlobalScriptVariables (  ) 

Definition at line 33 of file px_globalvariables.cpp.

Member Function Documentation

int32 ICB::CpxGlobalScriptVariables::FindVariable ( uint32  hash  ) 

Definition at line 45 of file px_globalvariables.cpp.

int32 ICB::CpxGlobalScriptVariables::FindVariable ( const char *  n  )  [inline]

Definition at line 79 of file px_globalvariables.h.

uint ICB::CpxGlobalScriptVariables::GetNoItems (  )  [inline]

Definition at line 83 of file px_globalvariables.h.

int32 ICB::CpxGlobalScriptVariables::GetVariable ( uint32  hash,
const char *  name = NULL,
int  warn = 1 

Definition at line 144 of file px_globalvariables.cpp.

int32 ICB::CpxGlobalScriptVariables::GetVariable ( const char *  n  )  [inline]

Definition at line 64 of file px_globalvariables.h.

void ICB::CpxGlobalScriptVariables::InitVariable ( uint32  hash,
int32  value,
const char *  name = NULL 

Definition at line 102 of file px_globalvariables.cpp.

void ICB::CpxGlobalScriptVariables::InitVariable ( const char *  n,
int32  i 
) [inline]

Definition at line 74 of file px_globalvariables.h.

const CpxVariable& ICB::CpxGlobalScriptVariables::operator[] ( uint  n  )  [inline]

Definition at line 85 of file px_globalvariables.h.

ICB::CpxGlobalScriptVariables::PreventClassCopy ( CpxGlobalScriptVariables   )  [private]
void ICB::CpxGlobalScriptVariables::SetVariable ( const char *  n,
int32  i 
) [inline]

Definition at line 69 of file px_globalvariables.h.

void ICB::CpxGlobalScriptVariables::SetVariable ( uint32  hash,
int32  value 

Definition at line 122 of file px_globalvariables.cpp.

void ICB::CpxGlobalScriptVariables::SortVariables (  ) 

Definition at line 177 of file px_globalvariables.cpp.

Member Data Documentation

uint8 ICB::CpxGlobalScriptVariables::m_varInit[MAX_global_vars] [private]

Definition at line 54 of file px_globalvariables.h.

Definition at line 51 of file px_globalvariables.h.

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

Generated on Sat Sep 26 2020 05:03:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge