yexo
9373ee71d9
(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for industry vars 60,61,62,63 are unsigned instead of signed
2010-10-19 21:00:45 +00:00
rubidium
0b67a7ccd5
(svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks
2010-10-16 13:15:54 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
yexo
e80f339086
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
2010-08-07 20:11:27 +00:00
frosch
e296eeb20c
(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo)
2010-05-29 13:08:50 +00:00
frosch
910aade284
(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.
2010-05-01 13:09:49 +00:00
alberth
82a4d532b6
(svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation().
2010-02-21 17:01:23 +00:00
yexo
e80f4f20af
(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
2010-01-21 18:32:44 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
d03994098b
(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.
2008-05-06 15:11:33 +00:00
rubidium
1629699094
(svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712.
2008-01-29 00:36:55 +00:00
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
2008-01-07 14:02:26 +00:00
rubidium
fc371ad994
(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.
2007-09-23 19:55:42 +00:00
rubidium
4dca543135
(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.
2007-09-23 19:27:35 +00:00
rubidium
9e3ee0e689
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
2007-07-25 19:06:29 +00:00
belugas
318f19f5a4
(svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
2007-07-15 00:19:40 +00:00
rubidium
5f7f99e381
(svn r10515) -Codechange: allow getting some more data about the environment of an industry.
2007-07-11 23:10:22 +00:00
rubidium
57268fa7e3
(svn r10514) -Codechange: add support for getting the nearest industry with a given type.
2007-07-11 22:57:47 +00:00
rubidium
bb8923c336
(svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
2007-07-09 13:21:49 +00:00
rubidium
86c14c239f
(svn r10442) -Codechange: implement the industry production callback.
2007-07-05 05:41:56 +00:00
belugas
c1218e88e1
(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
2007-06-28 02:14:40 +00:00
belugas
30863358f9
(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)
2007-06-13 02:29:08 +00:00
belugas
8efb7e53ec
(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.
2007-06-12 00:49:50 +00:00
belugas
9a4a911bde
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
2007-06-09 02:05:51 +00:00