ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/expand2x.h
Revision: 1.1.1.1 (vendor branch)
Committed: Fri Feb 3 07:14:21 2006 UTC (18 years, 4 months ago) by root
Content type: text/plain
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_02_03, rel-2_0, rel-2_1, UPSTREAM_2006_03_15, LAST_C_VERSION, UPSTREAM_2006_02_22, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
Log Message:
initial import

File Contents

# Content
1 /*
2 * Expands a layout by 2x in each dimension.
3 * (Header file)
4 * H. S. Teoh
5 * --------------------------------------------------------------------------
6 * $Id: expand2x.h,v 1.1 2001/05/04 22:10:04 mardahl Exp $
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 */