summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-05-24 19:13:34 +0000
committeralberth <alberth@openttd.org>2014-05-24 19:13:34 +0000
commit3c9d3f5ecd4c366369e033ba303dd52a2b32cc9c (patch)
tree1e14c1634471dddfc0f037ed98e6dff8074e8306 /src/newgrf_config.h
parentc1e7c32f070ff8f3aadb2373f543f58333740e70 (diff)
downloadopenttd-3c9d3f5ecd4c366369e033ba303dd52a2b32cc9c.tar.xz
(svn r26612) -Add: Method to copy newgrf parameters.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 906f9620d..e19d8d608 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -177,6 +177,8 @@ struct GRFConfig : ZeroedMemoryAllocator {
struct GRFConfig *next; ///< NOSAVE: Next item in the linked list
+ void CopyParams(const GRFConfig &src);
+
bool IsOpenTTDBaseGRF() const;
const char *GetTextfile(TextfileType type) const;