|
wavelength 1.0.0
|
#include "math/color.h"#include "math/vector2.h"#include "math/vector3.h"#include "script/dataarray.h"
Go to the source code of this file.
Functions | |
| bool | FindConfigArray (DataArray *pConfig, DataArray *pDefaults, const char *pszName, DataArray **ppValue, bool bFail) |
| Find a child array in a configuration section or in its defaults. | |
| bool | FindConfigInt (DataArray *pConfig, DataArray *pDefaults, const char *pszName, int *pnValue, bool bFail) |
| Find an integer in a configuration section or in its defaults. | |
| bool | FindConfigFloat (DataArray *pConfig, DataArray *pDefaults, const char *pszName, float *pfValue, bool bFail) |
| Find a number in a configuration section or in its defaults. | |
| bool | FindConfigBool (DataArray *pConfig, DataArray *pDefaults, const char *pszName, int *pnValue, bool bFail) |
| Find a flag in a configuration section or in its defaults. | |
| bool | FindConfigSymbol (DataArray *pConfig, DataArray *pDefaults, const char *pszName, const char **ppszValue, bool bFail) |
| Find a symbol in a configuration section or in its defaults. | |
| bool | FindConfigVector2 (DataArray *pConfig, DataArray *pDefaults, const char *pszName, Vector2 *pValue, bool bFail) |
| Find two numbers in a configuration section or in its defaults. | |
| bool | FindConfigVector3 (DataArray *pConfig, DataArray *pDefaults, const char *pszName, Vector3 *pValue, bool bFail) |
| Find three numbers in a configuration section or in its defaults. | |
| bool | FindConfigColor (DataArray *pConfig, DataArray *pDefaults, const char *pszName, Color *pValue, bool bFail) |
| Find a colour in a configuration section or in its defaults. | |
| DataArray * | GetGfxConfig () |
| Find the gfx section of the configuration. | |
| DataArray * | GetModeGfxConfig () |
| Find the child of the gfx section for the kind of game, solo, duel, net, or multi. | |
| bool FindConfigArray | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| DataArray ** | ppValue, | ||
| bool | bFail ) |
Find a child array in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| ppValue | Receives the child array, or null. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigInt | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| int * | pnValue, | ||
| bool | bFail ) |
Find an integer in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pnValue | Receives the integer when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigFloat | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| float * | pfValue, | ||
| bool | bFail ) |
Find a number in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pfValue | Receives the number when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigBool | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| int * | pnValue, | ||
| bool | bFail ) |
Find a flag in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pnValue | Receives 1 for a non-zero flag and 0 otherwise, when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigSymbol | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| const char ** | ppszValue, | ||
| bool | bFail ) |
Find a symbol in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| ppszValue | Receives the symbol when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigVector2 | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| Vector2 * | pValue, | ||
| bool | bFail ) |
Find two numbers in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pValue | Receives the numbers when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigVector3 | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| Vector3 * | pValue, | ||
| bool | bFail ) |
Find three numbers in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pValue | Receives the numbers when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| bool FindConfigColor | ( | DataArray * | pConfig, |
| DataArray * | pDefaults, | ||
| const char * | pszName, | ||
| Color * | pValue, | ||
| bool | bFail ) |
Find a colour in a configuration section or in its defaults.
| pConfig | The section, or null. |
| pDefaults | The section of defaults, or null. |
| pszName | The tag. |
| pValue | Receives the colour when the entry exists. |
| bFail | Whether to report an entry missing from both sections. |
| DataArray * GetGfxConfig | ( | ) |
Find the gfx section of the configuration.
| DataArray * GetModeGfxConfig | ( | ) |
Find the child of the gfx section for the kind of game, solo, duel, net, or multi.