summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
AgeCommit message (Collapse)Author
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-02-23Fix: Remove desert around lakes upon generationSamuXarick
2019-02-08Codechange: Make the style of MakeVoid calls uniform (#7192)Gabda
2019-01-31Codechange: [NPF] Add some consts.J0an Josep
2019-01-24Codechange: Unify tile height model in all functions (Patch by adf88, #6583)Johannes E. Krause
2019-01-24Fix: jumping effect when scrolling viewport over bottom edge of the map ↵Johannes E. Krause
(Patch by adf88, #6583)
2019-01-24Codechange: Add InverseRemapCoords2 function for remapping viewport ↵Johannes E. Krause
coordinates to underlying tile coordinates (Patch by adf88, #6583)
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-06-27Codechange: Silence -Wclass-memaccess warnings with GCC8Charles Pigott
2016-09-04(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵alberth
DetailedFileType.
2016-09-04(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure ↵alberth
definitions.
2014-10-13(svn r27009) -Add: extra level of general map heightness (ChillCore)rubidium
2014-09-21(svn r26883) -Change: make maximum desert height scale with the maximum ↵rubidium
configured height
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