(svn r24165) -Codechange: Split parts of static NewGRFClass::Assign() into non-static Insert().

This commit is contained in:
frosch
2012-04-22 16:28:09 +00:00
parent 48c44a8d21
commit cb43494488
2 changed files with 16 additions and 6 deletions

View File

@@ -39,6 +39,8 @@ public:
uint32 global_id; ///< Global ID for class, e.g. 'DFLT', 'WAYP', etc.
StringID name; ///< Name of this class.
void Insert(Tspec *spec);
static void Reset();
static Tid Allocate(uint32 global_id);
static void Assign(Tspec *spec);