rail_cmd.c
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
Mon, 28 Mar 2005 18:59:33 +0000 tron (svn r2102) Fix bug introduced in r2038, which gave you money for clearing occupied railway tiles ([1171926])
Mon, 28 Mar 2005 07:25:36 +0000 tron (svn r2095) In CheckTrackCombination(): if () cascade -> switch, improve readability
Mon, 28 Mar 2005 07:02:51 +0000 tron (svn r2094) In GetTileDesc_Track(): uint -> TileIndex, use enums, if () cascade -> switch
Fri, 25 Mar 2005 13:37:37 +0000 truelight (svn r2059) -Codechange: rewrote SetSignalsAfterProc so now the tiles from the PF
Thu, 24 Mar 2005 17:03:37 +0000 truelight (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
Thu, 24 Mar 2005 07:48:04 +0000 tron (svn r2040) Readd check that got accidently removed in r2022
Wed, 23 Mar 2005 21:57:10 +0000 tron (svn r2039) IS_RAIL_DEPOT -> IsRailDepot, IS_RAIL_WAYPOINT -> IsRailWaypoint
Wed, 23 Mar 2005 20:02:28 +0000 tron (svn r2038) -Fix: A player only received the money for one rail when clearing a tile with 2 rails and signals
Fri, 18 Mar 2005 07:37:32 +0000 tron (svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function
Thu, 10 Mar 2005 07:01:43 +0000 tron (svn r1981) Typedef some structs and enums
Tue, 22 Feb 2005 18:27:57 +0000 tron (svn r1903) Replace some casts and macro magic with proper typing, similar to r1902
Sun, 13 Feb 2005 11:18:02 +0000 tron (svn r1867) Include tables/sprites.h only in files which need it
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
Sun, 06 Feb 2005 20:53:31 +0000 tron (svn r1832) Next byte -> char iteration: custom names
Sun, 06 Feb 2005 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
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
Sun, 30 Jan 2005 16:08:19 +0000 darkvater (svn r1733) - Fix: oops "| 1" is SETBIT(x, 0), not 1 :(. Now you can remove signals again
Sun, 30 Jan 2005 15:57:38 +0000 darkvater (svn r1731) - Fix: [ 1106930 ] BugFix: placing signals with 2x1 drags workaround is completely rewritten. Also features checks for hacked/modified clients. Thanks a lot Hackykid!
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
Sun, 23 Jan 2005 20:40:49 +0000 darkvater (svn r1624) -Fix: [1106930] BugFix: placing signals with 2x1 drags is treated as placing a single signal thus providing an easy fix for a nasty problem.
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
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
Sat, 22 Jan 2005 14:52:20 +0000 tron (svn r1585) Rewrite CmdBuildSignals()
Wed, 19 Jan 2005 13:31:46 +0000 darkvater (svn r1567) -Fix: [110452] On horizontal/vertical tracks you are also charged for building/removing signals on the parallel track on the same tile. Signal updating is also correct. (Hackykid)
Tue, 18 Jan 2005 18:41:56 +0000 tron (svn r1560) Introduce SetTileType() and SetTileHeight()
Sun, 16 Jan 2005 14:06:22 +0000 tron (svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Sun, 16 Jan 2005 11:24:58 +0000 tron (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Sat, 15 Jan 2005 19:06:22 +0000 truelight (svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
Fri, 14 Jan 2005 19:41:24 +0000 tron (svn r1508) Remove duplicate declarations and include proper headers where necessary
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Tue, 04 Jan 2005 17:11:03 +0000 darkvater (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky.
Wed, 29 Dec 2004 13:13:29 +0000 miham (svn r1297) Language fixes in the source.. (ln-)
Tue, 28 Dec 2004 11:51:31 +0000 truelight (svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Sun, 05 Dec 2004 12:43:04 +0000 tron (svn r955) Replace uint16 for orders with struct Order