summaryrefslogtreecommitdiff
path: root/src/terraform_cmd.cpp
AgeCommit message (Collapse)Author
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
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-22(svn r15203) -Fix (r15190): CmdTerraformLand didn't check it's parameters ↵Yexo
good enough.
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-19(svn r15151) -Fix: tile 0 can now be highlighted as error tileYexo