Age | Commit message (Collapse) | Author |
|
as no real order influencing path finding is added
|
|
|
|
AIOF_GOTO_NEAREST_DEPOT flag for existing orders triggered an assert. Explicitly forbid this as precondition for SetOrderFlags
|
|
and cur_real_order_index to keep track of the current real order in an unambiguous way.
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
|
|
of dealing with them
|
|
|
|
from some AI headers, reducing the include tree
|
|
|
|
increase the vehicle pool limit
|
|
Order)" orders.
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
|
|
|
|
at least one hangar
|
|
seperate class
|
|
|
|
location of trains in a rail station
|
|
|
|
non-waypoint tile when the waypoint was a multitile waypoint
|
|
station
|
|
non-statemachine-related variables to there
|
|
destination of a 'nearest depot' order
|
|
depot orders
|
|
AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
|
|
|
|
with GetDepotIndex(tile)
|
|
|
|
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
|
|
trainst_h.
|
|
waypoint_func.h
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
|
|
|
|
|
|
|
|
code style.
|
|
|
|
|
|
AIs can give for goto-depot orders
|
|
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part.
-Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
|
|
the what kind of order an order is.
-Fix: AIOrder::GetOrderDestination and AIOrder::GetOrderFlags didn't work on ORDER_CURRENT when the vehicle was loading/leaving in a station.
|
|
tile belonging to the station
|
|
let it be a normal goto-station order.
Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location).
|
|
allow stop-in-depot orders
|
|
needed" from goto-depot orders.
|
|
orders to 'stop at far end'.
|
|
|
|
AIOrder::SetOrderFlags().
|
|
|
|
|