yexo
fa9d25eb2c
(svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks
2010-03-16 16:04:35 +00:00
frosch
eded89633c
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
2010-01-17 15:05:25 +00:00
frosch
9bbabadd29
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-17 01:01:56 +00:00
yexo
5cad8dac74
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
ed8788d581
(svn r17682) -Codechange: remove erroneous space before some commas
2009-10-02 15:13:15 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
00a9b2fd3d
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
2009-07-24 11:15:11 +00:00
smatz
0e5af86ead
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
2009-06-26 14:02:27 +00:00
frosch
8ebe68b01b
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
2009-02-25 21:29:50 +00:00
smatz
3707a11e5e
(svn r15571) -Fix: incorrect use of memset
2009-02-24 22:25:23 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
rubidium
e7a501100a
(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.
2008-05-29 15:13:28 +00:00
rubidium
d289464d69
(svn r13255) -Codechange: move _opt to _settings.
2008-05-25 22:36:44 +00:00
peter1138
0f3a5fc99d
(svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around.
2008-02-11 11:21:29 +00:00
glx
37e27a296e
(svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries when mapping newgrf entities to 'real' entities
2008-02-08 16:56:52 +00:00
frosch
23e6411fb7
(svn r12029) -Feature: Allow trees on shore.
2008-01-31 17:54:13 +00:00
frosch
90ee6a16ab
(svn r12028) -Codechange: Split common part of station var 0x67, house var 0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
2008-01-31 17:46:08 +00:00
peter1138
18df5480ba
(svn r11964) -Fix [FS#1685]: Tropic zone data was returned incorrectly.
2008-01-23 17:45:48 +00:00
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
glx
4fc66235cb
(svn r11679) -Add: [newgrf] support for station vars 67 and 68
2007-12-21 22:11:55 +00:00
rubidium
be923601bf
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
glx
df71c4f289
(svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type
2007-11-12 20:57:03 +00:00
glx
de7f58d5d4
(svn r11424) -Fix: an override can be set only once
2007-11-12 20:42:35 +00:00
glx
60ccc5bbce
(svn r11423) -Codechange: store grfid when adding an override
2007-11-12 20:40:58 +00:00
belugas
4fe401b7d6
(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
2007-10-12 15:54:49 +00:00
belugas
cfb9cb8cec
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
2007-10-04 00:59:52 +00:00
belugas
e4c4c40753
(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
20a3b37963
(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
3378095add
(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
b779959c27
(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
ad446daf33
(svn r10256) -Add: Addition of IndustryTileOverrideManager
2007-06-21 17:09:10 +00:00
maedhros
41443a26a6
(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
1a2f889a52
(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
9fe860f5f9
(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
46d4d0d989
(svn r10040) -Codechange: Make the function GetTerrainType public, as other functions require it
2007-06-05 01:49:08 +00:00
belugas
641d51a5ad
(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