summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
AgeCommit message (Collapse)Author
2010-10-19(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for ↵yexo
industry vars 60,61,62,63 are unsigned instead of signed
2010-08-28(svn r20654) -Codechange: implement reading action0 of objectsrubidium
2010-08-28(svn r20648) -Codechange: implement the NewGRF override manager for objectsrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-14(svn r20487) -Fix: typo in commentsrubidium
2010-08-11(svn r20448) -Codechange: make some functions that can be const construbidium
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.frosch
2010-08-09(svn r20420) -Codechange: Add TileContext enum instead of using a bool.frosch
2010-08-08(svn r20418) -Fix [FS#4017](r20125): During world generation the ↵frosch
snow-mapbits are not yet available, so test the snowline variable directly (as before).
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20401) -Codechange: let HouseSpec use GRFFilePropsrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-19(svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the ↵rubidium
terrain type of a MP_VOID tile.
2010-07-14(svn r20153) -Fix (r20125): Make the snowchecks for clear land and trees ↵frosch
consistent with the other tiletypes.
2010-07-11(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of ↵frosch
RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-07-11(svn r20125) -Change: [NewGRF] If a tile has a snow-flag in the map array, ↵frosch
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).
2010-03-16(svn r19435) -Fix: when loading a savegame created with a house newgrf ↵yexo
without that newgrf available all houses became tall office blocks
2010-01-17(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.frosch
2010-01-17(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to ↵frosch
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-08(svn r18762) -Codechange: unduplicate sprite layout drawing between ↵yexo
industries and houses
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-02-25(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around ↵frosch
them map.
2009-02-24(svn r15571) -Fix: incorrect use of memsetsmatz
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
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