Commit Graph

179 Commits

Author SHA1 Message Date
rubidium
344a7a0f16 (svn r27006) -Codechange: move getting of the amplitude to a seperate function 2014-10-13 14:12:06 +00:00
rubidium
325d2b419d (svn r27005) -Fix (r26999): variety distribution curve map scaling did one conversion to height_t too many 2014-10-13 14:07:37 +00:00
rubidium
a200656534 (svn r27005) -Fix (r26999): variety distribution curve map scaling did one conversion to height_t too many 2014-10-13 14:07:37 +00:00
rubidium
660a95e5d2 (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 2014-10-12 18:41:53 +00:00
rubidium
771dcf3b7b (svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments 2014-10-12 18:41:53 +00:00
rubidium
ffb443934a (svn r27000) -Fix (r26999): compilation error with some versions of GCC 2014-10-12 11:53:13 +00:00
rubidium
b0c4a16e9d (svn r27000) -Fix (r26999): compilation error with some versions of GCC 2014-10-12 11:53:13 +00:00
rubidium
a9de336295 (svn r26999) -Codechange: make the variety distribution automatically scale to the maximum height of the map 2014-10-12 11:28:45 +00:00
rubidium
df5d5e2b8b (svn r26999) -Codechange: make the variety distribution automatically scale to the maximum height of the map 2014-10-12 11:28:45 +00:00
rubidium
c44c6b0f9b (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) 2014-10-12 10:55:49 +00:00
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) 2014-10-12 10:55:49 +00:00
rubidium
5159d90e6c (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 2014-10-12 10:49:29 +00:00
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 2014-10-12 10:49:29 +00:00
rubidium
517bfd4361 (svn r26946) -Fix (r26945): MSVC doesn't seem to have round yet 2014-10-02 17:40:45 +00:00
rubidium
2a786aa264 (svn r26946) -Fix (r26945): MSVC doesn't seem to have round yet 2014-10-02 17:40:45 +00:00
rubidium
94513de4f8 (svn r26945) -Fix-ish: better scaling of the "cells" in which variety distribution happens for non-square maps (attempt to make reasonably square areas) 2014-10-02 17:32:45 +00:00
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) 2014-10-02 17:32:45 +00:00
rubidium
d63fcbe519 (svn r26940) -Fix (r26937): comparing values of different signedness 2014-09-29 19:21:55 +00:00
rubidium
8385e6268e (svn r26940) -Fix (r26937): comparing values of different signedness 2014-09-29 19:21:55 +00:00
rubidium
e550580d74 (svn r26939) -Cleanup: some bits of coding style cleanup for TGP 2014-09-29 19:04:34 +00:00
rubidium
61c3e8e848 (svn r26939) -Cleanup: some bits of coding style cleanup for TGP 2014-09-29 19:04:34 +00:00
rubidium
72354f7e6a (svn r26938) -Codechange: simplify RandomHeight significantly 2014-09-29 19:04:02 +00:00
rubidium
08aaabcbb4 (svn r26938) -Codechange: simplify RandomHeight significantly 2014-09-29 19:04:02 +00:00
rubidium
4549a07a89 (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 2014-09-29 18:18:21 +00:00
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 2014-09-29 18:18:21 +00:00
rubidium
e1120327e7 (svn r26932) -Codechange: replace some constants with less weird looking constants and simplify clamping by actually using Clamp 2014-09-27 20:39:32 +00:00
rubidium
135b3f635d (svn r26932) -Codechange: replace some constants with less weird looking constants and simplify clamping by actually using Clamp 2014-09-27 20:39:32 +00:00
rubidium
2be4215f43 (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 2014-04-23 20:13:33 +00:00
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 2014-04-23 20:13:33 +00:00
rubidium
bebf2291db (svn r26056) -Fix: a number of possibly uninitialised variables 2013-11-22 21:50:43 +00:00
rubidium
2e54c8fdfa (svn r26056) -Fix: a number of possibly uninitialised variables 2013-11-22 21:50:43 +00:00
zuu
e428c27a54 (svn r25848) -Codechange: Refactor check for if a tile is not an edge tile to new IsInnerTile method (cirdan, LordAro) 2013-10-12 22:03:13 +00:00
zuu
b35b8aa5bb (svn r25848) -Codechange: Refactor check for if a tile is not an edge tile to new IsInnerTile method (cirdan, LordAro) 2013-10-12 22:03:13 +00:00
alberth
19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 2012-12-01 13:12:39 +00:00
alberth
732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 2012-12-01 13:12:39 +00:00
alberth
6c6abd87db (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 2012-09-21 09:47:21 +00:00
alberth
0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 2012-09-21 09:47:21 +00:00
rubidium
d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium
6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium
3d605f6488 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
rubidium
df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 2011-12-19 17:48:04 +00:00
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth
7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
terkhen
080c4330a9 (svn r20833) -Fix (r20832): Remove a warning. 2010-09-20 19:15:31 +00:00
terkhen
bce6328ed0 (svn r20833) -Fix (r20832): Remove a warning. 2010-09-20 19:15:31 +00:00
terkhen
379a8f3504 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 2010-09-20 18:56:35 +00:00
terkhen
e90930e572 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 2010-09-20 18:56:35 +00:00
yexo
b4ec144af2 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
yexo
241d705406 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00