Commit Graph

83 Commits (e6be8be19d5b9b2b21175bad0d8bb22c64e596a4)

Author SHA1 Message Date
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 5 years ago
Gabda 37bb2c9308 Codechange: Make the style of MakeVoid calls uniform (#7192) 5 years ago
nikolas d8ccad91f9 Fix: Some code and comment typos
Found with codespell
6 years ago
frosch d77935f788 (svn r27334) -Revert (r27232) [FS#6342]: No idea what the plan was, but making the main noise coefficients the same for all smoothness types certainly wasn't. 9 years ago
frosch be0b22c9bc (svn r27331) -Cleanup (r26999): Make variety distribution curves more sane. 9 years ago
frosch a11ae39437 (svn r27330) -Fix [FS#6335]: Make variety distribution not assume that sea level is at height 0.2 / 3 * TGPGetMaxHeight(). 9 years ago
frosch b303ba7505 (svn r27329) -Fix: Add more height_t type-correctness to TGP code. 9 years ago
frosch 8437726cca (svn r27328) -Codechange: Add an assertion to check for uninitialised variables when tracing variety distribution's control curves. 9 years ago
alberth 262c3c93c8 (svn r27232) -Fix: Tweak noise generator more precisely for different map sizes (chillcore) 9 years ago
alberth 9db21f6489 (svn r27230) -Fix: Tune down terrain generation to reduce amount of long slopes (chillcore) 9 years ago
alberth f29842316e (svn r27229) -Change: Generate more detailed curves at the coast (chillcore) 9 years ago
alberth 79c3bc081b (svn r27228) -Change: Slightly more water in the non-custom sea levels (chillcore) 9 years ago
alberth 8e2b3d170b (svn r27227) -Codechange: Initialise map at level 0 instead of -32k (chillcore) 9 years ago
rubidium b4b0b2750c (svn r27018) -Fix [FS#6141] (r27008): the higher amplitudes needed for higher maps were not ignored properly causing much smoother maps than wanted 10 years ago
rubidium 8d90e86c2c (svn r27009) -Add: extra level of general map heightness (ChillCore) 10 years ago
rubidium fcdbdd6043 (svn r27008) -Change: extrapolate the amplitudes for the large wavelengths needed for much higher maps 10 years ago
rubidium a1611de3a3 (svn r27007) -Codechange: allow for more frequencies (based on patch by ic111) 10 years ago
rubidium 344a7a0f16 (svn r27006) -Codechange: move getting of the amplitude to a seperate function 10 years ago
rubidium a200656534 (svn r27005) -Fix (r26999): variety distribution curve map scaling did one conversion to height_t too many 10 years ago
rubidium 771dcf3b7b (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 10 years ago
rubidium b0c4a16e9d (svn r27000) -Fix (r26999): compilation error with some versions of GCC 10 years ago
rubidium df5d5e2b8b (svn r26999) -Codechange: make the variety distribution automatically scale to the maximum height of the map 10 years ago
rubidium caf3bda626 (svn r26998) -Change: account for the map size when determining the maximum height of the landscape; a 24 high mountain at 64x64 leaves barely any usable space, but on a 4096x4096 it's just a "small" bump (ic111) 10 years ago
rubidium 92553c9c6b (svn r26997) -Fix/codechange: use signed integers for TGP's internal map size and X/Y variables due to X/Y in comparisons occasionally getting smaller than 0 due to subtractions 10 years ago
rubidium 2a786aa264 (svn r26946) -Fix (r26945): MSVC doesn't seem to have round yet 10 years ago
rubidium a14fad13ed (svn r26945) -Fix-ish: better scaling of the "cells" in which variety distribution happens for non-square maps (attempt to make reasonably square areas) 10 years ago
rubidium 8385e6268e (svn r26940) -Fix (r26937): comparing values of different signedness 10 years ago
rubidium 61c3e8e848 (svn r26939) -Cleanup: some bits of coding style cleanup for TGP 10 years ago
rubidium 08aaabcbb4 (svn r26938) -Codechange: simplify RandomHeight significantly 10 years ago
rubidium 2b0a1f7beb (svn r26937) -Cleanup: simplify the logic for heightmap generation in TGP; instead of performing more and more loops the larger the map becomes to elaborately set the height to 0 many times, just run it for each frequency and be done with it 10 years ago
rubidium 135b3f635d (svn r26932) -Codechange: replace some constants with less weird looking constants and simplify clamping by actually using Clamp 10 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium 2e54c8fdfa (svn r26056) -Fix: a number of possibly uninitialised variables 11 years ago
zuu b35b8aa5bb (svn r25848) -Codechange: Refactor check for if a tile is not an edge tile to new IsInnerTile method (cirdan, LordAro) 11 years ago
alberth 732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
alberth 0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
terkhen bce6328ed0 (svn r20833) -Fix (r20832): Remove a warning. 14 years ago
terkhen e90930e572 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 14 years ago
yexo 241d705406 (svn r20474) -Cleanup: remove some unused code 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
yexo 0baa5ff944 (svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h 15 years ago
rubidium e5ebae1085 (svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly casting from floats to integers 15 years ago
peter1138 99bb3a95b4 (svn r18541) -Feature: Additional map variety option for TGP landscape generator. Evolved from curve map idea from Zephyris. 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 32cbe57178 (svn r17692) -Codechange: minor coding style fixes 15 years ago