Commit Graph

110 Commits

Author SHA1 Message Date
belugas 21cbc7009f (svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking. 2007-09-26 02:15:00 +00:00
belugas 8141fe0898 (svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line.
After double checking with ttdpatch, behaviour is now more alike (Eddi)
2007-09-08 00:37:37 +00:00
rubidium de084ace1c (svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam outside of the map. 2007-07-12 08:10:40 +00:00
rubidium be822ef976 (svn r10516) -Fix: if doing a lookup for a ID, scan the whole range instead of only the "new" ones because the old ones could be overriden too. 2007-07-12 07:53:53 +00:00
belugas 240bba540e (svn r10256) -Add: Addition of IndustryTileOverrideManager 2007-06-21 17:09:10 +00:00
maedhros 96a3a89c86 (svn r10089) -Fix (r10040): Use GetTileZ instead of GetClearGround in GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
2007-06-11 04:52:51 +00:00
belugas 9a4a911bde (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 2007-06-09 02:05:51 +00:00
belugas e8c6d57150 (svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few. 2007-06-08 17:54:18 +00:00
belugas a95fdc8bb5 (svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it 2007-06-05 01:49:08 +00:00
belugas 3fb4003534 (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00