(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.
This commit is contained in:
@@ -23,7 +23,6 @@ public:
|
||||
STATION_NEW = 0xFFFD, //!< Build a new station
|
||||
STATION_JOIN_ADJACENT = 0xFFFE, //!< Join an neighbouring station if one exists
|
||||
STATION_INVALID = 0xFFFF, //!< Invalid station id.
|
||||
WAYPOINT_INVALID = 0xFFFF, //!< @deprecated Use STATION_INVALID instead.
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user