(svn r18404) -Codechange: link drive through stops better together
-Feature: make penalty for road stop occupancy user configurable -Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty -Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it -Change: improve the throughput of the drive through road stops by letting them stop closer together
This commit is contained in:
@@ -39,7 +39,6 @@ enum RoadVehicleStates {
|
||||
|
||||
/* Bit numbers */
|
||||
RVS_USING_SECOND_BAY = 1, ///< Only used while in a road stop
|
||||
RVS_IS_STOPPING = 2, ///< Only used for drive-through stops. Vehicle will stop here
|
||||
RVS_DRIVE_SIDE = 4, ///< Only used when retrieving move data
|
||||
RVS_IN_ROAD_STOP = 5, ///< The vehicle is in a road stop
|
||||
RVS_IN_DT_ROAD_STOP = 6, ///< The vehicle is in a drive-through road stop
|
||||
@@ -70,7 +69,7 @@ enum {
|
||||
RVC_START_FRAME_AFTER_LONG_TRAM = 21,
|
||||
RVC_TURN_AROUND_START_FRAME_SHORT_TRAM = 16,
|
||||
/* Stop frame for a vehicle in a drive-through stop */
|
||||
RVC_DRIVE_THROUGH_STOP_FRAME = 7,
|
||||
RVC_DRIVE_THROUGH_STOP_FRAME = 11,
|
||||
RVC_DEPOT_STOP_FRAME = 11,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user