summaryrefslogtreecommitdiff
path: root/src/landscape.h
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
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)
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
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 r23094) -Codechange: add a default NULL to GetFoundationSlope and use itrubidium
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)
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-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-02-06(svn r19040) -Codechange: Introduce inverse function of RemapCoords.alberth
2010-02-06(svn r19027) -Doc: Document RemapCoords functions.alberth
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-03(svn r18708) -Feature: [NewGRF] Add support for custom station foundation ↵peter1138
graphics.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-21(svn r16373) -Codechange: use () instead of (void) for functions without ↵smatz
parameters
2009-02-25(svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). ↵frosch
Btw. it would also cause desyncs and wrap around the map.
2009-02-23(svn r15559) -Feature: Show required/already-delivered cargo needed for ↵frosch
town-growth in town-view-window. (and only if it is really needed)
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-02-28(svn r12303) -Codechange: move IsValidTile() in a more suitable place and ↵glx
make it static inline
2008-01-22(svn r11947) -Feature: Make use of new sprites added by Action5 type 0D.frosch
Tiles which only consist of shore do not flood anymore, instead they get removed if they are no longer connected to flooding water.
2007-12-25(svn r11700) -Codechange: reduce the amount of unnecessary includes.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-10-20(svn r11319) -Add: halftile- and anti-zig-zag-foundations. Patch by frosch.rubidium
2007-10-14(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars ↵rubidium
and HasFoundation{NW|NE}. Patch by frosch.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-03-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.