WaterMapPixel
is the pixel data type for maps initialised as MAP_WaterMap.
In Zeolite_defines.h:
typedef struct { unsigned short WaterID; unsigned char Type; float WaterLevel; } WaterMapPixel;
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. |
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. |