summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-17 12:13:35 +0000
committerfrosch <frosch@openttd.org>2010-10-17 12:13:35 +0000
commit8a0685494392e83ca967f133a2d55f8a4baed5c1 (patch)
treed8890687aa58a6e24c7e41c7af9b4b53fae771a2 /src/newgrf_config.h
parente805919fe9f8becadbc0e41dd018173a9c18a99f (diff)
downloadopenttd-8a0685494392e83ca967f133a2d55f8a4baed5c1.tar.xz
(svn r20959) -Codechange: Realign comments.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 7dfa06ac6..54d51e05e 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -135,26 +135,26 @@ struct GRFConfig : ZeroedMemoryAllocator {
GRFConfig(const GRFConfig &config);
~GRFConfig();
- 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
- 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)
-
- uint32 version; ///< NOSAVE: Version a NewGRF can set so only the newest NewGRF is shown
+ 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
+ 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)
+
+ uint32 version; ///< NOSAVE: Version a NewGRF can set so only the newest NewGRF is shown
uint32 min_loadable_version; ///< NOSAVE: Minimum compatible version a NewGRF can define
- uint8 flags; ///< NOSAVE: GCF_Flags, bitset
- GRFStatus status; ///< NOSAVE: GRFStatus, enum
- uint32 grf_bugs; ///< NOSAVE: bugs in this GRF in this run, @see enum GRFBugs
- uint32 param[0x80]; ///< GRF parameters
- uint8 num_params; ///< Number of used parameters
- uint8 num_valid_params; ///< NOSAVE: Number of valid parameters (action 0x14)
- uint8 palette; ///< GRFPalette, bitset
+ uint8 flags; ///< NOSAVE: GCF_Flags, bitset
+ GRFStatus status; ///< NOSAVE: GRFStatus, enum
+ uint32 grf_bugs; ///< NOSAVE: bugs in this GRF in this run, @see enum GRFBugs
+ uint32 param[0x80]; ///< GRF parameters
+ uint8 num_params; ///< Number of used parameters
+ uint8 num_valid_params; ///< NOSAVE: Number of valid parameters (action 0x14)
+ uint8 palette; ///< GRFPalette, bitset
SmallVector<GRFParameterInfo *, 4> param_info; ///< NOSAVE: extra information about the parameters
- bool has_param_defaults; ///< NOSAVE: did this newgrf specify any defaults for it's parameters
+ bool has_param_defaults; ///< NOSAVE: did this newgrf specify any defaults for it's parameters
- struct GRFConfig *next; ///< NOSAVE: Next item in the linked list
+ struct GRFConfig *next; ///< NOSAVE: Next item in the linked list
bool IsOpenTTDBaseGRF() const;