src/industry_cmd.cpp
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.
Thu, 26 Jul 2007 15:37:19 +0000 rubidium (svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
Thu, 26 Jul 2007 14:07:11 +0000 rubidium (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
Tue, 24 Jul 2007 19:56:43 +0000 rubidium (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
Fri, 20 Jul 2007 17:32:27 +0000 belugas (svn r10641) -Fix(r10638): Forgotten Son... err...include
Fri, 20 Jul 2007 17:25:07 +0000 belugas (svn r10640) -Fix(r10638): little typo...
Fri, 20 Jul 2007 17:14:03 +0000 belugas (svn r10639) -Codechange: Give meaninfull name to a magic number
Fri, 20 Jul 2007 16:50:11 +0000 belugas (svn r10638) -Codechange: Save the mapping of the industries and tiles, making them persistent.
Fri, 20 Jul 2007 14:49:41 +0000 belugas (svn r10635) -Codechange: Correct some typos and code beautifying (a little bit)
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
Sun, 15 Jul 2007 00:45:02 +0000 glx (svn r10575) -Fix r10573: misplaced )
Sun, 15 Jul 2007 00:26:12 +0000 belugas (svn r10573) -Codechange: Use function CheckIfCallBackAllowsAvailability for random map generation as well as for ingame random industry creation
Wed, 11 Jul 2007 15:03:29 +0000 rubidium (svn r10508) -Codechange: allow customizable animation schemes for industries.
Wed, 11 Jul 2007 08:20:57 +0000 rubidium (svn r10506) -Fix: the (manual) building of banks was always rejected.
Mon, 09 Jul 2007 20:08:25 +0000 rubidium (svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
Mon, 09 Jul 2007 18:53:43 +0000 rubidium (svn r10490) -Codechange: add support for industries on non-flat surfaces.
Mon, 09 Jul 2007 13:21:49 +0000 rubidium (svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location.
Sun, 08 Jul 2007 19:54:51 +0000 rubidium (svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills.
Sun, 08 Jul 2007 18:41:34 +0000 maedhros (svn r10481) -Codechange: Show a news message with the new industry when primary industry prospecting succeeds.
Sun, 08 Jul 2007 17:40:04 +0000 rubidium (svn r10477) -Codechange: add some callbacks to customise the acceptance of industries.
Sat, 07 Jul 2007 08:53:19 +0000 rubidium (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries.
Fri, 06 Jul 2007 22:33:16 +0000 rubidium (svn r10459) -Codechange: add helper functions to determine whether an industry is a primary industry and how much it costs to build such an industry.
Fri, 06 Jul 2007 07:24:10 +0000 rubidium (svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map.
Thu, 05 Jul 2007 05:41:56 +0000 rubidium (svn r10442) -Codechange: implement the industry production callback.
Wed, 04 Jul 2007 18:27:21 +0000 rubidium (svn r10439) -Codechange: initial steps for customized industry productions.
Wed, 04 Jul 2007 00:54:38 +0000 belugas (svn r10425) -Fix (r10418): do not compare bitmasks with HASBIT. Strike two. Forgotten code :)
Tue, 03 Jul 2007 19:25:06 +0000 rubidium (svn r10419) -Fix (r10418): do not compare bitmasks with HASBIT. Thanks to Maedhros for spotting this.
Tue, 03 Jul 2007 19:16:34 +0000 rubidium (svn r10418) -Codechange: implement/resurrect the industry production flags.
Sun, 01 Jul 2007 17:21:25 +0000 rubidium (svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag.
Tue, 26 Jun 2007 21:17:51 +0000 rubidium (svn r10348) -Fix (r10347): compile errors; do not think it compiles fine when you run make on the wrong working copy.
Tue, 26 Jun 2007 21:11:17 +0000 rubidium (svn r10347) -Fix [FS#948]: industries with a very low production could never recover when using smooth economy.
Tue, 26 Jun 2007 13:46:56 +0000 truelight (svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy
Sun, 24 Jun 2007 10:20:05 +0000 rubidium (svn r10299) -Codechange [FS#931]: industry foundations should be drawn as all other foundations, i.e. with DrawFoundation, instead of writing the same functionality itself.
Fri, 22 Jun 2007 23:53:16 +0000 truelight (svn r10290) -Fix: with smooth_economy, when industry production hit 32, it stayed there for ever. Give it some chance to get out of that uber-lowness (although it is a very slim chance, at least it has one)
Wed, 20 Jun 2007 03:03:00 +0000 belugas (svn r10232) -Fix(r1): _numof_industry_table never was composed of 12 entries. Only 11.
Tue, 19 Jun 2007 17:33:12 +0000 belugas (svn r10226) -Codechange: Add support for newindustry tiles drawing.
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Fri, 15 Jun 2007 01:53:43 +0000 belugas (svn r10163) -Fix(r8128): Industries had lost their random recoloring. A test was removed and is now reintroduced in another way.
Wed, 13 Jun 2007 15:22:28 +0000 rubidium (svn r10140) -Fix [FS#867]: an industry could overbuild a bridge.
Mon, 11 Jun 2007 14:25:38 +0000 belugas (svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Sun, 10 Jun 2007 01:25:21 +0000 belugas (svn r10078) -Codechange: Centralize all industry counts data and access
Fri, 08 Jun 2007 15:48:48 +0000 belugas (svn r10063) -Codechange: Change VARDEF for extern
Thu, 07 Jun 2007 14:38:45 +0000 rubidium (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month).
Thu, 07 Jun 2007 09:20:04 +0000 rubidium (svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format.
Wed, 30 May 2007 20:34:16 +0000 rubidium (svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.
Wed, 30 May 2007 20:20:58 +0000 belugas (svn r9992) -Codechange: Remove some hardcoded references to Industry IDs.
Wed, 30 May 2007 02:08:18 +0000 belugas (svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
Wed, 30 May 2007 01:55:11 +0000 belugas (svn r9983) -Codechange: Use the "enabled" property of the industry spec.
Tue, 29 May 2007 17:41:59 +0000 belugas (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
Tue, 29 May 2007 00:15:34 +0000 belugas (svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
Thu, 24 May 2007 22:41:50 +0000 rubidium (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
Sun, 20 May 2007 05:53:19 +0000 peter1138 (svn r9887) -Fix (r9867): Industry production statistics messed up...
Sun, 20 May 2007 00:50:06 +0000 belugas (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
Fri, 18 May 2007 17:55:07 +0000 belugas (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct