industry_cmd.c
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
Mon, 10 Apr 2006 14:27:26 +0000 celestar (svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ arrays to _industry_sections
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Tue, 04 Apr 2006 21:35:13 +0000 tron (svn r4279) s/\<CL_/CLEAR_/
Tue, 04 Apr 2006 06:04:54 +0000 tron (svn r4270) Rename some bogus map5 to gfx
Mon, 03 Apr 2006 09:07:21 +0000 celestar (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Mon, 03 Apr 2006 05:32:11 +0000 celestar (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Sun, 02 Apr 2006 12:49:18 +0000 tron (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
Thu, 30 Mar 2006 19:16:44 +0000 belugas (svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
Sun, 26 Mar 2006 22:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Sun, 26 Mar 2006 19:20:15 +0000 tron (svn r4120) Use the new station functions where appropriate
Sat, 25 Mar 2006 10:38:28 +0000 tron (svn r4108) Add [GS]etIndustryGfx()
Fri, 24 Mar 2006 18:16:39 +0000 belugas (svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme
Fri, 24 Mar 2006 13:46:45 +0000 tron (svn r4087) Add IsIndustryCompleted() to check if a industry tile is fully built
Fri, 24 Mar 2006 13:31:17 +0000 tron (svn r4086) Add MakeIndustry()
Fri, 24 Mar 2006 08:00:45 +0000 tron (svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. the industry from a tile
Wed, 22 Mar 2006 19:04:04 +0000 tron (svn r4027) Remove another call to FindLandscapeHeightByTile()
Wed, 22 Mar 2006 08:48:50 +0000 tron (svn r4007) Add a function to make a farm field tile
Tue, 21 Mar 2006 23:22:21 +0000 belugas (svn r4004) -CodeChange : Renaming sprites and functions
Tue, 21 Mar 2006 20:02:05 +0000 tron (svn r3996) -Fix: Slope and height information returned for some tile types is wrong
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
Thu, 09 Mar 2006 20:37:51 +0000 peter1138 (svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Sun, 05 Mar 2006 10:19:33 +0000 tron (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
Tue, 28 Feb 2006 06:14:42 +0000 tron (svn r3683) Get rid of another FindLandscapeHeight()