Crossfire Server, Trunk
room_gen.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char ** map_gen_onion (int xsize, int ysize, int option, int layers)
 
char ** room_gen_cooridored (int xsize, int ysize, int option)
 

Function Documentation

◆ map_gen_onion()

char** map_gen_onion ( int  xsize,
int  ysize,
int  option,
int  layers 
)

Generates an onion layout.

Parameters
xsize
ysizelayout size.
optioncombination of OPT_xxx values.
layersnumber of layers the onion should have.
Returns
layout.

Definition at line 70 of file room_gen_onion.cpp.

Referenced by layoutgen().

+ Here is the caller graph for this function:

◆ room_gen_cooridored()

char** room_gen_cooridored ( int  xsize,
int  ysize,
int  option 
)