Age | Commit message (Collapse) | Author |
|
CargoArray instead of a pointer to a static array.
|
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|
|
|
|
longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
|
|
|
|
|
|
|
|
|
|
of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
|
|
|
|
|
|
true for bridge head<>neighbouring water tile
|
|
|
|
true for bridge head<>neighbouring water tile
|
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
in the AIDebug window
|
|
|
|
by the API.
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
possible to hit an assert in OpenTTD.
|
|
was stopped an a human company took it's CompanyID
|
|
documentation says it does (r16244 for AIBridge)
|
|
about the appropriate things.
|
|
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
|
|
initialize or load
|
|
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)
|
|
PoolItem::GetPoolSize()
|
|
|
|
CompanySettings struct
|
|
and _SIGNALS.
|