Crossfire Server, Trunk  R20513
Macros
Random map symetry

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

Macros

#define NO_SYM   1
 No symmetry. More...
 
#define RANDOM_SYM   0
 Random symmetry. More...
 
#define X_SYM   2
 Vertical symmetry. More...
 
#define XY_SYM   4
 Reflection. More...
 
#define Y_SYM   3
 Horizontal symmetry. More...
 

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 139 of file random_map.h.

Referenced by layoutgen(), and symmetrize_layout().

#define RANDOM_SYM   0

Random symmetry.

Definition at line 138 of file random_map.h.

Referenced by layoutgen().

#define X_SYM   2

Vertical symmetry.

Definition at line 140 of file random_map.h.

Referenced by connect_spirals(), layoutgen(), and symmetrize_layout().

#define XY_SYM   4

Reflection.

Definition at line 142 of file random_map.h.

Referenced by connect_spirals(), layoutgen(), and symmetrize_layout().

#define Y_SYM   3

Horizontal symmetry.

Definition at line 141 of file random_map.h.

Referenced by connect_spirals(), layoutgen(), and symmetrize_layout().