2012-12-09 17:49:28 +00:00
|
|
|
#ifndef _PAYSAGES_TERRAIN_PRIVATE_H_
|
|
|
|
#define _PAYSAGES_TERRAIN_PRIVATE_H_
|
|
|
|
|
2012-12-10 22:05:53 +00:00
|
|
|
#include "public.h"
|
|
|
|
|
|
|
|
#define TERRAIN_HEIGHTMAP_DETAIL 0.1
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int xstart;
|
|
|
|
int ystart;
|
|
|
|
int xsize;
|
|
|
|
int ysize;
|
|
|
|
void* data;
|
|
|
|
} TerrainHeightMapData;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int fixed_count;
|
|
|
|
TerrainHeightMapData* fixed_data;
|
|
|
|
int floating_count;
|
|
|
|
TerrainHeightMapData* floating_data;
|
|
|
|
} TerrainHeightMap;
|
|
|
|
|
2012-12-09 17:49:28 +00:00
|
|
|
#endif
|