town_cmd.c
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
Sat, 10 Dec 2005 12:05:39 +0000 peter1138 (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
Tue, 15 Nov 2005 10:50:43 +0000 tron (svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
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
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
Fri, 16 Sep 2005 00:33:33 +0000 Darkvater (svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance.
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
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.
Sat, 30 Jul 2005 09:29:20 +0000 tron (svn r2758) Add the AB() macro to add a value to a bit range and use it in a few places, also make use of GB and SB nearby
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers