Age | Commit message (Collapse) | Author |
|
When an AI returns false, it'll never be chosen as random AI.
|
|
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.
|
|
itself unconditionally on repaint. OTOH it was not invalidated in other cases when needed.
|
|
info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
|
|
debug window
|
|
orders to 'stop at far end'.
|
|
|
|
doxygen output some documentation for it.
|
|
HasDock(). Just like AIIndustry.
|
|
callback
|
|
complaining.
|
|
that are already build.
|
|
certain cargo needs a bus- or a truckstop.
|
|
truckstops, and meaning of AICargo::IsFreight() wrt. freight train weight multiplier.
|
|
|
|
and ai debug output don't get swapped (those are untranslateable anyways)
|
|
much as possible.
|
|
was kinda empty.
|
|
drawing functions instead of only the left.
|
|
new one.
|
|
|
|
API.
|
|
|
|
crash for the dummy AI.
|
|
use it everywhere, so CB 36 is also used everywhere.
|
|
to their own file.
|
|
anymore.
|
|
classes ScriptScanner/ScriptFileInfo.
|
|
expanding them much easier (Alberth)
|
|
when there's no AI and they want to play with an AI
|
|
sources too
|
|
ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected.
|
|
|
|
AIs crashed and show a message that the user should report the crash.
|
|
carries only cargo.
|
|
|
|
|
|
readable and fix a crash if no parameters are given to that function.
|
|
project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!)
|
|
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.
|