summaryrefslogtreecommitdiff
path: root/src/map_func.h
AgeCommit message (Collapse)Author
2021-12-16Codechange: Make TileIndex a "strong" typedef to give it a distinct type.Michael Lutz
This is accomplished by changing it to a single member struct with the appropriate operator overloads to make it all work with not too much source modifications.
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
2018-04-30Fix: Spelling errors (#6769)Joan Josep
2018-04-28Feature #6610: Allow towns to build houses on road turns (#6758)Pavel Stupnikov
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-12(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bitrubidium
2010-12-11(svn r21470) -Codechange: add method to get the distance from the edge in a ↵rubidium
given direction
2010-08-01(svn r20282) -Codechange: add some spaces where they should've beenrubidium
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-01(svn r18683) -Fix: it's not an otherrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
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-06-10(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit fastersmatz
2009-06-10(svn r16551) -Codechange: use shift instead of multiplication in TileXY()smatz
2009-06-10(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, ↵smatz
use shifts instead of mults
2009-04-24(svn r16138) -Codechange: move GetClosestWaterDistance to map*rubidium
2009-03-21(svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it.frosch
2009-03-05(svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith).belugas
2009-02-25(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with ↵yexo
assert(tile < MapSize()).
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-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.
2008-01-18(svn r11914) -Documentation: fix some @file statementglx
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).