Freeciv-3.3
Loading...
Searching...
No Matches
server
generator
fracture_map.h
Go to the documentation of this file.
1
/***********************************************************************
2
Freeciv - Copyright (C) 1996-2007 - The Freeciv Project
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; either version 2, or (at your option)
6
any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
***********************************************************************/
13
#ifndef FC__FRACTURE_MAP_H
14
#define FC__FRACTURE_MAP_H
15
16
/*
17
* Height map information
18
*
19
* height_map[] stores the height of each tile
20
* hmap_max_level is the maximum height (heights will range from
21
* [0,hmap_max_level).
22
* hmap_shore_level is the level of ocean. Any tile at this height or
23
* above is land; anything below is ocean.
24
* hmap_mount_level is the level of mountains and hills. Any tile above
25
* this height will usually be a mountain or hill.
26
*/
27
extern
int
*
height_map
;
28
extern
int
hmap_shore_level
,
hmap_mountain_level
;
29
30
void
make_fracture_map
(
void
);
31
void
make_fracture_relief
(
void
);
32
#define MG_UNUSED mapgen_terrain_property_invalid()
33
34
#endif
/* FC__FRACTURE__MAP_H */
make_fracture_map
void make_fracture_map(void)
Definition
fracture_map.c:55
make_fracture_relief
void make_fracture_relief(void)
Definition
fracture_map.c:294
hmap_mountain_level
int hmap_mountain_level
Definition
fracture_map.h:28
hmap_shore_level
int hmap_shore_level
Definition
height_map.c:30
height_map
int * height_map
Definition
height_map.c:29
Generated on Sun Dec 22 2024 22:30:37 for Freeciv-3.3 by
1.9.8