summaryrefslogtreecommitdiff
path: root/src/terraform_cmd.cpp
AgeCommit message (Collapse)Author
2021-03-26Change: rename setting "max_heightlevel" to "map_height_limit"Patric Stout
This better reflects what it is, and hopefully removes a bit of the confusion people are having what this setting actually does. Additionally, update the text on the setting to better inform users what it is doing exactly, so they can make an educated decision on how to change it. Next commit will introduce an "auto" value, which should be the new default. The rename has as added benefit that everyone will start out on the "auto" value.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-01-26Fix #7098, Fix #7061: Inverted test led to invalid iterator access.Peter Nelson
2019-01-24Codechange: Simplify marking tiles dirty when terraforming (Patch by adf88, ↵Johannes E. Krause
#6583)
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2014-09-21(svn r26902) -Fix (r26900): erroneous spaces instead of tabsrubidium
2014-09-21(svn r26900) -Fix-ish: dirty the appropriate area around map edges when ↵rubidium
terraforming there to prevent any artefacts from occuring (ic111)
2014-09-21(svn r26885) -Feature-ish: user interface for limiting the maximum height of ↵rubidium
a map
2014-09-21(svn r26882) -Feature: allow limiting the height of bridges (ic111)rubidium
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-09-20(svn r26860) -Codechange: improve worst case performance of terraforming ↵rubidium
(O(n^2) -> O(n log n)) and let memory usage scale to the amount of tiles affected instead of allocating memory for the worst case scenario (patch by ic111)
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
2014-02-02(svn r26290) -Codechange: Use nicer orthogonal tile iterator constructor and ↵fonsinchen
simplify calculation of explosion points when clearing.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the terraform code
2011-11-04(svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the tunnel code
2011-11-04(svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the bridge code
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-05-14(svn r22451) -Codechange: Test for bridges and tunnels during the first pass ↵alberth
only while terraforming (HackaLittleBit)
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-14(svn r21791) -Fix [FS#4407]: off-by-one-ish for the terraforming limitrubidium
2011-01-05(svn r21732) -Fix (r21728): show the "proper" error that the landscaping ↵rubidium
limit is reached instead of "already flat"
2011-01-04(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles ↵rubidium
that can be cleared/terraformed by a company
2010-12-13(svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. ↵rubidium
Based on patch by fonsinchen
2010-12-13(svn r21495) -Codechange: don't hide a local variablerubidium
2010-12-13(svn r21493) -Codechange: don't use the full 32 bits of the level land ↵rubidium
command to tell whether to raise, lower or keep the level of the first selected tile
2010-11-21(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle ↵frosch
DC_AUTO-clearable multitile objects.
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-09-05(svn r20748) -Fix: overbuilding an object tile with sea under it with a ↵yexo
canal didn't take the cost for clearing the sea into account
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
2010-05-13(svn r19816) -Codechange: use static const uint for the unnamed 'tile ↵rubidium
consts' enum as well
2010-04-14(svn r19633) -Fix (r11759): Signed computations with unsigned integers.frosch
2010-03-20(svn r19490) -Fix: Return to old behaviour of CmdLevelLand() by keeping ↵alberth
track of last error.
2010-03-04(svn r19316) -Fix (r19186): Give correct error when failing to flatten land.alberth
2010-02-21(svn r19186) -Codechange: Remove use of _error_message from CmdLevelLand().alberth
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-04(svn r18723) -Codechange: also simplify looping over an area when building ↵rubidium
trees, desert, rocky areas or leveling land
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives