summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
AgeCommit message (Collapse)Author
2011-11-08(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info ↵frosch
variables. (rubidium)
2011-11-08(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to ↵frosch
use instead of property 18.
2011-11-08(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
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-07(svn r20396) -Codechange: introduce a helper function to test whether an ↵yexo
industry temporarily refues to accept some cargo
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-02-21(svn r19185) -Codechange: Return succeeded or failed CommandCost from ↵alberth
CheckIfCallBackAllowsCreation().
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-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
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-01-29(svn r12006) -Fix: implement FS#1697 without the nasty side effects as ↵rubidium
specified in FS#1712.
2008-01-07(svn r11776) -Codechange: more header splittings to reduce the dependencies.rubidium
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-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-15(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for ↵belugas
industries
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-09(svn r10485) -Codechange: add a callback mechanism to determine whether ↵rubidium
building an industry is allowed at a given location.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-06-28(svn r10369) -Codechange: Add the IndustryType parameter to the ↵belugas
GetIndustryCallback function. Sometimes, the industry might not be able to provide its type, since it does not exists at all
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)
2007-06-12(svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at ↵belugas
offset) for industries. It is exposed for for industry tiles who will reuse it too, for variable 0x62.
2007-06-09(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic ↵belugas
(and unfinished) support for callbacks for industries