summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
AgeCommit message (Collapse)Author
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-02-11(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in ↵peter1138
GetNearbyTile() was wrong way around.
2008-02-08(svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries ↵glx
when mapping newgrf entities to 'real' entities
2008-01-31(svn r12029) -Feature: Allow trees on shore.frosch
2008-01-31(svn r12028) -Codechange: Split common part of station var 0x67, house var ↵frosch
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
2008-01-23(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.peter1138
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2007-12-21(svn r11679) -Add: [newgrf] support for station vars 67 and 68glx
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-11-12(svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping ↵glx
newgrf industry type to 'real' industry type
2007-11-12(svn r11424) -Fix: an override can be set only onceglx
2007-11-12(svn r11423) -Codechange: store grfid when adding an overrideglx
2007-10-12(svn r11248) -Fix[FS#1314]: The logic behind industry slot allocation was ↵belugas
implying that the only condition an override could be placed in a slot is that there were no previous override. That is not exact: the slot must not have been occupied by an industry coming from a grf. So now, tourist center is available if more then one grf is used
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.