summaryrefslogtreecommitdiff
path: root/src/newgrf_class.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-22 16:27:55 +0000
committerfrosch <frosch@openttd.org>2012-04-22 16:27:55 +0000
commit6f4d2160c25c75ed0d09657bfb0f85fdac65bfcd (patch)
tree0002c621456141b330133f45a959fe4c6b28ac7c /src/newgrf_class.h
parent73d926c8d4b7cb327cb1d3484dbecd8303268172 (diff)
downloadopenttd-6f4d2160c25c75ed0d09657bfb0f85fdac65bfcd.tar.xz
(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
Diffstat (limited to 'src/newgrf_class.h')
-rw-r--r--src/newgrf_class.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/newgrf_class.h b/src/newgrf_class.h
index 81ea4f879..95c589d17 100644
--- a/src/newgrf_class.h
+++ b/src/newgrf_class.h
@@ -32,11 +32,9 @@ struct NewGRFClass {
static void InsertDefaults();
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();
static uint GetCount(Tid cls_id);
static const Tspec *Get(Tid cls_id, uint index);