Crossfire Server, Trunk  R20513
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
char ** expand2x(char **layout, int xsize, int ysize)
Expands the layout be a factor 2.
Definition: expand2x.c:43
Definition: main.c:88