Age | Commit message (Collapse) | Author |
|
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
|
|
code style.
|
|
for all vehicle types
|
|
information
|
|
with calls to CmdChangeCompanySetting
|
|
unnecessarily add it.
|
|
|
|
valid signs. This makes AISign::GetMaxSignID obsolete.
|
|
|
|
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
|
|
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
|
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
introduce shiny new IsPlainRailTile()
|
|
with < .. - 1 (both caused due to wrapper functions)
|
|
PoolItem::IsValidID(index)
|
|
|
|
CompanySettings struct
|
|
and _SIGNALS.
|
|
objects.
|
|
wrt. modifiing multiple corners at once.
|
|
that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
|
|
|
|
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.
|