Age | Commit message (Collapse) | Author |
|
RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
|
|
use that for Terrain Type variables, instead of always only using the tile Z position. Also use the maximum Z of a tile for tiles which usually have levelling foundations (stations, houses, industries, unmovables).
|
|
without that newgrf available all houses became tall office blocks
|
|
|
|
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
|
|
industries and houses
|
|
|
|
|
|
|
|
is either a rail station or rail waypoint tile
|
|
_house_specs[]
|
|
them map.
|
|
|
|
|
|
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
|
|
|
GetNearbyTile() was wrong way around.
|
|
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.
|