Crossfire Server, Branch 1.12  R12190
expand2x.h
Go to the documentation of this file.
00001 /*
00002  * Expands a layout by 2x in each dimension.
00003  * (Header file)
00004  * H. S. Teoh
00005  * --------------------------------------------------------------------------
00006  * $Id: expand2x.h 4960 2006-09-21 05:10:51Z mwedel $
00007  */
00008 
00009 #ifndef EXPAND2X_H
00010 #define EXPAND2X_H
00011 
00012 /* Expands a layout by 2x in each dimension.
00013  * Resulting layout is actually (2*xsize-1)x(2*ysize-1). (Because of the cheesy
00014  * algorithm, but hey, it works).
00015  *
00016  * Don't forget to free the old layout after this is called (it does not
00017  * presume to do so itself).
00018  */
00019 char **expand2x(char **layout, int xsize, int ysize);
00020 
00021 #endif /* EXPAND2X_H */