summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.cpp
AgeCommit message (Collapse)Author
2007-08-15(svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational ↵belugas
Action 2 for Industries
2007-07-27(svn r10700) -Codechange: Enable to jump (by default) to the overriding ↵belugas
industry tile spec of the one been queried. Only on certain very specific circumstances do we need the original spec
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-24(svn r10669) -Codechange: Removed redundant commentbelugas
-Codechange: Add placeholder for yet another industry "variable" to code
2007-07-15(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for ↵belugas
industries
2007-07-12(svn r10518) -Fix: use the location of the industry and not INVALID_TILE for ↵rubidium
production callbacks; makes looking at the environment of an industry a lot more useful.
2007-07-12(svn r10517) -Fix: the "closest distance to water/land" calculation gave the ↵rubidium
distance to the north-eastern border instead of the closest water/land.
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 r10487) -Fix: forgot some breaks in a switch statement.rubidium
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-08(svn r10473) -Codechange: make the industry "window", the one that shows ↵rubidium
when you click on an industry, more flexible to allow easier integration with newindustries.
2007-07-07(svn r10466) -Fix: the minimum amount of waiting cargo shouldn't be 65535; ↵rubidium
that should be the maximum amount of waiting cargo.
2007-07-07(svn r10460) -Codechange: add some more variables needed for newindustries ↵rubidium
regarding to the creation of the industries.
2007-07-05(svn r10442) -Codechange: implement the industry production callback.rubidium
2007-07-04(svn r10440) -Fix: CBM_IND defines bits to be set, not bitsets.rubidium
2007-07-04(svn r10439) -Codechange: initial steps for customized industry productions.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-21(svn r10256) -Add: Addition of IndustryTileOverrideManagerbelugas
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