Crossfire Server, Trunk
expand2x.h
Go to the documentation of this file.
1 
6 #ifndef _EXPAND2X_H
7 #define _EXPAND2X_H
8 
9 /* Expands a layout by 2x in each dimension.
10  * Resulting layout is actually (2*xsize-1)x(2*ysize-1). (Because of the cheesy
11  * algorithm, but hey, it works).
12  *
13  * Don't forget to free the old layout after this is called (it does not
14  * presume to do so itself).
15  */
16 char **expand2x(char **layout, int xsize, int ysize);
17 
18 #endif
layout
Definition: main.cpp:84
expand2x
char ** expand2x(char **layout, int xsize, int ysize)
Definition: expand2x.cpp:43