src/industry_cmd.cpp
Mon, 26 Nov 2007 16:01:29 +0000 skidd13 (svn r11526) -Codechange: Rename the function delta fitting to the naming style
Sun, 25 Nov 2007 15:35:25 +0000 skidd13 (svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
Sat, 24 Nov 2007 08:45:04 +0000 rubidium (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
Fri, 23 Nov 2007 16:50:54 +0000 glx (svn r11502) -Fix (r11144): don't do standard production change if callbacks 29/35 failed
Fri, 23 Nov 2007 12:12:07 +0000 belugas (svn r11500) -Codechange: Smooth economy fine-tuning, making industries more responsive. Patch by Sirkoz.
Fri, 23 Nov 2007 04:17:41 +0000 glx (svn r11499) -Fix (r11144): mul/div factor were wrong (off by two)
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
Thu, 15 Nov 2007 22:20:33 +0000 rubidium (svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
Mon, 12 Nov 2007 18:32:04 +0000 rubidium (svn r11420) -Fix [FS#1006]: industry closure news not properly shown when the news item pops up after the industry has been removed from the map.
Sun, 11 Nov 2007 18:22:06 +0000 rubidium (svn r11412) -Fix (r11403): animation was not turned on properly.
Sun, 11 Nov 2007 17:56:37 +0000 rubidium (svn r11410) -Codechange: implement random triggers for industries.
Sun, 11 Nov 2007 00:53:59 +0000 rubidium (svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated during construction.
Sun, 11 Nov 2007 00:04:52 +0000 glx (svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
Sat, 10 Nov 2007 01:17:15 +0000 belugas (svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
Sat, 03 Nov 2007 23:34:12 +0000 rubidium (svn r11373) -Fix [FS#1398]: do not even think about building disabled industries.
Sat, 03 Nov 2007 15:21:26 +0000 rubidium (svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in.
Mon, 29 Oct 2007 23:29:06 +0000 glx (svn r11356) -Fix (r11305): funding industries in MP game was causing desync
Sat, 27 Oct 2007 11:20:47 +0000 rubidium (svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station.
Sat, 20 Oct 2007 00:20:23 +0000 glx (svn r11305) -Codechange: randomise layout when building an industry ingame
Fri, 19 Oct 2007 22:46:55 +0000 rubidium (svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
Fri, 19 Oct 2007 21:14:38 +0000 glx (svn r11302) -Fix (r9520): typo
Fri, 19 Oct 2007 21:05:25 +0000 glx (svn r11301) -Fix: water check when building industries didn't work
Thu, 18 Oct 2007 20:35:59 +0000 glx (svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params
Wed, 17 Oct 2007 15:47:49 +0000 glx (svn r11285) -Fix: 'site unsuitable' was always shown instead specified message when trying to build industry ingame (Csaboka)
Tue, 16 Oct 2007 19:48:58 +0000 rubidium (svn r11276) -Codechange: be more consistent with naming of some accessors.
Mon, 15 Oct 2007 18:36:20 +0000 belugas (svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. Looks like there was one spot missing. Thanks frosch
Fri, 05 Oct 2007 17:53:45 +0000 glx (svn r11207) -Fix [FS#1301]: don't use smooth_economy for industries using production callbacks as they may have no production for more than a month
Wed, 03 Oct 2007 00:57:54 +0000 belugas (svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
Tue, 02 Oct 2007 17:48:17 +0000 rubidium (svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles.
Tue, 02 Oct 2007 16:56:45 +0000 rubidium (svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases).
Sun, 30 Sep 2007 14:29:45 +0000 rubidium (svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times.
Fri, 28 Sep 2007 21:24:25 +0000 rubidium (svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas.
Fri, 28 Sep 2007 17:09:50 +0000 glx (svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)
Thu, 27 Sep 2007 21:47:38 +0000 glx (svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C
Thu, 27 Sep 2007 21:39:13 +0000 glx (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
Wed, 26 Sep 2007 14:32:06 +0000 rubidium (svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch.
Wed, 26 Sep 2007 14:14:51 +0000 rubidium (svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch.
Wed, 26 Sep 2007 01:24:12 +0000 belugas (svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry.
Sat, 22 Sep 2007 23:40:35 +0000 glx (svn r11144) -Codechange: add support for newgrf callbacks 29 and 35
Sat, 22 Sep 2007 21:59:02 +0000 glx (svn r11142) -Codechange: prepare industry production change code for newgrf callbacks 29 and 35
Sat, 22 Sep 2007 13:56:38 +0000 rubidium (svn r11139) -Codechange: add support for persistent storage for NewGRFs.
Sat, 22 Sep 2007 00:59:27 +0000 belugas (svn r11137) -Feature: [NewGRF] Add support for bit 17 of property 1A for Industries. This bit enables the protection of the last instance of an industry type once raise.
Fri, 14 Sep 2007 22:27:40 +0000 rubidium (svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
Fri, 14 Sep 2007 21:32:21 +0000 rubidium (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
Thu, 06 Sep 2007 03:02:38 +0000 belugas (svn r11050) -Codechange: Use the translated gfx, not the original one.
Tue, 04 Sep 2007 12:00:12 +0000 rubidium (svn r11041) -Fix (r10460) [FS#1195]: the industry's owner was saved twice instead of the owner and the founder. Patch by frosch.
Thu, 30 Aug 2007 17:17:04 +0000 rubidium (svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
Mon, 27 Aug 2007 21:18:04 +0000 rubidium (svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch.
Sun, 26 Aug 2007 00:23:32 +0000 belugas (svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert that happens when an industry uses a special gfx index (tile spec 0xFF). This 0xFF is the sentinel of a special check done for oil rigs, where water need to be around, but no tile will be constructed on it.
Fri, 24 Aug 2007 00:23:35 +0000 belugas (svn r10972) -Codechange: Implement the counterpart(GetTranslatedIndustryTileID) of getindustileid of TTDPatch. This allows to ensure that the ID of a tile (taken out of the map or not) is still a valid one regarding the possible override it may have been flagged to.
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.
Wed, 22 Aug 2007 00:59:46 +0000 belugas (svn r10962) -Codechange: protect yourself against an illicit substitution
Wed, 15 Aug 2007 00:49:34 +0000 belugas (svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational Action 2 for Industries
Mon, 06 Aug 2007 14:08:25 +0000 rubidium (svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors.
Fri, 03 Aug 2007 20:18:38 +0000 rubidium (svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
Thu, 02 Aug 2007 23:21:52 +0000 rubidium (svn r10759) -Codechange: make the industry struct use the pool item class as super class.
Fri, 27 Jul 2007 03:07:05 +0000 belugas (svn r10701) -Codechange: Make sure to not use an out of bound index when the index is specified by a grf file. It has a different meaning then.
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.
Thu, 26 Jul 2007 16:51:10 +0000 rubidium (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.