summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
AgeCommit message (Collapse)Author
2014-10-14(svn r27018) -Fix [FS#6141] (r27008): the higher amplitudes needed for ↵rubidium
higher maps were not ignored properly causing much smoother maps than wanted
2014-10-13(svn r27009) -Add: extra level of general map heightness (ChillCore)rubidium
2014-10-13(svn r27008) -Change: extrapolate the amplitudes for the large wavelengths ↵rubidium
needed for much higher maps
2014-10-13(svn r27007) -Codechange: allow for more frequencies (based on patch by ic111)rubidium
2014-10-13(svn r27006) -Codechange: move getting of the amplitude to a seperate functionrubidium
2014-10-13(svn r27005) -Fix (r26999): variety distribution curve map scaling did one ↵rubidium
conversion to height_t too many
2014-10-12(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some ↵rubidium
comments
2014-10-12(svn r27000) -Fix (r26999): compilation error with some versions of GCCrubidium
2014-10-12(svn r26999) -Codechange: make the variety distribution automatically scale ↵rubidium
to the maximum height of the map
2014-10-12(svn r26998) -Change: account for the map size when determining the maximum ↵rubidium
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(svn r26997) -Fix/codechange: use signed integers for TGP's internal map ↵rubidium
size and X/Y variables due to X/Y in comparisons occasionally getting smaller than 0 due to subtractions
2014-10-02(svn r26946) -Fix (r26945): MSVC doesn't seem to have round yetrubidium
2014-10-02(svn r26945) -Fix-ish: better scaling of the "cells" in which variety ↵rubidium
distribution happens for non-square maps (attempt to make reasonably square areas)
2014-09-29(svn r26940) -Fix (r26937): comparing values of different signednessrubidium
2014-09-29(svn r26939) -Cleanup: some bits of coding style cleanup for TGPrubidium
2014-09-29(svn r26938) -Codechange: simplify RandomHeight significantlyrubidium
2014-09-29(svn r26937) -Cleanup: simplify the logic for heightmap generation in TGP; ↵rubidium
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-27(svn r26932) -Codechange: replace some constants with less weird looking ↵rubidium
constants and simplify clamping by actually using Clamp
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-22(svn r26056) -Fix: a number of possibly uninitialised variablesrubidium
2013-10-12(svn r25848) -Codechange: Refactor check for if a tile is not an edge tile ↵zuu
to new IsInnerTile method (cirdan, LordAro)
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-09-21(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some ↵alberth
Doxygen improvements.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-09-20(svn r20833) -Fix (r20832): Remove a warning.terkhen
2010-09-20(svn r20832) -Feature: Allow to select a custom percentage of water in the ↵terkhen
map generation window (based on patch by CommanderZ).
2010-08-12(svn r20474) -Cleanup: remove some unused codeyexo
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-03-06(svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.hyexo
2009-12-20(svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly ↵rubidium
casting from floats to integers
2009-12-19(svn r18541) -Feature: Additional map variety option for TGP landscape ↵peter1138
generator. Evolved from curve map idea from Zephyris.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-09(svn r17131) -Codechange: apply coding style to some switch statementssmatz
2009-02-24(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating failssmatz
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose ↵Yexo
which edges will be water to 4 pushbuttons (based on patch by planetmaker).
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
2008-07-01(svn r13671) -Cleanup: Zeros for sell.frosch
2008-06-30(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by ↵frosch
CommanderZ.
2008-06-27(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not ↵frosch
amplitudes/16.
2008-06-27(svn r13645) -Codechange: Convert a macro into an inlined member function.frosch
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium