Age | Commit message (Collapse) | Author |
|
parameter allow every squirrel type and convert to a string
|
|
fixes) in the exporter
|
|
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.
|
|
as precondition for several AIRoad::* functions
|
|
actually building a station (API docs typo)
|
|
modifications of the valuated list which could cause it to go into an infinite loop.
|
|
|
|
not fit entirely.
|
|
|
|
|
|
AISubsidy::GetSourceType, AISubsidy::GetSourceIndex, AISubsidy::GetDestinationType, AISubsidy::GetDestinationIndex for better subsidy management
-Change [NoAI]: mark AISubsidy::SourceIsTown, AISubsidy::GetSource, AISubsidy::GetDestinationType, AISubsidy::GetDestination as deprecated
|
|
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
|
|
|
|
|
|
deprecated function is used
|
|
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
|
|
relatives
|
|
|
|
|
|
|
|
|
|
AIs can subclass API classes and use API constants as part of their own constants
|
|
changelog
|
|
|
|
|
|
|
|
|
|
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
Remove (nearly) all references to WaypointID and replace them with StationID
|
|
|
|
|
|
|
|
rectangle on the map
|
|
|
|
|
|
favour of their Station variants
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
|
|
trainst_h.
|
|
it's written.
|
|
is either a rail station or rail waypoint tile
|
|
|
|
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
|
|
|
|
|
waypoint_func.h
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
codes and group them logically
|