torque Torque Game Engine Documentation
TGE Version 1.5.2

EnumTable Struct Reference

#include <console.h>


Detailed Description

Scripting engine representation of an enum.

This data structure is used by the scripting engine to expose enumerations to the scripting language. It acts to relate named constants to integer values, just like an enum in C++.


Public Member Functions

 EnumTable (S32 sSize, Enums *sTable)
 Constructor.

Data Fields

S32 size
 Number of enumerated items in the table.
Enumstable

Data Structures

struct  Enums
 This represents a specific item in the enumeration. More...


Constructor & Destructor Documentation

EnumTable::EnumTable ( S32  sSize,
Enums sTable 
) [inline]

Constructor.

This sets up the EnumTable with predefined data.

Parameters:
sSize Size of the table.
sTable Pointer to table of Enums.
See also:
gLiquidTypeTable

gAlignTable


Field Documentation

Number of enumerated items in the table.




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen