Sat, 05 Nov 2005 19:58:16 +0000(svn r3143) -Codechange: greatly increased speed when allocating vehicles
bjarni [Sat, 05 Nov 2005 19:58:16 +0000] rev 2606
(svn r3143) -Codechange: greatly increased speed when allocating vehicles
This increases the speed greatly when allocating more than one at a time
(planes, artic engines, cloning...) and when adding another block of
vehicles to the vehicle pool (adding 512 vehicles each time)

Sat, 05 Nov 2005 18:32:21 +0000(svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.
peter1138 [Sat, 05 Nov 2005 18:32:21 +0000] rev 2605
(svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.

Sat, 05 Nov 2005 18:21:28 +0000(svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()
peter1138 [Sat, 05 Nov 2005 18:21:28 +0000] rev 2604
(svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()

Sat, 05 Nov 2005 18:13:40 +0000(svn r3140) Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared.
peter1138 [Sat, 05 Nov 2005 18:13:40 +0000] rev 2603
(svn r3140) Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared.

Sat, 05 Nov 2005 16:07:26 +0000(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
peter1138 [Sat, 05 Nov 2005 16:07:26 +0000] rev 2602
(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.

Sat, 05 Nov 2005 14:01:00 +0000(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
bjarni [Sat, 05 Nov 2005 14:01:00 +0000] rev 2601
(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
Now it gives "too many vehicles" error message instead
To make this work, AllocateVehicles() needed to be moved to vehicle.c (from aircraft_cmd.c) and made non-static

Fri, 04 Nov 2005 22:10:49 +0000(svn r3137) -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled
bjarni [Fri, 04 Nov 2005 22:10:49 +0000] rev 2600
(svn r3137) -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled
this assert could be reached by clicking on the goto depot button to cancel goto depot from the orders and the vehicle
still entered the depot. The flags in that case would not be "normal" anymore. An additional check is added to prevent this

Fri, 04 Nov 2005 20:52:03 +0000(svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
bjarni [Fri, 04 Nov 2005 20:52:03 +0000] rev 2599
(svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
currently this applies to planes and multiheaded train engines (no more lost airmail)
added GetNextEnginePart() that returns the next vehicle in an engine nomatter what type it is
when more types of multivehicle engines are added, they will have to be added here too or autoreplace will not remove all cargo

Fri, 04 Nov 2005 16:12:48 +0000(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
tron [Fri, 04 Nov 2005 16:12:48 +0000] rev 2598
(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers

Fri, 04 Nov 2005 14:57:53 +0000(svn r3134) Forgot to commit one file in r3133
tron [Fri, 04 Nov 2005 14:57:53 +0000] rev 2597
(svn r3134) Forgot to commit one file in r3133