Age | Commit message (Collapse) | Author |
|
when mapping newgrf entities to 'real' entities
|
|
|
|
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
|
|
|
|
|
|
|
|
|
|
newgrf industry type to 'real' industry type
|
|
|
|
|
|
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
|
|
already been overridden, mark the new candidate as not being an override
|
|
the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking.
|
|
After double checking with ttdpatch, behaviour is now more alike (Eddi)
|
|
outside of the map.
|
|
of only the "new" ones because the old ones could be overriden too.
|
|
|
|
GetTerrainType as
GetTileZ is valid for any tile type. Also use GetTerrainType for stations.
|
|
(and unfinished) support for callbacks for industries
|
|
newgrf_commons.[cpp|h]. Will be used by industries in a few.
|
|
functions require it
|
|
Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
|