summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-28 20:28:08 +0000
committeryexo <yexo@openttd.org>2010-02-28 20:28:08 +0000
commit404df87b1f2e0c6ae8d71dd0ea83b55294f53af3 (patch)
tree868c12ba0cf41427a4c00eff31601f6e45398be4 /src/newgrf_config.h
parent333249ce501085405afabac8eb61a2c3ed599c0f (diff)
downloadopenttd-404df87b1f2e0c6ae8d71dd0ea83b55294f53af3.tar.xz
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 9683340dd..0d97f0e44 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -89,6 +89,9 @@ struct GRFConfig : ZeroedMemoryAllocator {
struct GRFConfig *next; ///< NOSAVE: Next item in the linked list
bool IsOpenTTDBaseGRF() const;
+
+ const char *GetName() const;
+ const char *GetDescription() const;
};
extern GRFConfig *_all_grfs; ///< First item in list of all scanned NewGRFs