29 HRESULT
LoadElevations(
Terrain * pTerrain,
const char * szFilename,
float fTerrainSize,
float elevationScale,
bool swapVertical=TRUE );
39 HRESULT
LoadElevations(
float **ppImageData,
int* nSize,
const char * szFilename,
bool swapVertical=TRUE);
55 HRESULT LoadTerrainInfo(
Terrain *pTerrain,
const char* szFilename);
59 void ApplyTexture(
Terrain * pTerrain,
const char *szFilename,
bool isBaseTexture);
Definition: SceneObject.h:15
void LoadTerrainTexture(Terrain *pTerrain, const char *fileName)
The texture will automatically be chopped into TextureCell objects and a grid of textures will be arr...
Definition: Loader.cpp:252
The Loader is a Singleton object that provides access to ElevationLoaders and TextureLoaders.
Definition: Loader.h:14
static Loader * GetInstance()
Returns the Singleton instance of the Loader class.
Definition: Loader.cpp:25
void LoadCommonTerrainTexture(Terrain *pTerrain, const char *fileName)
Uses the specified TextureLoader library to apply a repeating common texture to the specified Terrain...
Definition: Loader.cpp:259
This class represents a single, contiguous chunk of terrain and is the primary public interface to De...
Definition: Terrain.h:386
HRESULT LoadHoleFile(Terrain *pTerrain, const char *szFilename, short nHoleScale)
[absoleted: holes are specified in terrain config file] Load the terrain hole file.
Definition: Loader.cpp:32
HRESULT LoadElevations(Terrain *pTerrain, const char *szFilename, float fTerrainSize, float elevationScale, bool swapVertical=TRUE)
Definition: Loader.cpp:197