summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
AgeCommit message (Collapse)Author
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-09(svn r26323) -Fix: update some constants related to map size.fonsinchen
2014-02-06(svn r26309) -Codechange: instead of memsetting a byte array with zero, use ↵rubidium
a set for marking the flow area of a river
2014-02-02(svn r26290) -Codechange: Use nicer orthogonal tile iterator constructor and ↵fonsinchen
simplify calculation of explosion points when clearing.
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-10-12(svn r25847) -Fix: Comment for GetFoundationSlope was wrong (cirdan, LordAro)zuu
2013-06-09(svn r25354) -Add: link graph schedule and typedefs for LinkGraph and ↵fonsinchen
related classes
2012-04-17(svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile ↵michi_cc
loop. (monoid)
2012-02-04(svn r23885) -Codechange: Use the GRF sprite loader for then mapgen sprites ↵michi_cc
as well.
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 r23104) -Codechange: prepare the vehicle/sign z for some further ↵rubidium
changes to reduce casting
2011-11-04(svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the water/river code
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23092) -Codechange: create a non-pixel version of some of the ↵rubidium
Get*PixelZ functions, and let Get*PixelZ wrap around the new function (multiplying the Z by TILE_HEIGHT) just like TileHeight and TilePixelHeight
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-11-04(svn r23090) -Codechange: use map accessors instead of directly accessing ↵rubidium
the map (mhl)
2011-11-03(svn r23084) -Codechange: get rid of a redundant variablerubidium
2011-08-21(svn r22808) -Change [FS#4740]: make it less likely that a one tile wide ↵rubidium
lake is created
2011-08-20(svn r22773) -Add: Some grass around rivers in desert areas.michi_cc
2011-08-20(svn r22768) -Add: progress bar updates for river buildingrubidium
2011-08-20(svn r22767) -Add: river generationrubidium
2011-07-17(svn r22670) -Change: Do not spawn explosion effects when bulldozing in ↵frosch
paused mode. They block the view.
2011-02-07(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.hrubidium
2011-01-10(svn r21767) -Fix [FS#4397]: don't limit tile clearing during bankruptcyrubidium
2011-01-04(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles ↵rubidium
that can be cleared/terraformed by a company
2011-01-04(svn r21714) -Codechange: unduplicate a bit of code pathrubidium
2010-12-13(svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. ↵rubidium
Based on patch by fonsinchen
2010-12-12(svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP ↵rubidium
as well
2010-12-12(svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost ↵frosch
for clearing water for stuff which results in water after clearing.
2010-11-21(svn r21288) -Codechange: Add helper function to find entries in ↵frosch
_cleared_object_areas.
2010-11-04(svn r21080) -Fix: Do not allow to use a custom water level with the ↵terkhen
original map generator.
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-09-17(svn r20821) -Fix [FS#4129]: terraforming the land under objects could leave ↵yexo
sloped or elevated sea tiles
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-09-05(svn r20743) -Fix: Make testruns of clearing an object tile not influence ↵frosch
repeated testruns resp. the exec run.
2010-09-03(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, ↵yexo
causing invalid memory reads / double free
2010-09-03(svn r20729) -Fix [FS#4107]: assert when overbuilding objectyexo
2010-08-28(svn r20669) -Codechange: trigger the whole object every 256 ticks instead ↵rubidium
of every 250 ticks
2010-08-28(svn r20662) -Codechange: implement object animationrubidium
2010-08-09(svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cppfrosch
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
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-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more ↵rubidium
logical place and with a more descriptive name
2010-05-08(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.frosch