Commit Graph

19 Commits

Author SHA1 Message Date
PeterN abe8cf4985
Codechange: Replace duplicated code with TileArea::Expand() (#7467) 2019-04-13 14:12:34 +01:00
fonsinchen 547e521381 (svn r26289) -Codechange: Make tile areas and iterators more consistent to each other. 2014-02-02 14:53:26 +00:00
rubidium 982fcb7aab (svn r26125) -Fix: make sure the tile area's variables are always properly initialised 2013-11-26 14:47:45 +00:00
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
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) 2011-12-20 17:57:56 +00:00
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 2011-12-09 19:30:30 +00:00
terkhen bf1b6d570b (svn r23402) -Add: Function to check if a TileArea contains a tile. (michi_cc) 2011-12-03 20:19:33 +00:00
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 2011-05-01 19:14:12 +00:00
rubidium d89095b3ec (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 2011-01-18 21:58:22 +00:00
rubidium b20e77be92 (svn r21499) -Add: diagonal tile iterator. Based on patch by fonsinchen 2010-12-13 15:13:05 +00:00
rubidium 2e9108afe9 (svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about 2010-12-13 12:52:43 +00:00
rubidium a336aacb4f (svn r21494) -Codechange: split the tile iterator in two classes 2010-12-13 11:25:26 +00:00
rubidium cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 2010-12-12 20:58:33 +00:00
alberth cccbc8f418 (svn r21019) -Add: Use center of industry to focus on in the industry gui. 2010-10-23 20:34:12 +00:00
terkhen 4eb6e3f060 (svn r19392) -Codechange: Increase the maximum size of a TileArea. 2010-03-12 19:38:00 +00:00
alberth a6e8c747c9 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 2010-02-06 13:19:46 +00:00
alberth 05388c953a (svn r19038) -Codechange: Move TileArea methods to their own file. 2010-02-06 12:56:13 +00:00
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.
2010-01-04 21:10:20 +00:00
rubidium 8b88bb0c9b (svn r18714) -Codechange: move the TileArea struct to it's own header 2010-01-04 18:05:14 +00:00