(svn r15488) -Change [API CHANGE]: Add support for distant-join stations.

This commit is contained in:
yexo
2009-02-14 21:15:23 +00:00
parent a79524c805
commit 8583274f18
15 changed files with 79 additions and 46 deletions

View File

@@ -49,6 +49,12 @@ public:
STATION_ANY = 0x1F, //!< All station types
};
enum SpecialStationIDs {
STATION_NEW = 0xFFFD, //!< Build a new station
STATION_JOIN_ADJACENT = 0xFFFE, //!< Join an neighbouring station if one exists
STATION_INVALID = 0xFFFF, //!< Invalid station id.
};
/**
* Checks whether the given station is valid and owned by you.
* @param station_id The station to check.