(svn r24161) -Add: Method to get a specific NewGRFClass.

This commit is contained in:
frosch
2012-04-22 16:27:49 +00:00
parent 27ffb03383
commit 73d926c8d4
2 changed files with 14 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ struct NewGRFClass {
static Tid Allocate(uint32 global_id);
static void SetName(Tid cls_id, StringID name);
static void Assign(Tspec *spec);
static NewGRFClass *Get(Tid cls_id);
static StringID GetName(Tid cls_id);
static uint GetCount();