|
int | lat |
|
int | lon |
|
int | lat_size |
|
int | lon_size |
|
int | height |
|
int | width |
|
struct RealTile::Coloring * | coloring |
|
signed short * | heights |
|
Texture * | tex |
|
void RealTile__apply_default_coloring |
( |
RealTile * |
tile | ) |
|
Apply default coloring algorithm for RealTile
- Parameters
-
bool RealTile__coloring_alloc |
( |
RealTile * |
tile, |
|
|
int |
height, |
|
|
int |
width |
|
) |
| |
Allocate memory for RealTile's coloring
- Parameters
-
tile | RealTile to allocate memory for |
height | height of coloring's resolution |
width | width of coloring's resolution |
- Returns
- was allocation successful
void RealTile__coloring_dealloc |
( |
RealTile * |
tile | ) |
|
Deallocate memory of RealTile's coloring
- Parameters
-
void RealTile__coloring_place |
( |
RealTile * |
tile, |
|
|
RealTile * |
data, |
|
|
int |
place_y, |
|
|
int |
place_x |
|
) |
| |
Set values in provided rectangle of RealTile's coloring
- Parameters
-
tile | target RealTile |
data | source RealTile |
place_y | y coordinate of target coloring where setting should start |
place_x | x coordinate of target coloring where setting should start |
RealTile * RealTile__create |
( |
int |
lat, |
|
|
int |
lon, |
|
|
int |
lat_size, |
|
|
int |
lon_size |
|
) |
| |
Create new RealTile instance
- Returns
- NULL if memory allocation was impossible, otherwise a valid pointer to RealTile
void RealTile__destroy |
( |
RealTile * |
tile | ) |
|
bool RealTile__texture_alloc |
( |
RealTile * |
tile | ) |
|
Allocate memory for RealTile's texture
- Parameters
-
- Returns
bool RealTile__texture_dealloc |
( |
RealTile * |
tile | ) |
|
void RealTile__texture_generate |
( |
RealTile * |
tile | ) |
|
Generate RealTile's texture based on coloring
- Parameters
-
The documentation for this struct was generated from the following file: