Age | Commit message (Collapse) | Author |
|
before the details string.
Gentlemen, swap your string parameters.
|
|
|
|
code from the global scope
|
|
'global' scope
|
|
a specific depot
|
|
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
|
|
|
|
|
|
DoCommand during Save() instead of failing to save
|
|
as they should
|
|
incorrectly but crash the AI instead
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
|
|
|
|
relatives
|
|
AIs can subclass API classes and use API constants as part of their own constants
|
|
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
|
|
can't crash OpenTTD
|
|
|
|
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
|
|
|
|
initialize or load
|
|
valid signs. This makes AISign::GetMaxSignID obsolete.
|
|
PoolItem::IsValidID(index)
|
|
|
|
game with no AIs available.
|
|
|
|
info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
|
|
crash for the dummy AI.
|
|
AIs crashed and show a message that the user should report the crash.
|
|
|
|
AIVehicleList_DefaultGroup(vehicle_type).
|
|
calls typechecking as stated in squirrel docs
|
|
squirrel.
|
|
AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
|
|
available in-game.
|
|
value so AIs can't work around it.
|
|
AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
|
|
|
|
references (by enabling the GC).
|
|
Load(version, data).
|
|
constructor and Load() function while the savegame was not completely loaded.
|
|
|
|
squirrel stack twice.
|
|
|
|
|
|
|
|
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
|
|
|
|
required, as with AIs
-Add [NoAI]: allow multiple versions of the same AI co-exist
-Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent
-Change [NoAI]: the name of the AI is now the name used by CreateInstance()
-Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
|