Michael Lutz
b0990fcff7
Codechange: Make TileIndex a "strong" typedef to give it a distinct type.
...
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.
3 years ago
glx22
38c97e1492
Codechange: Replace TILE_AREA_LOOP with range-based for loops
3 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
PeterN
abe8cf4985
Codechange: Replace duplicated code with TileArea::Expand() ( #7467 )
5 years ago
fonsinchen
547e521381
(svn r26289) -Codechange: Make tile areas and iterators more consistent to each other.
11 years ago
rubidium
982fcb7aab
(svn r26125) -Fix: make sure the tile area's variables are always properly initialised
11 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
yexo
c9be5d50da
(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed
13 years ago
terkhen
bf1b6d570b
(svn r23402) -Add: Function to check if a TileArea contains a tile. (michi_cc)
13 years ago
rubidium
1a515e6344
(svn r22405) -Document: some more "random-ish" tidbits
13 years ago
rubidium
d89095b3ec
(svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z].
14 years ago
rubidium
b20e77be92
(svn r21499) -Add: diagonal tile iterator. Based on patch by fonsinchen
14 years ago
rubidium
2e9108afe9
(svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about
14 years ago
rubidium
a336aacb4f
(svn r21494) -Codechange: split the tile iterator in two classes
14 years ago
rubidium
cdd35c6a51
(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit
14 years ago
alberth
cccbc8f418
(svn r21019) -Add: Use center of industry to focus on in the industry gui.
14 years ago
terkhen
4eb6e3f060
(svn r19392) -Codechange: Increase the maximum size of a TileArea.
15 years ago
alberth
a6e8c747c9
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
15 years ago
alberth
05388c953a
(svn r19038) -Codechange: Move TileArea methods to their own file.
15 years ago
rubidium
28fc7b47bd
(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
...
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
15 years ago
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
15 years ago