Freeciv-3.4
Toggle main menu visibility
Main Page
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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 Mar 9 2025 22:30:14 for Freeciv-3.4 by
1.9.8