roadveh_cmd.c
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Sat, 22 Apr 2006 13:56:16 +0000 Darkvater (svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
Fri, 21 Apr 2006 20:10:53 +0000 celestar (svn r4507) Just a comment
Fri, 21 Apr 2006 20:08:25 +0000 celestar (svn r4506) -Fix: (FS#95) Use the tile hash when pathfinding to a depot. Eats a tiny bit of performance, but the likelihood that the depot is found is greatly increased
Sat, 15 Apr 2006 20:07:42 +0000 Darkvater (svn r4435) - Fix: an assertion triggered when trying to remove a bridge with the remove-tool (r4348 surfaced this). In CmdRemoveRoad tiletype was not checked for ownership. Intorudce IsLevelCrossingTile() which checks if a tile is a crossing without knowing the type. Suggested by peter1138 and Tron.
Tue, 11 Apr 2006 15:18:22 +0000 belugas (svn r4359) MSV6 Release mode now compiles (problem of UINT_MAX. stdafx.h should be the first include). Thanks to KUDr for solution and testing
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Sat, 08 Apr 2006 14:18:39 +0000 tron (svn r4326) Only reduce the slot age of a vehicle if it has a slot assigned
Mon, 03 Apr 2006 14:25:32 +0000 celestar (svn r4259) -[multistop] Fix/Feature/Codechange:
Mon, 03 Apr 2006 05:32:11 +0000 celestar (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Fri, 31 Mar 2006 19:10:54 +0000 celestar (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
Sun, 26 Mar 2006 19:20:15 +0000 tron (svn r4120) Use the new station functions where appropriate
Fri, 24 Mar 2006 08:55:08 +0000 tron (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
Thu, 16 Mar 2006 16:47:39 +0000 celestar (svn r3909) [multistop]
Sun, 12 Mar 2006 17:42:04 +0000 tron (svn r3832) Replace some magic numbers by (Diag)Direction enums
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
Wed, 08 Mar 2006 20:25:28 +0000 tron (svn r3798) Fix typo in r3795
Wed, 08 Mar 2006 19:47:18 +0000 tron (svn r3796) When unmagicfying code, do it Right(tm) and also give the variables sensible names. I flipped a 'b' and a 'd' in r3785
Wed, 08 Mar 2006 15:29:23 +0000 tron (svn r3795) Add a function to request the orientation of a depot
Wed, 08 Mar 2006 08:28:48 +0000 tron (svn r3787) Use DirToDiagDir() instead of >> 1
Wed, 08 Mar 2006 08:16:31 +0000 tron (svn r3786) More work for DirDiff
Wed, 08 Mar 2006 07:50:26 +0000 tron (svn r3785) Replace some if-magic to determine the turning direction for road vehicles with the new DirDiff stuff
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
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
Sat, 04 Mar 2006 11:15:44 +0000 tron (svn r3758) Remove the news validation callback. It is superseded by r3757.
Sat, 04 Mar 2006 11:01:35 +0000 tron (svn r3757) -Feature: Delete news items about vehicles, when they get stale
Fri, 03 Mar 2006 22:21:29 +0000 tron (svn r3754) Miscellaneous changes: indentation, reduce variable scope, constness, avoid some more function pointer casts
Fri, 03 Mar 2006 21:29:13 +0000 tron (svn r3752) FYOS avoid to cast function pointers
Fri, 03 Mar 2006 21:18:19 +0000 tron (svn r3751) -Fix: Correctly implement minimum search, so road vehicles head twoards the closest station, not the last one in the list
Fri, 03 Mar 2006 20:54:54 +0000 tron (svn r3750) Use INVALID_STATION instead of -1 in NPF
Thu, 02 Mar 2006 08:55:12 +0000 celestar (svn r3730) Multistop modifications:
Mon, 27 Feb 2006 19:43:19 +0000 peter1138 (svn r3681) - [Multistop] Check the RoadStop type before check its status. This fixes an assert introduced in r3663. Also fix the return type of GetRoadStopType().
Fri, 24 Feb 2006 17:52:07 +0000 peter1138 (svn r3663) - Fix: [Multistop] Check the status of the destination road stop instead of a station's first road stop. This only has effect with road vehicle queuing disabled.
Thu, 23 Feb 2006 08:20:28 +0000 tron (svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
Tue, 21 Feb 2006 06:43:53 +0000 tron (svn r3643) Remove a local variable which is just a pointer to a road stop status field and had the sensible name 'b'; instead directly use the road stop status field
Sat, 18 Feb 2006 14:41:24 +0000 tron (svn r3613) Some more const, indentation, whitespace and similar stuff
Sat, 18 Feb 2006 14:11:23 +0000 peter1138 (svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT.
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
Sat, 11 Feb 2006 10:45:20 +0000 peter1138 (svn r3589) - Rename u.road.unk2 to u.road.blocked_ctr
Fri, 10 Feb 2006 06:03:51 +0000 tron (svn r3584) Replace the rather obscure control flow for handling road vehicle orders by something remotly comprehensible
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Fri, 03 Feb 2006 12:55:21 +0000 peter1138 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files.
Wed, 01 Feb 2006 09:11:31 +0000 peter1138 (svn r3513) Fix strange typo in last commit ...
Wed, 01 Feb 2006 09:08:25 +0000 peter1138 (svn r3512) Yet more whitespace fixes (mostly by Rubidium)
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 16:58:05 +0000 tron (svn r3489) Remove an unused declaration
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)
Wed, 18 Jan 2006 14:12:26 +0000 bjarni (svn r3402) -Fix: [building/cloning] added a string telling if build failed due to not being able to build a vehicle. Triggered when cloning a retired design
Fri, 06 Jan 2006 17:25:39 +0000 truelight (svn r3371) -Fix: don't allow road-vehicles to perform an out-of-bound operation while overtaking in a curve (tnx to guru3, Tron and peter1138)
Thu, 05 Jan 2006 21:35:54 +0000 tron (svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Fri, 30 Dec 2005 22:09:01 +0000 tron (svn r3358) Remove another piece of unused code
Wed, 28 Dec 2005 22:29:59 +0000 peter1138 (svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
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_
Wed, 14 Dec 2005 06:28:48 +0000 tron (svn r3298) Remove unused and write-only variables
Wed, 23 Nov 2005 15:08:29 +0000 truelight (svn r3232) -Add: implemented the event-system for AIs
Thu, 17 Nov 2005 10:12:21 +0000 peter1138 (svn r3213) - Codechange: Clean up handling of road stops, avoiding unnecessary use of pointers and using the *BIT() macros.