File diff r19260:216381f94394 → r19261:64cd03705a3e
src/newgrf_class.h
Show inline comments
 
@@ -27,12 +27,14 @@ private:
 
	 * The actual classes.
 
	 * @note We store pointers to membes of this array in various places outside this class (e.g. to 'name' for GRF string resolving).
 
	 *       Thus this must be a static array, and cannot be a self-resizing SmallVector or similar.
 
	 */
 
	static NewGRFClass<Tspec, Tid, Tmax> classes[Tmax];
 

	
 
	void ResetClass();
 

	
 
	/** Initialise the defaults. */
 
	static void InsertDefaults();
 

	
 
public:
 
	uint32 global_id; ///< Global ID for class, e.g. 'DFLT', 'WAYP', etc.
 
	StringID name;    ///< Name of this class.