Commit Graph

13 Commits (83831b5b9d22ab003e7bda0ff2c14de610579be1)

Author SHA1 Message Date
yexo b42513a287 (svn r20564) -Fix (r20562): provide compatibility for AIs using the 0.7/1.0 API and using AIList::ChangeItem 14 years ago
yexo dc303e550b (svn r20563) -Change: [NoAI] rename AIAbstractList to AIList 14 years ago
yexo 178f74c31c (svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type 14 years ago
frosch 333249ce50 (svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead. 15 years ago
terkhen a4a66ec1aa (svn r19231) -Feature: Allow overbuilding of road stops. 15 years ago
frosch 1ed599f5cf (svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
15 years ago
yexo fe67e85700 (svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
15 years ago
yexo 65642c5878 (svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a duplicate or AIOrder.SkipToOrder 15 years ago
rubidium dcd6b2096d (svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two. 15 years ago
rubidium f40885ec50 (svn r17469) -Change: make the AI compatability wrapper not whine about deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7. 15 years ago
smatz 072ce4bb17 (svn r17293) -Fix [NoAI]: AITown::GetLastMonthTransported didn't work as documented at all, make it return what AITown::GetLastMonthProduction did
-Change [NoAI]: mark AITown::GetMaxProduction as deprecated, AITown::GetLastMonthProduction returns now the value GetMaxProduction did
15 years ago
yexo c585e9bcd8 (svn r17289) -Fix (r17214): for AIs it's STATION_INVALID, not INVALID_STATION 15 years ago
yexo 67106dc063 (svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. 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.
15 years ago