src/newgrf_industries.cpp
Mon, 03 Nov 2008 23:42:07 +0000 rubidium (svn r14563) -Fix [FS#2395]: in the case that an industry NewGRF, a shared TTDPatch and
Tue, 14 Oct 2008 18:38:51 +0000 rubidium (svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
Mon, 29 Sep 2008 18:56:36 +0000 smatz (svn r14417) -Codechange: rewrite GetClosestWaterDistance(), now it is ~100 times faster than pre-r14416 in average case
Mon, 29 Sep 2008 18:34:05 +0000 smatz (svn r14416) -Fix (r10074)(r10517): substraction was done the other way in the 'nearest land/water' check (~25% performance penalty)
Mon, 29 Sep 2008 18:23:56 +0000 smatz (svn r14415) -Fix (r10074): void tiles could be the nearest 'land' for water industries
Wed, 30 Jul 2008 18:23:12 +0000 frosch (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
Tue, 29 Jul 2008 19:51:30 +0000 frosch (svn r13868) -Fix: Parent scope of industry variables.
Thu, 17 Jul 2008 20:13:01 +0000 rubidium (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
Fri, 27 Jun 2008 17:46:43 +0000 skidd13 (svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
Tue, 10 Jun 2008 17:47:55 +0000 belugas (svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
Tue, 10 Jun 2008 16:10:54 +0000 belugas (svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
Tue, 06 May 2008 15:11:33 +0000 rubidium (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.
Fri, 18 Apr 2008 04:54:09 +0000 rubidium (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
Thu, 27 Mar 2008 21:36:16 +0000 glx (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.
Wed, 12 Mar 2008 15:56:56 +0000 frosch (svn r12362) -Fix (r11985, r12006): Randomize variable 8F only once per callback 28.
Mon, 25 Feb 2008 13:38:11 +0000 frosch (svn r12246) -Fix (r10460): Proper usage of Clamp().
Tue, 29 Jan 2008 00:36:55 +0000 rubidium (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712.
Mon, 28 Jan 2008 03:33:41 +0000 belugas (svn r11997) -Fix(FS#1712, r11985): Remove the code temporary, until a better scheme is implemented.
Fri, 25 Jan 2008 18:13:04 +0000 belugas (svn r11985) -Feature[FS#1697, newGRF]: Implement var 8F(random bits) during callback 28 (Industry location permissibility)
Sun, 13 Jan 2008 21:41:24 +0000 rubidium (svn r11839) -Codechange: move some variables from variables.h to a more logical location.
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces.
Wed, 09 Jan 2008 21:27:39 +0000 rubidium (svn r11801) -Codechange: remove some unneeded includes from some header files.
Wed, 09 Jan 2008 18:14:29 +0000 belugas (svn r11797) -Fix: Add protection against not already created industry while doing industry callback.
Mon, 07 Jan 2008 14:02:26 +0000 rubidium (svn r11776) -Codechange: more header splittings to reduce the dependencies.
Mon, 31 Dec 2007 02:39:50 +0000 belugas (svn r11725) -Codechange: less a magical number
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*.
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
Fri, 21 Dec 2007 19:21:21 +0000 rubidium (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
Sun, 16 Dec 2007 23:10:30 +0000 rubidium (svn r11651) -Codechange [FS#1555]: implement GRF parameter querying for industries and fix a 'bug' as side effect.
Sun, 09 Dec 2007 18:27:40 +0000 rubidium (svn r11608) -Fix: do not trigger industries, but only the industry's tiles.
Sat, 24 Nov 2007 14:03:47 +0000 rubidium (svn r11514) -Change: implement the automatic multiplier handler for NewGRF industries.
Tue, 20 Nov 2007 13:35:54 +0000 skidd13 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Mon, 19 Nov 2007 18:38:10 +0000 skidd13 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
Sun, 11 Nov 2007 17:56:37 +0000 rubidium (svn r11410) -Codechange: implement random triggers for industries.
Sat, 10 Nov 2007 00:42:25 +0000 glx (svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
Wed, 17 Oct 2007 20:09:16 +0000 rubidium (svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.
Wed, 10 Oct 2007 00:01:41 +0000 glx (svn r11240) -Fix [FS#1323] (r11152): forgot to invert a test
Sat, 06 Oct 2007 00:23:30 +0000 belugas (svn r11216) -Codechange: Protect the callback who would access var 45 against a randomness that could eventually cause desynchs. Instead, use a controlled random value.
Fri, 05 Oct 2007 01:46:49 +0000 belugas (svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries.
Thu, 04 Oct 2007 07:09:05 +0000 rubidium (svn r11199) -Fix: variable 67 and 68 not working correctly.
Sun, 30 Sep 2007 18:53:59 +0000 rubidium (svn r11189) -Fix: if the location check callback results in something invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it.
Thu, 27 Sep 2007 21:39:13 +0000 glx (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
Sun, 23 Sep 2007 19:55:42 +0000 rubidium (svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ID would be needed. Fix by Belugas.
Sun, 23 Sep 2007 19:27:35 +0000 rubidium (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.
Sat, 22 Sep 2007 23:14:32 +0000 rubidium (svn r11143) -Fix: the random bits were not set for the production callback when the NewGRF asked for it.
Sat, 22 Sep 2007 13:56:38 +0000 rubidium (svn r11139) -Codechange: add support for persistent storage for NewGRFs.
Wed, 19 Sep 2007 18:39:14 +0000 rubidium (svn r11131) -Fix (r11126): forgot to commit the changes that performed the actual fix.
Tue, 18 Sep 2007 18:55:25 +0000 rubidium (svn r11126) -Fix: the algorithm to determine the closest water/land was flawed.
Wed, 22 Aug 2007 01:16:08 +0000 belugas (svn r10963) -Revert(10700): Although the idea was good, it was more prone of errors than usefull.
Fri, 17 Aug 2007 00:23:33 +0000 belugas (svn r10926) -Feature: [NewGRF] Add support for variable 67(for real this time) and 68 of Variational Action 2 for Industries
Wed, 15 Aug 2007 00:49:34 +0000 belugas (svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational Action 2 for Industries
Fri, 27 Jul 2007 02:41:29 +0000 belugas (svn r10700) -Codechange: Enable to jump (by default) to the overriding industry tile spec of the one been queried.
Wed, 25 Jul 2007 19:06:29 +0000 rubidium (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
Tue, 24 Jul 2007 01:26:57 +0000 belugas (svn r10669) -Codechange: Removed redundant comment
Sun, 15 Jul 2007 00:19:40 +0000 belugas (svn r10572) -Codechange: Add function CheckIfCallBackAllowsAvailability for industries
Thu, 12 Jul 2007 07:57:08 +0000 rubidium (svn r10518) -Fix: use the location of the industry and not INVALID_TILE for production callbacks; makes looking at the environment of an industry a lot more useful.