rail_cmd.c
Sat, 05 Nov 2005 18:21:28 +0000 peter1138 (svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()
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_*()
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Mon, 10 Oct 2005 10:36:37 +0000 tron (svn r3028) s/255/OWNER_SPECTATOR/
Fri, 07 Oct 2005 15:53:33 +0000 Darkvater (svn r3025) -Fix: Rail convert issue introduced in r3019
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 20:20:34 +0000 peter1138 (svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into a separate function to be used elsewhere. (Deja vu?)
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
Thu, 25 Aug 2005 16:53:51 +0000 tron (svn r2890) Fix some signed/unsigned comparison warnings (tokai)
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Sun, 31 Jul 2005 22:53:57 +0000 celestar (svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and replaced it by a member of RailtypeInfo
Fri, 29 Jul 2005 22:13:04 +0000 ludde (svn r2756) Renamed railtypes into _railtypes
Fri, 29 Jul 2005 21:36:02 +0000 celestar (svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes.
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
Sun, 17 Jul 2005 18:48:45 +0000 hackykid (svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status.
Sat, 16 Jul 2005 23:47:37 +0000 celestar (svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep
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.
Thu, 07 Jul 2005 22:15:34 +0000 Darkvater (svn r2529) - Fix: PBS signals showed up as normal signals with the query tool
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, 04 Jul 2005 10:01:06 +0000 celestar (svn r2515) -Codechange: Removed a good deal of magic sprite numbers in the rail drawing code, and placed neatly into arrays and enums. This also makes way to implement more railtypes without having to do tons of ugly hacks.
Fri, 01 Jul 2005 15:46:27 +0000 tron (svn r2505) Remove some unnecessary #includes
Thu, 30 Jun 2005 13:24:17 +0000 celestar (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in _map_hi for rails, in order to make way for pbs
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 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Tue, 21 Jun 2005 19:45:05 +0000 hackykid (svn r2469) - Add: When removing tracks with the 'remove' tool, have it automatically remove signals on the tracks.
Sun, 19 Jun 2005 11:56:07 +0000 hackykid (svn r2460) - Fix: Prevent assertion failure when trying to drag signals starting from a non-rail tile.
Fri, 17 Jun 2005 07:35:10 +0000 tron (svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
Thu, 16 Jun 2005 18:04:02 +0000 matthijs (svn r2448) General cleanup of rail related code, more to follow.
Wed, 08 Jun 2005 09:03:29 +0000 tron (svn r2434) Fix some defects in r2433
Tue, 07 Jun 2005 21:37:00 +0000 Darkvater (svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)
Mon, 06 Jun 2005 22:44:11 +0000 hackykid (svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it.
Sat, 04 Jun 2005 12:14:51 +0000 tron (svn r2409) Missed one _map_owner -> IsTileOwner()
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.
Sun, 15 May 2005 16:30:02 +0000 Darkvater (svn r2322) - CodeChange: doxygen commented the tunnel-crash fix. Also if (bla) {return;} else {return;} is not proper code. It's if (bla) {return;} return; ;)
Sun, 15 May 2005 13:48:23 +0000 matthijs (svn r2320) - Fix: [ 1185176 ] Train in tunnel is not properly detected by signal code (Hackykid)
Sun, 15 May 2005 10:23:42 +0000 Darkvater (svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno)
Thu, 12 May 2005 23:46:01 +0000 Darkvater (svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands.
Mon, 09 May 2005 16:37:40 +0000 Darkvater (svn r2286) - CodeChange: paramcheck the next batch of commands.
Mon, 09 May 2005 13:26:15 +0000 Darkvater (svn r2285) - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread
Sat, 07 May 2005 10:26:12 +0000 Darkvater (svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
Sun, 24 Apr 2005 07:56:18 +0000 tron (svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131
Thu, 14 Apr 2005 11:17:36 +0000 tron (svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command failed.
Sat, 09 Apr 2005 06:20:03 +0000 celestar (svn r2173) -Fix: [ 1179380 ] Rail now builds on reserved land. Cause by the problem that CMD_ERROR is just the highest bit of the return value, but CMD_CLEAR_LANDSCAPE returns a negative value for owned land. So the highest bit is set as well. Note to self: Finish Command Patch
Sat, 02 Apr 2005 22:04:43 +0000 tron (svn r2134) Return the correct error message if rail is already under a bridge, fix for r2131
Sat, 02 Apr 2005 19:45:52 +0000 tron (svn r2132) Fix copy&paste bug in r2131
Sat, 02 Apr 2005 18:33:53 +0000 tron (svn r2131) -Fix: Rewrite CmdBuildSingleRail(), this addresses several issues:
Thu, 31 Mar 2005 12:39:18 +0000 truelight (svn r2113) -Fix: first check if a vehicle is a train, before accessing u.rail