industry_cmd.c
Wed, 22 Mar 2006 11:13:20 +0000 celestar (svn r4014) -Backport from trunk: Slope and height information returned for some tile types is wrong 0.4.5
Sat, 30 Dec 2006 11:57:52 +0000 rubidium (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location.
Sat, 30 Dec 2006 11:51:37 +0000 rubidium (svn r7641) -Codechange: remove the last direct map accesses from industry_cmd.
Sat, 30 Dec 2006 11:41:54 +0000 rubidium (svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_land
Mon, 01 Jan 2007 16:31:13 +0000 celestar (svn r7721) [cbh] - Sync with 7607:7720 from trunk custombridgeheads
Sat, 07 Jul 2007 18:01:26 +0000 rubidium (svn r10467) [0.5] -Backport from trunk (r10406, r10465): 0.5
Thu, 28 Jun 2007 13:58:39 +0000 rubidium (svn r10372) [0.5] -Backport from trunk (r10288, r10290, r10293, r10294, r10295, r10347, r10348): 0.5
Mon, 19 Mar 2007 19:22:26 +0000 rubidium (svn r9343) [0.5] -Backport from trunk (r9000, r9001, r9097, r9137): 0.5
Mon, 11 Dec 2006 12:37:57 +0000 rubidium (svn r7477) -Fix (7451): Allocate(Industry|Town) get called twice when trying to build an industry/town via a command, thus incrementing the number of towns/industries twice when created via a command.
Sat, 09 Dec 2006 14:14:51 +0000 rubidium (svn r7451) -Fix (7372): GetNum(Towns|Industries) should return the actual number of towns and industries.
Tue, 05 Dec 2006 13:58:20 +0000 matthijs (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface.
Sun, 03 Dec 2006 17:27:43 +0000 matthijs (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
Fri, 17 Nov 2006 23:01:58 +0000 belugas (svn r7198) -Codechange: Implement a circular tile search function.
Wed, 08 Nov 2006 05:05:35 +0000 belugas (svn r7109) -Codechange: use map accessor IsClearWaterTile
Sat, 28 Oct 2006 11:32:45 +0000 tron (svn r6979) Use the pool macros for the Industry pool
Fri, 27 Oct 2006 15:54:24 +0000 belugas (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Tue, 24 Oct 2006 19:19:25 +0000 belugas (svn r6930) -Codechange: Move industry name into IndustrySpec
Mon, 23 Oct 2006 16:35:27 +0000 belugas (svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).
Wed, 11 Oct 2006 21:20:53 +0000 Darkvater (svn r6739) -Fix (r6001): Crash on removing farmland belonging to a farm. The search would loop
Fri, 15 Sep 2006 21:44:55 +0000 peter1138 (svn r6459) - Fix (r6433): An enum mixup caused oilrigs to not have a station part. Thanks to Znuff for pointing out.
Sun, 10 Sep 2006 08:28:32 +0000 rubidium (svn r6437) -Fix: reset the location of the last sound as that location can be outside the map when you are loading another (smaller) map. Thanks to MeusH for noticing.
Fri, 08 Sep 2006 22:12:57 +0000 rubidium (svn r6433) -Codechange: replace some magic numbers (industry gfx indices) by enums.
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sat, 26 Aug 2006 19:51:49 +0000 truelight (svn r6156) -Codechange: DeleteIndustry removes an industry from the pool
Tue, 22 Aug 2006 21:17:19 +0000 truelight (svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
Tue, 22 Aug 2006 21:14:45 +0000 truelight (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned.
Tue, 22 Aug 2006 20:41:26 +0000 truelight (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that).
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 19:31:58 +0000 rubidium (svn r6005) -Cleanup: introduce IndustryID and use it
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Sun, 20 Aug 2006 18:44:26 +0000 truelight (svn r6001) -Feature: when removing a farm, his farmland is removed too (over time) (based on peter1138's patch, FS#82)
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Sun, 20 Aug 2006 10:45:36 +0000 rubidium (svn r5966) -Fix: prevent that the industry placement's terraforming checks can leave the map on the southern side
Sat, 19 Aug 2006 11:28:41 +0000 truelight (svn r5948) -Fix: inversed check caused oringal land-generator to put industries on mountains (tnx Darkvater)
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Thu, 17 Aug 2006 20:22:35 +0000 rubidium (svn r5934) -Cleanup: forgot some conversions to Year and to Date
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Sun, 06 Aug 2006 16:32:49 +0000 tron (svn r5794) Pass the TileIndex plus x and y coordinates into GetSlopeZ_* instead of a TileInfo
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 20 May 2006 16:46:37 +0000 tron (svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions.
Sun, 07 May 2006 07:55:05 +0000 tron (svn r4765) Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places
Fri, 28 Apr 2006 21:58:16 +0000 belugas (svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).
Wed, 26 Apr 2006 21:10:01 +0000 belugas (svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
Wed, 26 Apr 2006 17:01:27 +0000 belugas (svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
Wed, 26 Apr 2006 14:58:06 +0000 belugas (svn r4577) CodeChange : Cleanup of industry_cmd (Step-1).
Wed, 26 Apr 2006 01:33:46 +0000 belugas (svn r4576) Fix : Temperate bank will no longer appear (during game) in tropic landscape.
Tue, 25 Apr 2006 07:32:33 +0000 tron (svn r4572) Remove vehicle_leave_tile_proc
Mon, 24 Apr 2006 21:10:56 +0000 belugas (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Sun, 23 Apr 2006 13:48:16 +0000 tron (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Tue, 18 Apr 2006 18:48:50 +0000 peter1138 (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Tue, 18 Apr 2006 13:16:00 +0000 celestar (svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)
Sat, 15 Apr 2006 01:06:53 +0000 belugas (svn r4425) Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is STRICKLY LESS THEN. This caused airports animations to stay unanimated. Industries were similarly affected.
Fri, 14 Apr 2006 01:54:07 +0000 belugas (svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
Wed, 12 Apr 2006 18:10:54 +0000 belugas (svn r4399) CodeChange : Add and make use of [G|S]etIndustryAnimationLoop accessors.
Mon, 10 Apr 2006 21:00:56 +0000 belugas (svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint
Mon, 10 Apr 2006 16:20:47 +0000 belugas (svn r4347) CodeChange : Renamed IndustryType to IndustryLifeType. Cleanup step toward bringing accessors [G|S]etIndustrype
Mon, 10 Apr 2006 15:09:56 +0000 belugas (svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap