Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
W3DFunctionLexicon Class Reference

#include <W3DFunctionLexicon.h>

Inherits FunctionLexicon.

Public Member Functions

 W3DFunctionLexicon (void)
 
virtual ~W3DFunctionLexicon (void)
 
virtual void init (void)
 
virtual void reset (void)
 
virtual void update (void)
 
- Public Member Functions inherited from FunctionLexicon
 FunctionLexicon (void)
 
virtual ~FunctionLexicon (void)
 
Bool validate (void)
 validate the tables and make sure all entries are unique
 
TableEntrygetTable (TableIndex index)
 get internal function table
 
GameWinSystemFunc gameWinSystemFunc (NameKeyType key, TableIndex=TABLE_GAME_WIN_SYSTEM)
 
GameWinInputFunc gameWinInputFunc (NameKeyType key, TableIndex=TABLE_GAME_WIN_INPUT)
 
GameWinTooltipFunc gameWinTooltipFunc (NameKeyType key, TableIndex=TABLE_GAME_WIN_TOOLTIP)
 
GameWinDrawFunc gameWinDrawFunc (NameKeyType key, TableIndex=TABLE_ANY)
 
WindowLayoutInitFunc winLayoutInitFunc (NameKeyType key, TableIndex=TABLE_ANY)
 
WindowLayoutUpdateFunc winLayoutUpdateFunc (NameKeyType key, TableIndex=TABLE_WIN_LAYOUT_UPDATE)
 
WindowLayoutShutdownFunc winLayoutShutdownFunc (NameKeyType key, TableIndex=TABLE_WIN_LAYOUT_SHUTDOWN)
 
- Public Member Functions inherited from SubsystemInterface
 SubsystemInterface ()
 
virtual ~SubsystemInterface ()
 
virtual void postProcessLoad ()
 
virtual void draw (void)
 
void UPDATE (void)
 
void DRAW (void)
 
AsciiString getName (void)
 
void setName (AsciiString name)
 

Additional Inherited Members

- Public Types inherited from FunctionLexicon
enum  TableIndex {
  TABLE_ANY = -1 , TABLE_GAME_WIN_SYSTEM = 0 , TABLE_GAME_WIN_INPUT , TABLE_GAME_WIN_TOOLTIP ,
  TABLE_GAME_WIN_DEVICEDRAW , TABLE_GAME_WIN_DRAW , TABLE_WIN_LAYOUT_INIT , TABLE_WIN_LAYOUT_DEVICEINIT ,
  TABLE_WIN_LAYOUT_UPDATE , TABLE_WIN_LAYOUT_SHUTDOWN , MAX_FUNCTION_TABLES
}
 
- Protected Member Functions inherited from FunctionLexicon
void loadTable (TableEntry *table, TableIndex tableIndex)
 load a lookup table with run time values needed and save in table list
 
void * findFunction (NameKeyType key, TableIndex index)
 
void * keyToFunc (NameKeyType key, TableEntry *table)
 internal searching
 
- Protected Attributes inherited from FunctionLexicon
TableEntrym_tables [MAX_FUNCTION_TABLES]
 the lookup tables
 
- Protected Attributes inherited from SubsystemInterface
AsciiString m_name
 

Detailed Description

The function lexicon that can also contain w3d device methods

Definition at line 40 of file W3DFunctionLexicon.h.

Constructor & Destructor Documentation

◆ W3DFunctionLexicon()

W3DFunctionLexicon::W3DFunctionLexicon ( void )

Definition at line 118 of file W3DFunctionLexicon.cpp.

◆ ~W3DFunctionLexicon()

W3DFunctionLexicon::~W3DFunctionLexicon ( void )
virtual

Definition at line 125 of file W3DFunctionLexicon.cpp.

Member Function Documentation

◆ init()

void W3DFunctionLexicon::init ( void )
virtual

Initialize the function table specific for our implementations of the w3d device

Reimplemented from FunctionLexicon.

Definition at line 134 of file W3DFunctionLexicon.cpp.

◆ reset()

void W3DFunctionLexicon::reset ( void )
virtual

Reset

Reimplemented from FunctionLexicon.

Definition at line 149 of file W3DFunctionLexicon.cpp.

◆ update()

void W3DFunctionLexicon::update ( void )
virtual

Update

Reimplemented from FunctionLexicon.

Definition at line 162 of file W3DFunctionLexicon.cpp.


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