summaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)Author
2018-04-29Remove: WinCE supportPatric Stout
2014-04-24(svn r26503) -Fix: compilation error with full debug buildrubidium
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
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23701) -Codechange: give TileAddWrap() a 27% speed-up, by swapping ↵truebrain
entries in an if() statement, and reusing already calculated values (tnx to SmatZ for the ideas)
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-02-06(svn r21995) -Cleanup (r21994): Remove obsolete comment.frosch
2011-02-06(svn r21994) -Fix: Make computations of closest-land/water-distances handle ↵frosch
waterish tiles more correctly.
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-11(svn r21470) -Codechange: add method to get the distance from the edge in a ↵rubidium
given direction
2010-10-29(svn r21055) -Codechange [FS#4190]: Code style fix (chillcore)alberth
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-01-28(svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void ↵yexo
tiles at the north border
2010-01-07(svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles ↵yexo
close to the starting tile
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-20(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)smatz
2009-06-10(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, ↵smatz
use shifts instead of mults
2009-06-09(svn r16547) -Codechange: make CircularTileSearch a tiny bit fastersmatz
2009-04-24(svn r16138) -Codechange: move GetClosestWaterDistance to map*rubidium
2009-02-24(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating failssmatz
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-30(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older ↵smatz
versions aren't supported anymore. One check in stdafx.h is enough
2009-01-05(svn r14847) -Codechange: generalise the circular search to search around a ↵rubidium
rectangle (PhilSophus)
2008-06-25(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().frosch
2008-06-03(svn r13367) -Codechange: Allow CircularTileSearch function to return the ↵belugas
tile where search has been successful, or INVALID_TILE if it has not
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-01-23(svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: ↵belugas
informations about current map size.
2008-01-17(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.frosch
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-18(svn r11661) -Codechange: some header reworks in order to try to reduce the ↵rubidium
compile time of OpenTTD by reduce the amount of circular-ish dependencies.
2007-12-08(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵glx
done in *allocT functions.
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-20(svn r11483) -Codechange: Replace codeparts with functions that do the same ↵skidd13
to increase readability
2007-09-09(svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman.rubidium
2007-08-03(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or ↵truelight
anyway, a step towards that goal) -Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-07-30(svn r10736) -Fix: Correct all mispellings of 'successful'.peter1138
2007-04-27(svn r9729) -Documentation: add some documentation in various placesrubidium
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)