frosch
6c63c98d7f
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
11 years ago
alberth
6c1ff5f772
(svn r24693) -Doc: Add some doxymentation into the newgrf code.
12 years ago
alberth
8a297ca5f1
(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.
12 years ago
alberth
c70c67d5b0
(svn r24690) -Codechange: Add resolver classes for industry tiles.
12 years ago
alberth
0b8097be6b
(svn r24689) -Codechange: Add resolver classes for industries.
12 years ago
alberth
6c6abd87db
(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements.
12 years ago
rubidium
0cfe86cead
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
13 years ago
frosch
e29221a31e
(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium)
13 years ago
frosch
930c6c7779
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
13 years ago
frosch
46e77ee24f
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
13 years ago
yexo
36e3b0ea0c
(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for industry vars 60,61,62,63 are unsigned instead of signed
14 years ago
rubidium
6d72dd4b78
(svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
yexo
5162f28c27
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
14 years ago
frosch
56103a62a4
(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo)
15 years ago
frosch
bca1abe146
(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
15 years ago
alberth
19f5b6f7b6
(svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation().
15 years ago
yexo
fcef0a491d
(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
3b20e4d09a
(svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712.
17 years ago
rubidium
71d4004a85
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
rubidium
4705536d7d
(svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ID would be needed. Fix by Belugas.
...
-Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
17 years ago
rubidium
2b89ecca47
(svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries.
17 years ago
rubidium
feb91ab5ea
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
17 years ago
belugas
7829add2bb
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
17 years ago
rubidium
0c6f628fa6
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
17 years ago
rubidium
a616f0bd1e
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
17 years ago
rubidium
e207ba425f
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
17 years ago
rubidium
4c356457e6
(svn r10442) -Codechange: implement the industry production callback.
17 years ago
belugas
890dfe749e
(svn r10369) -Codechange: Add the IndustryType parameter to the GetIndustryCallback function.
...
Sometimes, the industry might not be able to provide its type, since it does not exists at all
18 years ago
belugas
107c84c3ab
(svn r10127) -Add: Addition of basic structure for industry tiles callbacks (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)
18 years ago
belugas
af35821a2a
(svn r10108) -Codechange: implement variable 0x60 (Get industry tile ID at offset) for industries.
...
It is exposed for for industry tiles who will reuse it too, for variable 0x62.
18 years ago
belugas
1a2f889a52
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
18 years ago