Commit Graph

24 Commits (0a9c44d1a2b3b5de76595dfc74938fca34b3448a)

Author SHA1 Message Date
SamuXarick 3dda8c9bad Fix: ScriptRoad::HasRoadType really check for RoadType
Script::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided.
Now it really checks RoadType against RoadType.
2 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
Peter Nelson 5a5944867d Add: Add parent_group_id parameter to CreateGroup() 5 years ago
SamuXarick 1e5a6765d9 Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type (#6988) 5 years ago
frosch 6baa58a7d8 (svn r26407) -Fix: __ln__ never read the script compatibility files. 10 years ago
rubidium e6a828def1 (svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrder 12 years ago
truebrain 13c3993e86 (svn r23397) -Change: remove the AI_ prefix from all AIEvent enums 13 years ago
truebrain 229e572663 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
yexo 0dc20c7d5f (svn r22584) -Add: [NoAI] several functions to AICompany to find out performance information (Morloth) 13 years ago
smatz 3057a26fd5 (svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year 13 years ago
yexo 63857f8487 (svn r20913) -Fix (r19231): [NoAI] give the correct error message if you try to overbuild an opponont road station with your own while using the 0.7 or 1.0 compatibility layer (fanioz) 14 years ago
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. 14 years ago
terkhen a4a66ec1aa (svn r19231) -Feature: Allow overbuilding of road stops. 14 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