summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-25 20:05:31 +0000
committeryexo <yexo@openttd.org>2010-02-25 20:05:31 +0000
commita9c8dbc0a0e1f1fc4434cf0c83ff658ab8d9e3d9 (patch)
treebe44c4af53164b9307d95a0021c276ec2b57f41c /src/newgrf_config.h
parent4377b5fd44f5267f89f565e46cdb3646cf322a93 (diff)
downloadopenttd-a9c8dbc0a0e1f1fc4434cf0c83ff658ab8d9e3d9.tar.xz
(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index fe3eab37e..ec587cc1e 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -69,7 +69,8 @@ struct GRFError : ZeroedMemoryAllocator {
};
/** Information about GRF, used in the game and (part of it) in savegames */
-struct GRFConfig : public GRFIdentifier {
+struct GRFConfig {
+ GRFIdentifier ident; ///< grfid and md5sum to uniquely identify newgrfs
char *filename; ///< Filename - either with or without full path
char *name; ///< NOSAVE: GRF name (Action 0x08)
char *info; ///< NOSAVE: GRF info (author, copyright, ...) (Action 0x08)