summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
AgeCommit message (Collapse)Author
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.
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
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-13(svn r11839) -Codechange: move some variables from variables.h to a more ↵rubidium
logical location.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-10(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same ↵belugas
medecine as indstries themselves regarding the resolver's object
2008-01-09(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...rubidium
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-16(svn r11651) -Codechange [FS#1555]: implement GRF parameter querying for ↵rubidium
industries and fix a 'bug' as side effect.
2007-12-09(svn r11608) -Fix: do not trigger industries, but only the industry's tiles.rubidium
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-11(svn r11410) -Codechange: implement random triggers for industries.rubidium
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-04(svn r11375) -Fix [FS#1397]: the industry recolour map was always applied ↵rubidium
when recolouring was turned on, instead of only applying it when the colour translation is '0'.
2007-10-17(svn r11287) -Codechange: add support for pushing paramaters into ↵rubidium
NewIndustries' error messages. Patch by Csaboka.
2007-10-10(svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and ↵belugas
fixed by Csaboka
2007-10-07(svn r11225) -Fix: if a sprite shares the bounding box of another sprite, ↵rubidium
the offset is unsigned instead of signed.
2007-10-02(svn r11193) -Fix: be more compliant with the specifications of callback #2F ↵rubidium
(and undocumented side effects in TTDP in corner cases).
2007-09-30(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.rubidium
2007-09-30(svn r11187) -Fix: what holds for houses in r11149 also holds for industries.rubidium
2007-09-24(svn r11158) -Codechange: reduce the amount of Random calls needed when we ↵rubidium
do not have NewGRF industries that actually need the random bits.
2007-09-23(svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ↵rubidium
ID would be needed. Fix by Belugas. -Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
2007-09-23(svn r11151) -Codechange: add (partial) support for randomizing industry ↵rubidium
triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries.
2007-09-22(svn r11139) -Codechange: add support for persistent storage for NewGRFs.rubidium