Collaboration diagram for demeter::Settings:
Public Member Functions | |
~Settings () | |
Destructor. | |
void | SetMediaPath (char *szPath) |
Sets the filesystem path that Demeter will look in when reading textures, maps, etc. | |
void | GetMediaPath (char **szPath) |
Gets the filesystem path that Demeter will look in when reading textures, maps, etc. | |
void | PrependMediaPath (char *szFilename, char **pszFullFilename) |
Prepends the current media path to the specified filename. | |
void | SetVerbose (bool bVerbose) |
Specifies whether or not Demeter should output diagnostic information at runtime. | |
bool | IsVerbose () |
Indicates whether or not Demeter is outputting diagnostic information at runtime. | |
void | SetScreenWidth (int width) |
Tells Demeter what the current width of the rendering surface is. | |
int | GetScreenWidth () |
Retrieves the current width of the rendering surface assumed by Demeter. | |
void | SetScreenHeight (int height) |
Tells Demeter what the current height of the rendering surface is. | |
int | GetScreenHeight () |
Retrieves the current height of the rendering surface assumed by Demeter. | |
bool | SetProperty (char *szProperty, char *szValue) |
Sets a named global property to the specified value. | |
bool | GetProperty (char *szProperty, char *szValue) |
Retrieves a named global property. | |
bool | IsCompilerOnly () |
Indicates whether or not the application that is using Demeter is a terrain compiler-like tool or a real application. | |
void | SetCompilerOnly (bool bIsCompilerOnly) |
Determins whether or not the application that is using Demeter is a terrain compiler-like tool or a real application. | |
void | SetUseDynamicTextures (bool useDynamic) |
bool | UseDynamicTextures () |
bool | IsTextureCompression () |
void | SetTextureCompression (bool bCompress) |
void | SetHeadless (bool isHeadless) |
bool | IsHeadless () |
Static Public Member Functions | |
Settings * | GetInstance () |
Returns the global instance of this class. The Settings class acts a singleton, so there is only one instance of this class per application. |
Definition at line 300 of file CLODTerrainRenderer.
|
Destructor.
Definition at line 2142 of file CLODTerrainRenderer.cpp. |
|
Returns the global instance of this class. The Settings class acts a singleton, so there is only one instance of this class per application.
Definition at line 2148 of file CLODTerrainRenderer.cpp. References pSettingsInstance. Referenced by demeter::TerrainBlock::DummyFunc(), demeter::TerrainLattice::Load(), demeter::Terrain::Render(), demeter::Terrain::SetCommonTexture(), demeter::Terrain::SetTexture(), demeter::Terrain::Terrain(), demeter::TerrainBlock::TerrainBlock(), demeter::Terrain::Tessellate(), and demeter::Terrain::Write(). |
|
Gets the filesystem path that Demeter will look in when reading textures, maps, etc.
Definition at line 2215 of file CLODTerrainRenderer.cpp. Referenced by demeter::TerrainLattice::Load(). |
|
Retrieves a named global property.
Definition at line 2168 of file CLODTerrainRenderer.cpp. |
|
Retrieves the current height of the rendering surface assumed by Demeter.
Definition at line 2259 of file CLODTerrainRenderer.cpp. Referenced by demeter::TerrainBlock::DummyFunc(). |
|
Retrieves the current width of the rendering surface assumed by Demeter.
Definition at line 2249 of file CLODTerrainRenderer.cpp. Referenced by demeter::TerrainBlock::DummyFunc(). |
|
Indicates whether or not the application that is using Demeter is a terrain compiler-like tool or a real application.
Definition at line 2269 of file CLODTerrainRenderer.cpp. Referenced by demeter::Terrain::SetCommonTexture(), and demeter::Terrain::SetTexture(). |
|
Definition at line 2234 of file CLODTerrainRenderer.cpp. Referenced by demeter::Terrain::SetTexture(). |
|
Definition at line 2284 of file CLODTerrainRenderer.cpp. |
|
Indicates whether or not Demeter is outputting diagnostic information at runtime.
Definition at line 2244 of file CLODTerrainRenderer.cpp. Referenced by demeter::Terrain::SetCommonTexture(), demeter::Terrain::SetTexture(), demeter::TerrainBlock::TerrainBlock(), and demeter::Terrain::Tessellate(). |
|
Prepends the current media path to the specified filename.
Definition at line 2222 of file CLODTerrainRenderer.cpp. Referenced by demeter::TerrainLattice::Load(), demeter::Terrain::SetCommonTexture(), demeter::Terrain::SetTexture(), demeter::Terrain::Terrain(), and demeter::Terrain::Write(). |
|
Determins whether or not the application that is using Demeter is a terrain compiler-like tool or a real application.
Definition at line 2274 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2229 of file CLODTerrainRenderer.cpp. |
|
Sets the filesystem path that Demeter will look in when reading textures, maps, etc.
Definition at line 2196 of file CLODTerrainRenderer.cpp. |
|
Sets a named global property to the specified value.
Definition at line 2155 of file CLODTerrainRenderer.cpp. References SetVerbose(). |
|
Tells Demeter what the current height of the rendering surface is.
Definition at line 2264 of file CLODTerrainRenderer.cpp. |
|
Tells Demeter what the current width of the rendering surface is.
Definition at line 2254 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2279 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2186 of file CLODTerrainRenderer.cpp. |
|
Specifies whether or not Demeter should output diagnostic information at runtime.
Definition at line 2239 of file CLODTerrainRenderer.cpp. Referenced by SetProperty(). |
|
Definition at line 2191 of file CLODTerrainRenderer.cpp. Referenced by demeter::Terrain::Render(). |