Crossfire Server, Branch 1.12  R12190
Functions
expand2x.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char ** expand2x (char **layout, int xsize, int ysize)
 Expands the layout be a factor 2.

Function Documentation

char** expand2x ( char **  layout,
int  xsize,
int  ysize 
)

Expands the layout be a factor 2.

Doors and walls are taken care of.

Parameters:
layoutlayout to expand. Memory is free()d at the end, so pointer becomes invalid.
xsize
ysizelayout size.
Returns:
new layout. Must be free()d by caller.

Definition at line 39 of file expand2x.c.