Age | Commit message (Collapse) | Author |
|
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.
|
|
debug window
|
|
orders to 'stop at far end'.
|
|
doxygen output some documentation for it.
|
|
HasDock(). Just like AIIndustry.
|
|
complaining.
|
|
that are already build.
|
|
certain cargo needs a bus- or a truckstop.
|
|
truckstops, and meaning of AICargo::IsFreight() wrt. freight train weight multiplier.
|
|
|
|
use it everywhere, so CB 36 is also used everywhere.
|
|
to their own file.
|
|
|
|
carries only cargo.
|
|
|
|
readable and fix a crash if no parameters are given to that function.
|
|
AIOrder::SetOrderFlags().
|
|
AIVehicleList_DefaultGroup(vehicle_type).
|
|
functions better.
|
|
|
|
|
|
which cannot accept CT_INVALID.
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
Note: It is intentional that you cannot control refittability by CB 36.
|
|
calls typechecking as stated in squirrel docs
|
|
|
|
|
|
AIEngine::GetMaxTractiveEffort.
|
|
update some documentation since a few enums have been renamed.
|
|
AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
|
|
BuildRoadStation and BuildDriveThroughRoadStation.
|
|
and MoveWagonChain (frosch).
|
|
front tile instead of a bool is_vertical (frosch).
|
|
AIBridge::IsValidBridge now only returns true for available bridges.
|
|
AIAirport::IsValidAirportType now only returns true for available AirportTypes.
|
|
|
|
AIEventVehicleCrashed::CloneCrashedVehicle.
|
|
|
|
GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation.
|
|
SetCompanyName. They've been replaced with GetName and SetName.
|
|
AIIndustry::GetLastMonthProduction instead.
|
|
|
|
call.
|
|
|
|
AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
|
|
for static functions and limit exposure of the internal function GetClassName.
|
|
where the result should be stored.
|
|
value so AIs can't work around it.
|
|
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
|