Age | Commit message (Collapse) | Author |
|
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...
|
|
except where it's used for backward compatability.
|
|
they're not allowed to sleep.
|
|
single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
|
|
|
|
|
|
AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
|
|
|
|
non-NULL again.
|
|
in which town the noise level will increase.
|
|
AIVehicleList_SharedOrders.
|
|
layout per town.
|
|
std::map
|
|
|
|
instead of mph. (Documentation by Rubidium)
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|
|
|
|
st->town
|
|
false.
|
|
|