diff options
author | yexo <yexo@openttd.org> | 2010-07-31 09:33:39 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-07-31 09:33:39 +0000 |
commit | d3c1be9abd2507fc5e77e5310e97bc1f31c28e65 (patch) | |
tree | bec0ca8eec0327145cc2b575795d9f154ac24404 /src/newgrf_config.h | |
parent | 1ca16aa979fab1d7a60fb40def0374433362d265 (diff) | |
download | openttd-d3c1be9abd2507fc5e77e5310e97bc1f31c28e65.tar.xz |
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 0a52f281c..58e29afec 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -87,12 +87,12 @@ struct GRFConfig : ZeroedMemoryAllocator { GRFConfig(const GRFConfig &config); ~GRFConfig(); - GRFIdentifier ident; ///< grfid and md5sum to uniquely identify newgrfs + GRFIdentifier ident; ///< grfid and md5sum to uniquely identify newgrfs uint8 original_md5sum[16]; ///< MD5 checksum of original file if only a 'compatible' file was loaded - 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) - GRFError *error; ///< NOSAVE: Error/Warning during GRF loading (Action 0x0B) + char *filename; ///< Filename - either with or without full path + struct GRFText *name; ///< NOSAVE: GRF name (Action 0x08) + struct GRFText *info; ///< NOSAVE: GRF info (author, copyright, ...) (Action 0x08) + GRFError *error; ///< NOSAVE: Error/Warning during GRF loading (Action 0x0B) uint8 flags; ///< NOSAVE: GCF_Flags, bitset GRFStatus status; ///< NOSAVE: GRFStatus, enum |