Age | Commit message (Collapse) | Author |
|
no other AI is available instead of a non-existing file.
|
|
AIOrder::SetOrderFlags().
|
|
AIVehicleList_DefaultGroup(vehicle_type).
|
|
functions better.
|
|
|
|
of GetInstanceName() to make branching of AIs easier.
|
|
|
|
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.
|
|
changing the amount of towns/industries from the newgame gui.
|
|
calls typechecking as stated in squirrel docs
|
|
squirrel.
|
|
|
|
|
|
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.
|
|
|
|
AddSetting, AddLabels and RegisterAI.
|
|
available in-game.
|
|
an info.nut failed to compile.
|
|
definition of very simple getters to header file
|
|
and only during initialization.
|
|
AIInfo::CanLoadFromVersion(version) with AIInfo::MinVersionToLoad() which should return a single integer, the minimum version the AI is able to load data from.
|
|
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...
|
|
color and colour.
|
|
|
|
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.
|
|
didn't restore its original value
|
|
|
|
|
|
the values of the settings in info.nut
|