Age | Commit message (Collapse) | Author |
|
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.
|
|
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'.
|
|
game with no AIs available.
|
|
|
|
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.
|
|
they are part of strings and add some colours to a few strings.
|
|
DrawString.
|
|
|
|
half the AI api in non-noai related code.
|