town_cmd.c
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
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 18:05:05 +0000 truelight (svn r6149) -Codechange: DeleteTown removes a town from the pool
Sat, 26 Aug 2006 14:22:54 +0000 truelight (svn r6137) -Codechange: some very minor cleanups:
Tue, 22 Aug 2006 21:17:19 +0000 truelight (svn r6058) -Fix: Get(Industry|Town)ArraySize could never return 0
Tue, 22 Aug 2006 20:56:08 +0000 truelight (svn r6056) -Codechange: don't use a loop what can be done with a simple wrapper
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 18:15:17 +0000 truelight (svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
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 11:41:34 +0000 truelight (svn r5970) -Fix [FS#49]: town-growth removed houses under construction to make way for road. Not wanted behavoir (Rubidium)
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
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
Wed, 21 Jun 2006 16:40:23 +0000 tron (svn r5327) Use DrawFoundation() for houses
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Thu, 08 Jun 2006 18:31:54 +0000 tron (svn r5171) Get rid of an ungly hack in the load routine, which temporarily turned house and road tiles into void tiles to calculate the closest town
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Sat, 20 May 2006 16:46:37 +0000 tron (svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions.
Thu, 27 Apr 2006 11:19:12 +0000 celestar (svn r4591) -Fix (FS#122) Game no longer errors out when "Many random towns" is selected in the scenario editor.
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 17:58:07 +0000 tron (svn r4547) Revert a part of r4541 to silence an assertion for now
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.
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
Mon, 03 Apr 2006 15:11:17 +0000 celestar (svn r4262) -Codechange: use IsClearWaterTile instead of some "home-brewn" marco. town_cmd is now map access free
Mon, 03 Apr 2006 14:56:07 +0000 belugas (svn r4261) CodeChange : Add and Use Accessor for Houses Construction. And cleaning on town.flags12 too
Mon, 03 Apr 2006 11:46:28 +0000 celestar (svn r4254) -Codechange: Add and make use of map accessors for town lifts.
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
Sun, 02 Apr 2006 12:49:18 +0000 tron (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
Fri, 31 Mar 2006 08:18:14 +0000 celestar (svn r4190) -Codechange: Add and make use of an accessor function to create houses
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.
Thu, 30 Mar 2006 15:06:49 +0000 celestar (svn r4179) -Codechange: Add and make use of an accessor that obtains the building type
Wed, 29 Mar 2006 19:03:47 +0000 celestar (svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
Fri, 24 Mar 2006 12:00:24 +0000 tron (svn r4085) Add GetTown{Index,ByTile}() to get the town index resp. the town from a tile
Thu, 23 Mar 2006 20:47:56 +0000 tron (svn r4073) Add functions to make and test for (most) unmovable tiles
Tue, 21 Mar 2006 20:02:05 +0000 tron (svn r3996) -Fix: Slope and height information returned for some tile types is wrong
Sun, 19 Mar 2006 19:33:19 +0000 tron (svn r3986) Add [GS]etCrossingRoadOwner
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
Sun, 12 Mar 2006 15:04:03 +0000 tron (svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
Mon, 06 Mar 2006 20:55:24 +0000 tron (svn r3777) Add some functions to handle tunnels
Mon, 06 Mar 2006 13:11:08 +0000 tron (svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes
Sun, 05 Mar 2006 10:19:33 +0000 tron (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
Thu, 23 Feb 2006 12:24:19 +0000 tron (svn r3660) Convert further road bits and type references to the functions/enums
Tue, 21 Feb 2006 07:41:54 +0000 tron (svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
Mon, 13 Feb 2006 21:15:00 +0000 tron (svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Mon, 06 Feb 2006 08:15:30 +0000 tron (svn r3561) Don't use FindLandscapeHeightByTile() when it's overkill. Also use a sprite enum instead of a magic number.
Thu, 02 Feb 2006 07:15:46 +0000 tron (svn r3520) Remove unused parameters from some functions
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Thu, 26 Jan 2006 18:36:14 +0000 Darkvater (svn r3445) - Fix: [ 1415379 ] Enhance documentation of lift destination
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Sat, 24 Dec 2005 20:54:31 +0000 tron (svn r3339) Remove unnecessary includes