Add: [Script] Function to get all rail types of an rail engine.

This commit is contained in:
Michael Lutz
2025-06-13 21:20:29 +02:00
committed by dP
parent 8639f79934
commit e211ab56ef
7 changed files with 40 additions and 4 deletions

View File

@@ -49,6 +49,14 @@ public:
RAILTYPE_INVALID = ::INVALID_RAILTYPE, ///< Invalid RailType.
};
/**
* A bitmap with all possible rail types.
*/
enum RailTypes : int64_t {
/* Note: these values represent part of the in-game RailTypes enum */
INVALID_RAILTYPES = INT64_MAX, ///< Invalid RailTypes.
};
/**
* A bitmap with all possible rail tracks on a tile.
*/