summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-13 17:27:36 +0000
committersmatz <smatz@openttd.org>2008-04-13 17:27:36 +0000
commita5c456e75e9e950087700a2f469afc26cdffb8d3 (patch)
tree404d2faa030b45652cc0d68d918da2b0f94fb31f /src
parente8ee93b5938642bb25e0a5e349d9ce4c7c071960 (diff)
downloadopenttd-a5c456e75e9e950087700a2f469afc26cdffb8d3.tar.xz
(svn r12690) -Cleanup: remove unused table from tgp.cpp
Diffstat (limited to 'src')
-rw-r--r--src/tgp.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index b798210fc..c5d4f4101 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -683,14 +683,6 @@ static inline int perlin_landXY(uint x, uint y)
}
-/* The following decimals are the octave power modifiers for the Perlin noise */
-static const double _perlin_p_values[][7] = { // perlin frequency per power
- { 0.35, 0.35, 0.35, 0.35, 0.35, 0.25, 0.539 }, ///< Very smooth
- { 0.45, 0.55, 0.45, 0.45, 0.35, 0.25, 0.89 }, ///< Smooth
- { 0.85, 0.80, 0.70, 0.45, 0.45, 0.35, 1.825 }, ///< Rough 1.825
- { 0.95, 0.85, 0.80, 0.55, 0.55, 0.45, 2.245 } //< Very Rough 2.25
-};
-
/**
* The Perlin Noise calculation using large primes
* The initial number is adjusted by two values; the generation_seed, and the