#include <lookuptable.h>
Public Member Functions | |
| LookupTableMgrClass (void) | |
| ~LookupTableMgrClass (void) | |
Static Public Member Functions | |
| static void | Init (void) |
| static void | Shutdown (void) |
| static bool | Add_Table (LookupTableClass *table) |
| static bool | Remove_Table (LookupTableClass *table) |
| static LookupTableClass * | Get_Table (const char *name, bool try_to_load=true) |
| static void | Save_Table_Desc (ChunkSaveClass &csave, Curve1DClass *curve, const Vector2 &min, const Vector2 &max) |
| static void | Load_Table_Desc (ChunkLoadClass &cload, Curve1DClass **curve_ptr, Vector2 *set_min=NULL, Vector2 *set_max=NULL) |
| static void | Reset (void) |
Static Protected Attributes | |
| static RefMultiListClass< LookupTableClass > | Tables |
LookupTableMgrClass This class tracks all of the LookupTableClass's that have been loaded or installed. LookupTables can be created using the "SimpleGraph" tool. It basically allows you to edit a curve which will be used to generate the table. These curves are stored in .TBL files.
NOTE: Use the SimpleGraph program to create lookup tables! Then just ask for them by filename and it will load the table for you (unless it is already loaded).
NOTE: I add a table called "DefaultTable" so that you can revert to that if your table isn't found.
Definition at line 128 of file lookuptable.h.
| LookupTableMgrClass::LookupTableMgrClass | ( | void | ) |
| LookupTableMgrClass::~LookupTableMgrClass | ( | void | ) |
|
static |
Definition at line 133 of file lookuptable.cpp.
|
static |
Definition at line 143 of file lookuptable.cpp.
|
static |
Definition at line 106 of file lookuptable.cpp.
|
static |
Definition at line 201 of file lookuptable.cpp.
|
static |
Definition at line 138 of file lookuptable.cpp.
|
static |
Definition at line 126 of file lookuptable.cpp.
|
static |
Definition at line 177 of file lookuptable.cpp.
|
static |
Definition at line 121 of file lookuptable.cpp.
|
staticprotected |
Definition at line 156 of file lookuptable.h.