summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
AgeCommit message (Collapse)Author
2011-07-21(svn r22679) -Change [FS#4692] (r22655): [NewGRF] Use a value of 0 to ↵planetmaker
indicate the invalid waterclass in the nearby land info (0x60 ind. tiles, 0x62 houses, objects,...)
2011-07-11(svn r22659) -Add: [NewGRF] Support for the land slope check callback for ↵michi_cc
stations.
2011-07-11(svn r22657) -Add: [NewGRF] More default error messages for the industry ↵michi_cc
shape and location callbacks.
2011-07-11(svn r22656) -Codechange: Deduplicate the custom error message of the ↵michi_cc
industry shape and location callbacks.
2011-07-11(svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby ↵michi_cc
tiles' vars.
2011-06-13(svn r22578) -Fix: another MSVC compile warningrubidium
2011-06-13(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.terkhen
2011-06-12(svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function.terkhen
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for ↵frosch
spritelayouts allocated on the heap, and make use of constructors and destructors.
2011-05-02(svn r22410) -Document: some more bits ;)rubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
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