summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
AgeCommit message (Collapse)Author
2007-10-04(svn r11198) -Fix: When industry override is not possible because it is ↵belugas
already been overridden, mark the new candidate as not being an override
2007-09-26(svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip ↵belugas
the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking.
2007-09-08(svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line.belugas
After double checking with ttdpatch, behaviour is now more alike (Eddi)
2007-07-12(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam ↵rubidium
outside of the map.
2007-07-12(svn r10516) -Fix: if doing a lookup for a ID, scan the whole range instead ↵rubidium
of only the "new" ones because the old ones could be overriden too.
2007-06-21(svn r10256) -Add: Addition of IndustryTileOverrideManagerbelugas
2007-06-11(svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in ↵maedhros
GetTerrainType as GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-06-09(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic ↵belugas
(and unfinished) support for callbacks for industries
2007-06-08(svn r10066) -Codechange: Expose function GetNearbyTile by moving it to ↵belugas
newgrf_commons.[cpp|h]. Will be used by industries in a few.
2007-06-05(svn r10040) -Codechange: Make the function GetTerrainType public, as other ↵belugas
functions require it
2007-05-15(svn r9850) -Codechange: Introduction of the Override/Substitute manager. ↵belugas
Currently only used for newhouses. Basically, it is more a gathering of IDs from grf files and ingame data.