summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
AgeCommit message (Collapse)Author
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of ↵frosch
TileLayoutSpriteGroup instead of allocating it separately.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-10-28(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that ↵yexo
defined tiles that relied on the substitute being drawn were broken
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-10-16(svn r20942) -Feature [NewGRF]: make it possible to distinguish player ↵rubidium
built/randomly placed industries in the location and land slope check callbacks
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so ↵rubidium
related code
2010-08-26(svn r20627) -Codechange: unify the animation code of station, airport, ↵rubidium
house and industry tiles
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-26(svn r20622) -Codechange: unify ↵rubidium
[GS]et[Statation|Object|Industry|House]AnimationFrame
2010-08-10(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare ↵rubidium
it for more spritegroups
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more ↵rubidium
logical location
2010-05-29(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during ↵frosch
callbacks 28 and 2F. (yexo)
2010-05-01(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and ↵frosch
industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
2010-05-01(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed ↵frosch
industries and houses during construction callbacks.
2010-04-24(svn r19707) -Add: helper functions to instantiate/fill ResolverObjectsrubidium
2010-04-05(svn r19565) -Fix: some NewGRF callbacks were named incorrectlyrubidium
2010-02-27(svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a ↵alberth
succeeded or failed command.
2010-02-22(svn r19195) -Codechange: actually draw newgrf airport tilesyexo
2010-02-07(svn r19053) -Codechange: Add an enum for the special flags of industry ↵frosch
tiles. (based on andythenorth' work)
2010-01-21(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry ↵yexo
tile chain when the industry tile was part of an original industry
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
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-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-08(svn r18762) -Codechange: unduplicate sprite layout drawing between ↵yexo
industries and houses
2010-01-08(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only ↵frosch
using default sprites.
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2009-12-16(svn r18514) -Codechange: make it a bit clearer that for tile layouts ↵rubidium
num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
2009-12-16(svn r18513) -Fix [FS#3379]: sometimes NewGRFs throw invalid data at OpenTTD ↵rubidium
and that triggered a check... that if a has to be between b and c (inclusive) then c must be bigger than or equal to b (and definitely not smaller)
2009-09-16(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing ↵rubidium
foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered.frosch
2009-07-26(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into ↵rubidium
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-02-18(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, ↵peter1138
but at least it can be consistent.
2009-02-18(svn r15512) -Cleanup: Codestyle fixes.peter1138
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-03(svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared ↵rubidium
TTDPatch and OpenTTD feature with it's origin in TTDPatch to replace/add/change vehicles (including e.g. maximum speed, graphics and introduction year), stations, bridges, industries, town houses or any other graphics used by either TTDPatch or OpenTTD, would tell that building an industry is okay, which is queried using a so-called callback that allows the NewGRF author to test all kinds of information about the neighbourhood where the industry might get build, it would corrupt, i.e. overwrite with invalid data, the structure that is used to build up an error message. This then might result in trying to resolve an invalid StringID, an internal numeric representation of all translateable strings, which would in it's turn trigger a safety check that is added to ensure invalid StringIDs are never resolved.