Add NewGRFClass helper method for whether any UI classes available

This commit is contained in:
Jonathan G Rennison
2023-01-03 03:31:09 +00:00
parent 5e76e6fb07
commit 417416d19b
4 changed files with 16 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ public:
static void Assign(Tspec *spec);
static uint GetClassCount();
static uint GetUIClassCount();
static bool HasUIClass();
static Tid GetUIClass(uint index);
static NewGRFClass *Get(Tid cls_id);