Age | Commit message (Collapse) | Author |
|
newgrf-version of OpenTTD
|
|
of an airport
|
|
functions again
|
|
documentation says it does
|
|
parameters from the api code, causing crashes later
|
|
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'.
|
|
|
|
ERR_AREA_ALREADY_FLAT and ERR_ESCAVATION_WOULD_DAMAGE.
|
|
|
|
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.
|
|
|
|
half the AI api in non-noai related code.
|
|
that's the value the AIs got (due to casting).
Clarify some api documentation.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
strings
|
|
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).
|