summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
AgeCommit message (Collapse)Author
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
2007-09-04(svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong ↵rubidium
heights (height of nothern corner instead of height of lowest corner). Patch by frosch.
2007-08-15(svn r10904) -Fix: When using a temporary industry, make sure you do not ↵belugas
clear some unreachable tiles upon its destruction. -Codechange: do not perform something that by all means will not change. A zero offset is really meaningless...
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-12(svn r10520) -Fix: when a "can I build this industry tile here" callback did ↵rubidium
not fail, it doesn't automatically mean that the industry tile can be built there.
2007-07-11(svn r10515) -Codechange: allow getting some more data about the environment ↵rubidium
of an industry.
2007-07-11(svn r10514) -Codechange: add support for getting the nearest industry with ↵rubidium
a given type.
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
2007-07-09(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.rubidium
2007-07-09(svn r10490) -Codechange: add support for industries on non-flat surfaces.rubidium
2007-07-09(svn r10486) -Fix: do not draw foundations when the "should I draw ↵rubidium
foundations" callbacks says to do so.
2007-06-19(svn r10226) -Codechange: Add support for newindustry tiles drawing.belugas
Heavily based on Maedhros's newhouses implementation
2007-06-17(svn r10172) -Fix(r10127): Wrong evaluation order on variable 0x41 for ↵belugas
industry tile. The industry's xy (northernmost tile) should be checked against the relative tile, not the other way around.
2007-06-13(svn r10146) -Codechange: Silence a compiler warningbelugas
-Codechange: Comment style beautifying -Codechange: define (tentatively) var 0x44 and 0x61 for industry tiles
2007-06-13(svn r10127) -Add: Addition of basic structure for industry tiles callbacks ↵belugas
(unfinished). -Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles -Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)