Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
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 */
expand2x
char ** expand2x(char **layout, int xsize, int ysize)
Definition:
expand2x.c:39
crossfire-code
server
branches
1.12
random_maps
expand2x.h
Generated on Sun Nov 18 2018 02:40:29 for Crossfire Server, Branches 1.12 by
1.8.6