tunnelbridge_cmd.c
Wed, 15 Mar 2006 17:27:15 +0000 tron (svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors
Wed, 15 Mar 2006 16:47:35 +0000 tron (svn r3888) If you think you've checked everything, check once more. *sigh* Fix r3887
Wed, 15 Mar 2006 16:44:50 +0000 tron (svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
Wed, 15 Mar 2006 16:09:23 +0000 tron (svn r3885) Simplify DoConvertTunnelBridgeRail() a bit
Wed, 15 Mar 2006 07:10:41 +0000 tron (svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
Tue, 14 Mar 2006 12:00:11 +0000 tron (svn r3857) Add and use GetBridgeRampDirection()
Mon, 13 Mar 2006 15:38:52 +0000 tron (svn r3849) Fix bug in r3846
Mon, 13 Mar 2006 12:55:20 +0000 tron (svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
Mon, 13 Mar 2006 07:12:49 +0000 tron (svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
Sun, 12 Mar 2006 20:59:56 +0000 tron (svn r3837) Partially unmagicfy restoring the tiles when deleting a bridge
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
Sun, 12 Mar 2006 12:19:25 +0000 tron (svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
Sun, 12 Mar 2006 08:47:18 +0000 tron (svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
Sat, 11 Mar 2006 17:06:16 +0000 tron (svn r3820) Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types
Fri, 10 Mar 2006 17:01:51 +0000 tron (svn r3814) Remove another call to FindLandscapeHeight()
Thu, 09 Mar 2006 12:32:25 +0000 tron (svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Tue, 07 Mar 2006 07:51:05 +0000 tron (svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
Mon, 06 Mar 2006 20:55:24 +0000 tron (svn r3777) Add some functions to handle tunnels
Mon, 06 Mar 2006 20:28:28 +0000 tron (svn r3776) Replace many 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
Thu, 23 Feb 2006 08:20:28 +0000 tron (svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
Wed, 22 Feb 2006 21:35:45 +0000 tron (svn r3654) Turn another if-cascade into a switch
Wed, 22 Feb 2006 21:11:31 +0000 tron (svn r3653) -Fix: You didn't pay for terraforming at the end tile when building a tunnel
Wed, 22 Feb 2006 21:09:55 +0000 tron (svn r3652) Rewrite CmdBuildTunnel in the hope to make it a bit more comprehensible
Tue, 21 Feb 2006 07:44:33 +0000 tron (svn r3645) Fix stupid typos in last (r3644) commit *sigh*
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)
Sat, 18 Feb 2006 14:41:24 +0000 tron (svn r3613) Some more const, indentation, whitespace and similar stuff
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 09:18:04 +0000 tron (svn r3564) Several smaller changes:
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
Mon, 30 Jan 2006 17:18:45 +0000 tron (svn r3490) -Fix: A bunch (10) of off-by-one errors when checking if a TileIndex points to a tile on the map
Mon, 30 Jan 2006 16:48:24 +0000 tron (svn r3487) -Fix: Price for demolishing a bridge was dependent on orientation and map size
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Sun, 22 Jan 2006 16:23:05 +0000 peter1138 (svn r3418) - Fix: When removing a town-owned tunnel the player's rating was not reduced, as it checked the ownership of the tunnel after clearing it. Now we perform the rating adjustment before clearing the tiles. (spotted by glx)
Sun, 08 Jan 2006 12:44:11 +0000 peter1138 (svn r3391) - PBS Fix: Keep PBS reservation state when building a bridge over rail.
Thu, 15 Dec 2005 17:55:59 +0000 tron (svn r3308) BAD
Sat, 10 Dec 2005 12:05:39 +0000 peter1138 (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Wed, 16 Nov 2005 13:11:28 +0000 tron (svn r3205) Some more uses for GB/SB
Tue, 15 Nov 2005 09:05:16 +0000 tron (svn r3186) Unnecessary casts and truncation
Tue, 15 Nov 2005 08:49:46 +0000 tron (svn r3184) GB/SB
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Wed, 19 Oct 2005 14:49:46 +0000 tron (svn r3066) Constify the parameter of GetSlopeZ_*()
Wed, 19 Oct 2005 08:34:37 +0000 celestar (svn r3065) -Codechange/Add: Modified the bridge drawing code so that the basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
Wed, 19 Oct 2005 06:46:41 +0000 tron (svn r3064) Replace some numbers by sprite names
Sat, 15 Oct 2005 11:06:54 +0000 tron (svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Thu, 13 Oct 2005 16:00:14 +0000 tron (svn r3037) Don't deduce the sprites for tunnels and level crossings from magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
Mon, 10 Oct 2005 10:36:37 +0000 tron (svn r3028) s/255/OWNER_SPECTATOR/
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Sat, 01 Oct 2005 17:38:48 +0000 peter1138 (svn r3004) -Feature, NewGRF: Support loading of bridge attributes and tables from GRF. Currently drawing tall pillars uses old data.
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, 13 Sep 2005 12:19:27 +0000 truelight (svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special
Mon, 08 Aug 2005 10:42:02 +0000 tron (svn r2840) Remove 3 unnecessary strings (they're empty) and fix the alignment of the musick track display
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Mon, 01 Aug 2005 20:23:38 +0000 celestar (svn r2782) -Codechange: Started cleaning the bridge code. Removed numerous global variables containing bridge information and joined them in a struct. Introduced GetBridgeType and GetBridgePiece and fixed some minor stuff (whitespace etc)
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.