rubidium
2c6b5237f6
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
15 years ago
smatz
b668c24d46
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
15 years ago
frosch
c5684e56ec
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
16 years ago
smatz
846044ee26
(svn r15571) -Fix: incorrect use of memset
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
peter1138
fb6accfcb7
(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around.
17 years ago
glx
731137678c
(svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities
17 years ago
frosch
a1c543e064
(svn r12029) -Feature: Allow trees on shore.
17 years ago
frosch
fe9891c8ec
(svn r12028) -Codechange: Split common part of station var 0x67, house var 0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
17 years ago
peter1138
b718cae67d
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
17 years ago
rubidium
dc87b05e8c
(svn r11834) -Codechange: only include settings_type.h if needed.
17 years ago
glx
1b53dbf9cc
(svn r11679) -Add: [newgrf] support for station vars 67 and 68
17 years ago
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
17 years ago
glx
de47054936
(svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type
17 years ago
glx
9cee4e91cb
(svn r11424) -Fix: an override can be set only once
17 years ago
glx
de4e9cdc9c
(svn r11423) -Codechange: store grfid when adding an override
17 years ago
belugas
e4fdc7ce51
(svn r11248) -Fix[FS#1314]: The logic behind industry slot allocation was 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
17 years ago
belugas
aae3ca07c4
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
17 years ago
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.
17 years ago
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)
17 years ago
rubidium
de084ace1c
(svn r10519) -Fix: when getting a "nearby" tile, make sure you never roam outside of the map.
17 years ago
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.
17 years ago
belugas
240bba540e
(svn r10256) -Add: Addition of IndustryTileOverrideManager
18 years ago
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.
18 years ago
belugas
9a4a911bde
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
18 years ago
belugas
e8c6d57150
(svn r10066) -Codechange: Expose function GetNearbyTile by moving it to newgrf_commons.[cpp|h]. Will be used by industries in a few.
18 years ago
belugas
a95fdc8bb5
(svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it
18 years ago
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.
18 years ago