Age | Commit message (Collapse) | Author |
|
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
|
|
some headers
|
|
|
|
|
|
AI code
|
|
|
|
consisted of unrelated values use static const (u)int
|
|
|
|
where you can input a break string (patch by Zuu)
|
|
|
|
|
|
if a header require a header make it include that header
|
|
|
|
AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
|
|
structs having different definition in different object files
|
|
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.
|