log src/industry.h @ 14154:e3fe36dfb81e draft

age author description
Sat, 19 Sep 2009 09:51:14 +0000 rubidium (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos draft
Tue, 08 Sep 2009 12:22:28 +0000 rubidium (svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal draft
Sun, 30 Aug 2009 11:47:41 +0000 smatz (svn r17316) -Codechange: use Industry::GetByTile() instead of GetIndustryByTile() draft
Sun, 30 Aug 2009 11:40:01 +0000 smatz (svn r17315) -Codechange: move code related to industry types to separate file draft
Fri, 21 Aug 2009 20:21:05 +0000 rubidium (svn r17248) -Fix: add GPL license notice where appropriate draft
Sat, 08 Aug 2009 16:42:55 +0000 smatz (svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source draft
Wed, 22 Jul 2009 11:35:35 +0000 rubidium (svn r16914) -Codechange: split Station and BaseStation into different files draft
Thu, 02 Jul 2009 17:08:54 +0000 frosch (svn r16725) -Documentation: raw_industry_cost_multiplier draft
Fri, 26 Jun 2009 15:08:54 +0000 smatz (svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom() draft
Fri, 22 May 2009 15:39:22 +0000 smatz (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp draft
Fri, 22 May 2009 15:23:47 +0000 smatz (svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and GetActiveCompanyCount(), use PoolItem::GetNumItems() instead draft
Fri, 22 May 2009 15:13:50 +0000 smatz (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved draft
Fri, 22 May 2009 14:23:36 +0000 smatz (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index variable instead of var->index draft
Sun, 17 May 2009 11:18:34 +0000 rubidium (svn r16333) -Cleanup: remove a bunch of unused wrapper functions. draft
Sun, 17 May 2009 11:17:53 +0000 rubidium (svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions) draft
Sun, 17 May 2009 01:00:56 +0000 smatz (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) draft
Sat, 16 May 2009 23:44:36 +0000 smatz (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() draft
Sat, 16 May 2009 23:34:14 +0000 smatz (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) draft
Sun, 15 Mar 2009 16:04:39 +0000 smatz (svn r15726) -Codechange: unify coding style for const pointers draft
Mon, 09 Feb 2009 02:57:15 +0000 rubidium (svn r15428) -Codechange: consistently use colour instead of having both color and colour. draft
Sat, 03 Jan 2009 16:06:58 +0000 smatz (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints draft
Fri, 26 Dec 2008 19:37:50 +0000 smatz (svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) target invalid industry draft
Mon, 15 Sep 2008 17:18:22 +0000 belugas (svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change. draft
Wed, 20 Aug 2008 01:38:12 +0000 belugas (svn r14105) -Fix: Some typos that are more grammatical errors, as it seems. draft
Sun, 18 May 2008 23:36:33 +0000 glx (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. draft
Wed, 07 May 2008 09:07:19 +0000 rubidium (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. draft
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. draft
Thu, 17 Apr 2008 11:47:22 +0000 rubidium (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. draft
Sat, 02 Feb 2008 03:23:26 +0000 belugas (svn r12041) -Codechange: Add the loader and the property for action 00 industries, prop 24, nearby station name. draft
Tue, 15 Jan 2008 13:19:49 +0000 rubidium (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. draft
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. draft
Mon, 07 Jan 2008 14:02:26 +0000 rubidium (svn r11776) -Codechange: more header splittings to reduce the dependencies. draft
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*. draft
Wed, 26 Dec 2007 11:45:43 +0000 rubidium (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). draft
Tue, 25 Dec 2007 23:42:52 +0000 rubidium (svn r11700) -Codechange: reduce the amount of unnecessary includes. draft
Fri, 21 Dec 2007 22:50:51 +0000 rubidium (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. draft
Tue, 27 Nov 2007 17:13:49 +0000 belugas (svn r11534) -Feature(newgrf): Implement property 23h for Industries. draft
Sun, 11 Nov 2007 17:56:37 +0000 rubidium (svn r11410) -Codechange: implement random triggers for industries. draft
Fri, 19 Oct 2007 21:14:38 +0000 glx (svn r11302) -Fix (r9520): typo draft
Fri, 28 Sep 2007 21:24:25 +0000 rubidium (svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas. draft
Thu, 27 Sep 2007 21:39:13 +0000 glx (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C draft
Wed, 26 Sep 2007 14:21:23 +0000 rubidium (svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything. draft
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. draft
Sat, 22 Sep 2007 13:56:38 +0000 rubidium (svn r11139) -Codechange: add support for persistent storage for NewGRFs. draft
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. draft
Thu, 30 Aug 2007 20:40:33 +0000 rubidium (svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles. draft
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. draft
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. draft
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. draft
Wed, 22 Aug 2007 00:52:25 +0000 belugas (svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal. draft
Wed, 15 Aug 2007 00:49:34 +0000 belugas (svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational Action 2 for Industries draft
Thu, 02 Aug 2007 23:21:52 +0000 rubidium (svn r10759) -Codechange: make the industry struct use the pool item class as super class. draft
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. draft
Tue, 24 Jul 2007 19:56:43 +0000 rubidium (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. draft
Fri, 20 Jul 2007 17:14:03 +0000 belugas (svn r10639) -Codechange: Give meaninfull name to a magic number draft
Sun, 15 Jul 2007 00:03:17 +0000 belugas (svn r10570) -Codechange: Add enum required for Callback 0x22: CBID_INDUSTRY_AVAILABLE draft
Wed, 11 Jul 2007 15:03:29 +0000 rubidium (svn r10508) -Codechange: allow customizable animation schemes for industries. draft
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. draft
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. draft
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. draft
Thu, 05 Jul 2007 16:26:56 +0000 belugas (svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous draft
Wed, 04 Jul 2007 18:27:21 +0000 rubidium (svn r10439) -Codechange: initial steps for customized industry productions. draft
Tue, 03 Jul 2007 19:16:34 +0000 rubidium (svn r10418) -Codechange: implement/resurrect the industry production flags. draft
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. draft
Thu, 28 Jun 2007 19:03:14 +0000 belugas (svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do draft
Sun, 10 Jun 2007 23:40:29 +0000 belugas (svn r10088) -Codechange: A typo and a code-style draft
Sun, 10 Jun 2007 01:25:21 +0000 belugas (svn r10078) -Codechange: Centralize all industry counts data and access draft
Fri, 08 Jun 2007 15:59:03 +0000 belugas (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run draft
Fri, 08 Jun 2007 15:48:48 +0000 belugas (svn r10063) -Codechange: Change VARDEF for extern draft
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). draft
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. draft
Thu, 31 May 2007 15:40:36 +0000 belugas (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data draft
Tue, 29 May 2007 17:41:59 +0000 belugas (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles. draft
Tue, 29 May 2007 14:32:46 +0000 belugas (svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related draft
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 draft
Thu, 24 May 2007 01:12:00 +0000 belugas (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs draft
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. draft
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 draft
Fri, 18 May 2007 14:34:15 +0000 belugas (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment draft
Fri, 18 May 2007 00:33:47 +0000 belugas (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. draft
Thu, 17 May 2007 20:19:55 +0000 rubidium (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. draft
Thu, 26 Apr 2007 20:20:12 +0000 belugas (svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui. draft
Thu, 19 Apr 2007 14:50:01 +0000 belugas (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END. draft
Mon, 09 Apr 2007 01:08:11 +0000 belugas (svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet. draft
Tue, 03 Apr 2007 00:13:59 +0000 belugas (svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode. draft
Wed, 28 Mar 2007 20:06:28 +0000 belugas (svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc... draft
Thu, 15 Mar 2007 01:17:20 +0000 belugas (svn r9190) -Fix: Little typo in an enum. draft
Wed, 14 Mar 2007 02:52:50 +0000 belugas (svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array draft
Fri, 09 Mar 2007 02:04:07 +0000 belugas (svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use. draft
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; draft
Wed, 07 Mar 2007 11:47:46 +0000 rubidium (svn r9050) -Codechange: Foo(void) -> Foo() draft
Sat, 03 Mar 2007 04:04:22 +0000 belugas (svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style. draft
Wed, 21 Feb 2007 02:22:43 +0000 belugas (svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of IndustryTileSPec, the alter ego of IndustrySpec. draft
Wed, 10 Jan 2007 18:56:51 +0000 rubidium (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. draft
Tue, 02 Jan 2007 19:19:48 +0000 rubidium (svn r7759) -Merge: makefile rewrite. This merge features: draft