From 404df87b1f2e0c6ae8d71dd0ea83b55294f53af3 Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 28 Feb 2010 20:28:08 +0000 Subject: (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info --- src/newgrf_config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/newgrf_config.h') 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 -- cgit v1.2.3-54-g00ecf