L3DT documentation
Large 3D terrain generator

This is an old revision of the document!


WaterMapPixel

Description

WaterMapPixel is the pixel data type for maps initialised as MAP_WaterMap.

Definition

In ExtAPI_defines.h:

typedef struct {
  unsigned short WaterID;
  unsigned char Type;
  float WaterLevel;
} WaterMapPixel;

Member data

Member name Type Comments
WaterID unsigned short The integer ID number of the parent water body within the water map's water body list.
Type unsigned char The integer ID number that specifies the type of water at the pixel. Allowed values are listed below.
WaterLevel float The floating-point altitude of the water surface.

Type identifiers

VarID N/A (watermappixel is not a valid variable type.)
MapID MAP_WaterMap.

Comments

Type values

The following water types are allowed:

Type ID Description
0 No water.
10 Ocean.
11 Ocean shore.
30 Lake.
31 Lake shore.
90 Water table.
 
zeolite/types/watermappixel.1294889354.txt.gz · Last modified: 2017/08/31 04:21 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki