Commit Graph

30 Commits (348ef7f12c4ed2cfa7dd6bcbbf34a920e79dafc1)

Author SHA1 Message Date
alberth 0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
rubidium e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
frosch 8f4c6d42f9 (svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium) 13 years ago
frosch b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 13 years ago
frosch 1ad7239247 (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 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 14 years ago
rubidium 0b67a7ccd5 (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 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
yexo e80f339086 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 14 years ago
frosch e296eeb20c (svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo) 14 years ago
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. 14 years ago
alberth 82a4d532b6 (svn r19185) -Codechange: Return succeeded or failed CommandCost from CheckIfCallBackAllowsCreation(). 15 years ago
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 15 years ago
rubidium 82fc28f77f (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 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
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. 16 years ago
rubidium 1629699094 (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712. 17 years ago
rubidium 38115acf5a (svn r11776) -Codechange: more header splittings to reduce the dependencies. 17 years ago
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.
17 years ago
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. 17 years ago
rubidium 9e3ee0e689 (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 17 years ago
belugas 318f19f5a4 (svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries 17 years ago
rubidium 5f7f99e381 (svn r10515) -Codechange: allow getting some more data about the environment of an industry. 17 years ago
rubidium 57268fa7e3 (svn r10514) -Codechange: add support for getting the nearest industry with a given type. 17 years ago
rubidium bb8923c336 (svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location. 17 years ago
rubidium 86c14c239f (svn r10442) -Codechange: implement the industry production callback. 17 years ago
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
17 years ago
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)
17 years ago
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.
17 years ago
belugas 9a4a911bde (svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries 17 years ago