DesignMapPixel is the map pixel data type used in maps initialised as MAP_DesignMap.
In Zeolite_defines.h:
typedef struct { short int Alt; unsigned char Peak; unsigned char Frac; unsigned char Cliffs; unsigned char Erosion; unsigned char Lakes; unsigned char Climate; unsigned char SpecType; // 0=none, 1=sea, 2=Mountain, 3=Plateau, 4=Volcano, 5=file_overlay unsigned char SpecParam; } DesignMapPixel;
| Member name | Type | Comments |
|---|---|---|
| Alt | short int | The altitude of the design map pixel, in metres (-32k → 32k). |
| Peak | unsigned char | The strength of the peak overlay algorithm to be applied to this pixel when generating the heightfield (0…255). |
| Fractal | unsigned char | The strength of the fractal roughening to be applied to this pixel when generating the heightfield (0…255). |
| Cliffs | unsigned char | The strength of the cliffs/terraces algorithm to be applied to this pixel when generating the heightfield (0…255). |
| Erosion | unsigned char | The strength of the erosion algorithms to be applied to this pixel when generating the heightfield (0…10). |
| Lakes | unsigned char | The strength of the lake-finding algorithm to be applied to this pixel when flooding lakes automatically. (0…255). |
| Climate | unsigned char | The integer ID number of the climate to be used in this pixel (IDs are allocated by the project's climate list). |
| SpecType | unsigned char | The integer ID number of the special heightfield overlay to be applied to this pixel when generating the heightfield. |
| SpecParam | unsigned char | The integer parameter to be used with the chosen special heightfield overlay (set by SpecType). |