summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-01 19:22:34 +0000
committerfrosch <frosch@openttd.org>2010-08-01 19:22:34 +0000
commited4f806f1dcff2e10d2fdfb687e6bcebe9a81af3 (patch)
treedba65e1ae2fc4538779195db320eccfa441cbbd0 /src/tgp.cpp
parent4871baf44db96137cf4b72c4f9d9595b2c29f61d (diff)
downloadopenttd-ed4f806f1dcff2e10d2fdfb687e6bcebe9a81af3.tar.xz
(svn r20283) -Codechange: Unify start of doygen comments.
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r--src/tgp.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index a73b18971..7e31f0637 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -204,7 +204,8 @@ static HeightMap _height_map = {NULL, 0, 0, 0, 0};
/** Maximum index into array of noise amplitudes */
static const int TGP_FREQUENCY_MAX = 6;
-/** Noise amplitudes (multiplied by 1024)
+/**
+ * Noise amplitudes (multiplied by 1024)
* - indexed by "smoothness setting" and log2(frequency) */
static const amplitude_t _amplitudes_by_smoothness_and_frequency[4][TGP_FREQUENCY_MAX + 1] = {
/* lowest frequncy.... ...highest (every corner) */
@@ -229,7 +230,8 @@ static const int8 _max_height[4] = {
15 ///< Mountainous
};
-/** Check if a X/Y set are within the map.
+/**
+ * Check if a X/Y set are within the map.
* @param x coordinate x
* @param y coordinate y
* @return true if within the map
@@ -835,7 +837,8 @@ static void HeightMapSmoothSlopes(height_t dh_max)
}
}
-/** Height map terraform post processing:
+/**
+ * Height map terraform post processing:
* - water level adjusting
* - coast Smoothing
* - slope Smoothing