industry_cmd.c
Sun, 22 Jan 2006 09:52:20 +0000 peter1138 (svn r3416) - Fix: Disallow building an oil rig above sea level.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Sat, 10 Dec 2005 12:05:39 +0000 peter1138 (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
Wed, 16 Nov 2005 13:11:28 +0000 tron (svn r3205) Some more uses for GB/SB
Wed, 16 Nov 2005 11:55:06 +0000 tron (svn r3195) Use bitfields instead of explicit shifting/masking
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 15:22:12 +0000 tron (svn r3180) Replace some magic numbers by symbolic names
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Fri, 04 Nov 2005 16:12:48 +0000 tron (svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Wed, 19 Oct 2005 14:49:46 +0000 tron (svn r3066) Constify the parameter of GetSlopeZ_*()
Wed, 19 Oct 2005 06:46:41 +0000 tron (svn r3064) Replace some numbers by sprite names
Fri, 07 Oct 2005 07:35:15 +0000 tron (svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Wed, 05 Oct 2005 04:00:39 +0000 peter1138 (svn r3018) -Fix: Fixed industry colour issue introduced in r3010.
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Tue, 23 Aug 2005 18:47:04 +0000 tron (svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.
Mon, 01 Aug 2005 13:01:14 +0000 tron (svn r2780) Remove some more unused strings and make the use of a few strings more explicit
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
Wed, 20 Jul 2005 22:05:13 +0000 celestar (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Wed, 20 Jul 2005 15:29:28 +0000 tron (svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
Tue, 19 Jul 2005 21:49:35 +0000 tron (svn r2643) Get rid of some unnecessary casts
Sat, 16 Jul 2005 23:47:37 +0000 celestar (svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
Fri, 15 Jul 2005 19:51:54 +0000 ludde (svn r2582) Fix: Prevent generating unrealistically many Oil refineries on large maps. They are always placed next to the borderline, so the perimeter is used instead of area to scale the number of those industries.
Fri, 15 Jul 2005 18:30:13 +0000 ludde (svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.
Fri, 15 Jul 2005 12:16:16 +0000 ludde (svn r2570) Fix: Removed some code that had no effect.
Wed, 13 Jul 2005 19:51:31 +0000 ludde (svn r2560) Fix: various minor code changes.
Wed, 13 Jul 2005 18:04:01 +0000 tron (svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Sat, 25 Jun 2005 16:44:57 +0000 tron (svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 22:16:05 +0000 Darkvater (svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
Fri, 13 May 2005 18:19:26 +0000 Darkvater (svn r2304) - Fix (regression): excuse the Lumber mill from the list of raw-industries build-restriction, as it can be built always, patch-setting, or no patch-setting.
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Tue, 29 Mar 2005 21:42:51 +0000 pasky (svn r2107) - Codechange: Cleanup (well, mostly tidyup) ExtChangeIndustryProduction(). These randoms are strange.
Sun, 27 Mar 2005 16:19:07 +0000 pasky (svn r2090) CheckNewIndustry_Oilwell() -> CheckNewIndustry_Oil() since it was concerning oil rigs and oil rafineries, but specifically NOT oil wells. ;-) Documented that.
Mon, 14 Feb 2005 22:19:56 +0000 tron (svn r1877) Forgot to remove two now unused variables
Mon, 14 Feb 2005 22:17:21 +0000 tron (svn r1876) Make placement of oil rigs and refineries map size agnostic
Sat, 12 Feb 2005 15:53:32 +0000 tron (svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*()
Mon, 07 Feb 2005 10:41:45 +0000 tron (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
Sun, 06 Feb 2005 15:07:29 +0000 truelight (svn r1824) -Codechange: made ChangeIndustryProduction a bit more readable
Fri, 04 Feb 2005 17:14:36 +0000 tron (svn r1791) Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a long time ago
Wed, 02 Feb 2005 19:15:35 +0000 truelight (svn r1774) -Fix: fixed an other possible crash related to previous commit
Wed, 02 Feb 2005 19:08:34 +0000 truelight (svn r1773) -Fix: [ 1114950 ] Game crashed sometimes when there were no industries
Wed, 02 Feb 2005 17:30:29 +0000 truelight (svn r1771) -Add: Industries are now dynamic (up to 64k industries). Generating
Mon, 31 Jan 2005 11:23:10 +0000 matthijs (svn r1751) - Feature: New PathFinder (NPF).
Mon, 31 Jan 2005 07:23:15 +0000 tron (svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
Sat, 29 Jan 2005 15:12:40 +0000 tron (svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
Sat, 29 Jan 2005 12:19:05 +0000 tron (svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
Fri, 28 Jan 2005 15:31:04 +0000 tron (svn r1706) Implement ScaleByMapSize() and ScaleByMapSize1D()
Tue, 25 Jan 2005 21:43:57 +0000 tron (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change