road_cmd.c
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.
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
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
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
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Wed, 20 Jul 2005 22:05:13 +0000 celestar (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
Wed, 20 Jul 2005 15:29:28 +0000 tron (svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
Tue, 19 Jul 2005 21:49:35 +0000 tron (svn r2643) Get rid of some unnecessary casts
Tue, 19 Jul 2005 07:20:48 +0000 tron (svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138)
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 21:17:38 +0000 Darkvater (svn r2584) - Fix: Game no longer asserts when you use the remove-road tool on a town building or industry.
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.
Mon, 04 Jul 2005 14:58:55 +0000 hackykid (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
Mon, 27 Jun 2005 06:57:24 +0000 tron (svn r2492) Remove some pointless casts and fix some nearby indentation
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 17:41:08 +0000 tron (svn r2485) Missed two uint -> TileIndex, thanks _Luca_
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Thu, 16 Jun 2005 18:04:02 +0000 matthijs (svn r2448) General cleanup of rail related code, more to follow.
Tue, 07 Jun 2005 21:37:00 +0000 Darkvater (svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
Sat, 04 Jun 2005 12:13:24 +0000 tron (svn r2408) Introduce SetTileOwner() and use it
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Tue, 10 May 2005 08:45:55 +0000 Darkvater (svn r2289) - Fix (regression): check p1 param of road-depot building instead of unused p2 (typo). Thanks peter1138.
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Sun, 03 Apr 2005 13:37:35 +0000 Darkvater (svn r2142) - Fix: Game no longer crashes when you want to remove a piece of road under a bridge that belongs to the town. TODO: railcrossings store owner somewhere else, put it into _map_owner[]!
Tue, 22 Feb 2005 15:39:45 +0000 tron (svn r1902) Replace some casts with proper typing
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*()
Sun, 06 Feb 2005 20:29:32 +0000 truelight (svn r1831) -Fix: Scenario Editor now handles human-made roads better (try to build
Sun, 06 Feb 2005 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
Fri, 04 Feb 2005 14:05:28 +0000 truelight (svn r1785) -Fix: space-correctness in road_cmd.c, and one wrong line from last
Fri, 04 Feb 2005 13:56:51 +0000 truelight (svn r1784) -Fix: removed ClosestTownFromTile where possible, or replaced it
Wed, 02 Feb 2005 14:17:13 +0000 celestar (svn r1768) -Codechange: Store town index in _map2 of town tiles
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
Sat, 22 Jan 2005 22:47:58 +0000 tron (svn r1596) Add some more statics
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()