#include <assert.h>
Defines | |
#define | CHARBUF 250 |
length of the buffer (one line to be saved to file) | |
Typedefs | |
typedef float(* | CONVERTER )(float a) |
typedef void(* | ONCHANGE_CALLBACK )(void) |
Enumerations | |
enum | bool_t { bShowHelp, bAutoGenCubeMap, bUseCosTexture, bShowFireballs, bMultipleObjects, bConfineToRoom, LAST_BOOL } |
Boolean variables that will be displayed as GUI checkboxes. More... | |
enum | number_t { iWhichMethod, iWhichMesh, fMeshScale, iResolution, iShowCubeMap, fIntensity, iShininess, LAST_NUMBER } |
Numeric variables that will be displayed as GUI sliders. More... | |
enum | method_t { DIFFUSE_SPECULAR_CLASSIC, DIFFUSE_SPECULAR_LOCALIZED, DIFFUSE_SPECULAR_LOCALIZED_5TEX } |
Possible values for iWhichMethod. More... | |
enum | std_buttons_t { IDC_RESET_BUTTON = -3, IDC_SAVE_BUTTON, IDC_LOAD_BUTTON } |
Parameter-manager buttons. More... | |
Functions | |
float | noconvert (float a) |
void | OnChange () |
|
length of the buffer (one line to be saved to file)
|
|
Conversion function (see Parameters::Add()). E.g. to create a slider that produces exponential values. |
|
Change callback function (see Parameters::Add()). To be called when the respective parameter is modified. |
|
Boolean variables that will be displayed as GUI checkboxes.
|
|
Possible values for iWhichMethod.
|
|
Numeric variables that will be displayed as GUI sliders.
|
|
Parameter-manager buttons.
|
|
Default conversion function (see CONVERTER). Does nothing but returning the value passed. |
|
Default change callback function (see ONCHANGE_CALLBACK). Does nothing. |