industry_cmd.c
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
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Tue, 18 Jan 2005 18:41:56 +0000 tron (svn r1560) Introduce SetTileType() and SetTileHeight()
Mon, 17 Jan 2005 09:41:46 +0000 tron (svn r1549) Clean up some functions:
Sun, 16 Jan 2005 11:24:58 +0000 tron (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Sat, 15 Jan 2005 08:58:31 +0000 tron (svn r1520) Trim 134 (!) lines with trailing whitespace ):
Fri, 14 Jan 2005 09:20:12 +0000 celestar (svn r1504) enummed town ratings (Jango)
Sun, 09 Jan 2005 14:07:59 +0000 miham (svn r1443) Added feature that users are able to place multiple accepting industies nearby in the editor mode if the appropriate patches are set
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 11:39:00 +0000 tron (svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Tue, 04 Jan 2005 17:11:03 +0000 darkvater (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky.
Mon, 03 Jan 2005 14:07:49 +0000 darkvater (svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the macros for map querying.
Mon, 03 Jan 2005 12:56:22 +0000 tron (svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY]
Sat, 01 Jan 2005 15:40:44 +0000 truelight (svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;)
Thu, 30 Dec 2004 10:03:35 +0000 truelight (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too
Tue, 28 Dec 2004 11:51:31 +0000 truelight (svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Sat, 04 Dec 2004 23:43:54 +0000 darkvater (svn r952) -A tiny insignificant fix for a toyland industry gfx
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Sat, 04 Dec 2004 09:26:39 +0000 tron (svn r925) Use sound enums
Thu, 02 Dec 2004 22:53:07 +0000 tron (svn r901) Small step in the process to clean up the DPARAM mess:
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Tue, 23 Nov 2004 22:36:11 +0000 tron (svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
Sun, 21 Nov 2004 10:49:40 +0000 tron (svn r724) Remove restriction that a tile can only accept 3 cargo types.
Sun, 14 Nov 2004 19:44:06 +0000 tron (svn r607) -Patch: [ 985102 ] static cleanup
Fri, 05 Nov 2004 23:12:33 +0000 tron (svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
Sat, 25 Sep 2004 17:37:32 +0000 truelight (svn r320) -Fix: some last _current_player fixes
Thu, 16 Sep 2004 15:21:24 +0000 darkvater (svn r273) -Fix: sorry, wrongly fixed
Thu, 16 Sep 2004 15:15:04 +0000 darkvater (svn r272) -Fix: industries are once again generated on a new map