Age | Commit message (Collapse) | Author |
|
industries and fix a 'bug' as side effect.
|
|
|
|
industries.
|
|
remaining to fit with the naming style
|
|
style
|
|
with the coding style
|
|
|
|
|
|
NewIndustries' error messages. Patch by Csaboka.
|
|
|
|
against a randomness that could eventually cause desynchs. Instead, use a controlled random value.
|
|
|
|
-Refactor: some code so there is less code duplication.
|
|
invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it.
|
|
|
|
ID would be needed. Fix by Belugas.
-Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
|
|
triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries.
|
|
when the NewGRF asked for it.
|
|
|
|
actual fix.
|
|
|
|
of errors than usefull.
So now, it will be better to jump to the overriden tile when it is been marked as an override
|
|
time) and 68 of Variational Action 2 for Industries
-Fix: a very few codestyle/comments-typo changes
|
|
Action 2 for Industries
|
|
industry tile spec of the one been queried.
Only on certain very specific circumstances do we need the original spec
|
|
favor of "just" using an untyped integer.
|
|
-Codechange: Add placeholder for yet another industry "variable" to code
|
|
industries
|
|
production callbacks; makes looking at the environment of an industry a lot more useful.
|
|
distance to the north-eastern border instead of the closest water/land.
|
|
of an industry.
|
|
a given type.
|
|
|
|
building an industry is allowed at a given location.
|
|
when you click on an industry, more flexible to allow easier integration with newindustries.
|
|
that should be the maximum amount of waiting cargo.
|
|
regarding to the creation of the industries.
|
|
|
|
|
|
|
|
GetIndustryCallback function.
Sometimes, the industry might not be able to provide its type, since it does not exists at all
|
|
|
|
(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)
|
|
offset) for industries.
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
|
|
(and unfinished) support for callbacks for industries
|