summaryrefslogtreecommitdiff
path: root/src/newgrf_class.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-22 16:27:49 +0000
committerfrosch <frosch@openttd.org>2012-04-22 16:27:49 +0000
commit73d926c8d4b7cb327cb1d3484dbecd8303268172 (patch)
tree8651505c13e64b06a53aec6845140b16e0c7cb75 /src/newgrf_class.h
parent27ffb033838e1dc9fede9154181be572e826a1e6 (diff)
downloadopenttd-73d926c8d4b7cb327cb1d3484dbecd8303268172.tar.xz
(svn r24161) -Add: Method to get a specific NewGRFClass.
Diffstat (limited to 'src/newgrf_class.h')
-rw-r--r--src/newgrf_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_class.h b/src/newgrf_class.h
index efbff9746..81ea4f879 100644
--- a/src/newgrf_class.h
+++ b/src/newgrf_class.h
@@ -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();