summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
AgeCommit message (Collapse)Author
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.
2008-10-18(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout ↵frosch
(Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint). Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-07-26(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.frosch
2008-06-18(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences ↵smatz
are now drawn until first non-opaque sprite is found (bit 14 not set) This is to balance performance, code complexity and NewGRF requirements
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-23(svn r12844) -Fix: the industry tick trigger should only be triggered once ↵rubidium
every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-20(svn r12800) -Codechange: move the animated tile related functions out of ↵rubidium
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-18(svn r12759) -Fix(r12358): There is no need to mask callback result for ↵belugas
pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits.
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-03-11(svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf ↵frosch
version 7.