road_cmd.c
Fri, 24 Mar 2006 15:24:16 +0000 celestar (svn r4088) -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to put and get the status of a level crossing
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
Tue, 21 Mar 2006 22:06:32 +0000 tron (svn r4000) Rewrite GetSlope{Tileh,Z}_{Road,Track} in a less confusing way
Mon, 20 Mar 2006 13:34:01 +0000 tron (svn r3990) Remove another call to FindLandscapeHeight()
Sun, 19 Mar 2006 19:33:19 +0000 tron (svn r3986) Add [GS]etCrossingRoadOwner
Sun, 19 Mar 2006 17:15:33 +0000 tron (svn r3984) Add a function to get the road axis of a level crossing
Sun, 19 Mar 2006 13:48:08 +0000 tron (svn r3981) More work for the rail accessing functions and enums
Sun, 19 Mar 2006 12:06:12 +0000 tron (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
Fri, 17 Mar 2006 10:10:31 +0000 tron (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
Thu, 16 Mar 2006 15:16:27 +0000 tron (svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
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
Fri, 10 Mar 2006 11:27:52 +0000 tron (svn r3812) Remove a pointless goto
Wed, 08 Mar 2006 15:29:23 +0000 tron (svn r3795) Add a function to request the orientation of a depot
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 17:24:04 +0000 tron (svn r3770) Remove the _road_special_gettrackstatus hack. Egladil and me deem it unnecessary
Sun, 05 Mar 2006 12:22:20 +0000 tron (svn r3766) Add a function to get the RoadBits from an arbitrary tile
Sun, 05 Mar 2006 10:19:33 +0000 tron (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
Wed, 01 Mar 2006 15:03:47 +0000 tron (svn r3699) Replace some magic numbers for checking for a suitable slope for a level crossing by some less magic numbers
Wed, 01 Mar 2006 12:31:39 +0000 tron (svn r3698) Add GetCrossingRailBits() and ComplementRoadBits(). Simplify the code by using them
Wed, 01 Mar 2006 09:40:34 +0000 tron (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
Wed, 01 Mar 2006 08:56:38 +0000 tron (svn r3696) Add functions to turn a tile into a normal rail tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring
Wed, 01 Mar 2006 06:39:04 +0000 tron (svn r3695) Add 2 MarkTileByTile() which I forgot in r3689 (noticed by Belugas)
Tue, 28 Feb 2006 21:19:50 +0000 tron (svn r3689) Add functions to turn a tile into either a normal road tile, a level crossing or a road depot
Tue, 28 Feb 2006 13:18:14 +0000 tron (svn r3687) Complete some bits I missed whenn adding accessor functions for road types and pieces
Tue, 28 Feb 2006 11:49:12 +0000 tron (svn r3686) Dispel some strange magic regarding level crossings and foundations:
Mon, 27 Feb 2006 17:24:31 +0000 tron (svn r3680) Fix some magic numbers which got damaged in r1768
Thu, 23 Feb 2006 12:24:19 +0000 tron (svn r3660) Convert further road bits and type references to the functions/enums
Thu, 23 Feb 2006 11:53:48 +0000 tron (svn r3659) Add function to get the road bits of a level crossing
Thu, 23 Feb 2006 08:20:28 +0000 tron (svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
Thu, 23 Feb 2006 07:32:46 +0000 tron (svn r3657) Fix indentation and remove now unused variable, which i forgot in r3655
Thu, 23 Feb 2006 07:31:36 +0000 tron (svn r3656) Simplify the overly complicated check for road pieces under a bridge
Thu, 23 Feb 2006 07:26:49 +0000 tron (svn r3655) Simplify a boolean expression and turn 3 if-cascades into switches
Tue, 21 Feb 2006 18:15:59 +0000 tron (svn r3650) Fix braino in r3649, spotted by Mihamix
Tue, 21 Feb 2006 18:07:35 +0000 tron (svn r3649) Turn several if-cascades into switch()es
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, 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
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)
Mon, 23 Jan 2006 17:43:46 +0000 peter1138 (svn r3420) - Fix typo made back in r2997...
Sat, 21 Jan 2006 20:34:17 +0000 peter1138 (svn r3413) - Fix: Under certain conditions placing a road tile parallel under a bridge would, instead of failing, succeed and place a perpendicular piece.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Sun, 18 Dec 2005 12:10:46 +0000 tron (svn r3313) Remove GPMI related changes from trunk
Wed, 14 Dec 2005 15:54:23 +0000 truelight (svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_
Sat, 10 Dec 2005 12:05:39 +0000 peter1138 (svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()
Fri, 02 Dec 2005 19:21:38 +0000 truelight (svn r3253) -Add: add BuildRoad event for AIs
Wed, 23 Nov 2005 15:08:29 +0000 truelight (svn r3232) -Add: implemented the event-system for AIs
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
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
Thu, 20 Oct 2005 17:43:13 +0000 tron (svn r3073) int/byte -> EngineID/PlayerID/VehicleID
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
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
Thu, 29 Sep 2005 19:59:57 +0000 peter1138 (svn r2997) -Codechange: Split road drawing code off from DrawTile_Road into a separate function to be used elsewhere.