Atrinik Server  4.0
Macros
Random map symmetry

Macros

#define RANDOM_SYM   0
 
#define NO_SYM   1
 
#define X_SYM   2
 
#define Y_SYM   3
 
#define XY_SYM   4
 

Detailed Description

Symmetry definitions – used in this file AND in treasure.c, the numerical values matter so don't change them.

Macro Definition Documentation

#define NO_SYM   1

No symmetry.

Definition at line 181 of file random_map.h.

#define RANDOM_SYM   0

Random symmetry.

Definition at line 179 of file random_map.h.

#define X_SYM   2

Vertical symmetry.

Definition at line 183 of file random_map.h.

#define XY_SYM   4

Reflection.

Definition at line 187 of file random_map.h.

#define Y_SYM   3

Horizontal symmetry.

Definition at line 185 of file random_map.h.