roadveh_cmd.c
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.
Wed, 16 Nov 2005 12:52:01 +0000 tron (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Tue, 08 Nov 2005 23:18:09 +0000 bjarni (svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
Mon, 31 Oct 2005 12:59:47 +0000 bjarni (svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
Sat, 29 Oct 2005 21:54:28 +0000 bjarni (svn r3101) -Codechange: added _new_vehicle_id
Mon, 24 Oct 2005 19:40:48 +0000 bjarni (svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace
Sun, 23 Oct 2005 14:38:09 +0000 tron (svn r3079) Determine the type of the "first arrival" message for road vehicles using the cargo type and not a magic engine number
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Sat, 01 Oct 2005 12:43:34 +0000 tron (svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Mon, 26 Sep 2005 19:01:49 +0000 peter1138 (svn r2990) Remove _engine_original_sprites and replace all uses with references to our (new) original engine/vehicle tables.