GeoGen Development snapshot a3
|
Go to the source code of this file.
Defines | |
#define | GGEN_INVALID_HEIGHT -32768 |
#define | GGEN_MAX_HEIGHT 32767 |
#define | GGEN_MAX_PATH_LENGTH 5000 |
#define | GGEN_MIN_HEIGHT -32767 |
#define | GGEN_MIN_MAP_SIZE 2 |
Typedefs | |
typedef uint16 | GGen_Coord |
typedef int32 | GGen_CoordOffset |
typedef uint32 | GGen_Distance |
typedef int16 | GGen_Height |
typedef uint16 | GGen_Size |
Enumerations | |
enum | GGen_Arg_Type { GGEN_BOOL, GGEN_INT, GGEN_ENUM } |
enum | GGen_Comparison_Mode { GGEN_EQUAL_TO, GGEN_NOT_EQUAL_TO, GGEN_LESS_THAN, GGEN_GREATER_THAN, GGEN_LESS_THAN_OR_EQUAL_TO, GGEN_GREATER_THAN_OR_EQUAL_TO } |
enum | GGen_Direction { GGEN_HORIZONTAL, GGEN_VERTICAL } |
enum | GGen_Normalization_Mode { GGEN_ADDITIVE, GGEN_SUBSTRACTIVE } |
enum | GGen_Outline_Mode { GGEN_INSIDE, GGEN_OUTSIDE } |
enum | GGen_Overflow_Mode { GGEN_CYCLE, GGEN_DISCARD, GGEN_DISCARD_AND_FILL } |
enum | GGen_Status { GGEN_NO_SCRIPT, GGEN_SCRIPT_LOADED, GGEN_READY_TO_GENERATE, GGEN_LOADING_MAP_INFO, GGEN_GENERATING } |
enum | GGen_Voronoi_Noise_Mode { GGEN_RIDGES, GGEN_BUBBLES } |
File containing basic typedefs and enums used in rest of the GeoGen.
#define GGEN_INVALID_HEIGHT -32768 |
Value representing invalid tile.
#define GGEN_MAX_HEIGHT 32767 |
Maximum reachable height.
#define GGEN_MAX_PATH_LENGTH 5000 |
Maximum number of points in a path object.
#define GGEN_MIN_HEIGHT -32767 |
Minimum reachable height.
#define GGEN_MIN_MAP_SIZE 2 |
Minimum map width/height(/length for 1D).
typedef uint16 GGen_Coord |
Coordinate into a data array. Leftmost/topmost element has coordinate 0.
typedef int32 GGen_CoordOffset |
Relative coordinate offset. Positive values mean offset to left/bottom, negative values offset to right/top.
typedef uint32 GGen_Distance |
Value representing euclidean distance between two points.
typedef int16 GGen_Height |
Height value for one tile. Value range: <-32768, 32767>.
typedef uint16 GGen_Size |
Size (in one dimension) of a data array or of an coordinate interval. Value range: <0, 65535>.
enum GGen_Arg_Type |
enum GGen_Comparison_Mode |
Arithmetic comparison operators.
enum GGen_Direction |
Normalization mode (for GGen_Data_1D::Normalize and GGen_Data_2D::Normalize) defining behavior for too steep slopes.
enum GGen_Outline_Mode |
Outline mode.
enum GGen_Overflow_Mode |
Overflow mode (for GGen_Data_1D::Shift and GGen_Data_2D::Shift) defining behavior for values, which would be shifted outside the array and for values which would be shifted from outside in.
enum GGen_Status |
Generator status