Crossfire Server, Branches 1.12  R18729
expand2x.h
Go to the documentation of this file.
1 /*
2  * Expands a layout by 2x in each dimension.
3  * (Header file)
4  * H. S. Teoh
5  * --------------------------------------------------------------------------
6  * $Id: expand2x.h 4960 2006-09-21 05:10:51Z mwedel $
7  */
8 
9 #ifndef EXPAND2X_H
10 #define EXPAND2X_H
11 
12 /* Expands a layout by 2x in each dimension.
13  * Resulting layout is actually (2*xsize-1)x(2*ysize-1). (Because of the cheesy
14  * algorithm, but hey, it works).
15  *
16  * Don't forget to free the old layout after this is called (it does not
17  * presume to do so itself).
18  */
19 char **expand2x(char **layout, int xsize, int ysize);
20 
21 #endif /* EXPAND2X_H */
char ** expand2x(char **layout, int xsize, int ysize)
Definition: expand2x.c:39