diff options
author | yexo <yexo@openttd.org> | 2011-12-11 12:55:04 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-12-11 12:55:04 +0000 |
commit | 7a7d9a7b6bec20c94ae3f190e52beacac5007fce (patch) | |
tree | 78fabeda4ef0349db557ab7e484a7f01ad83cbad /src/newgrf_config.h | |
parent | f3b78bf076724b10d5e70fdac7babca228447b78 (diff) | |
download | openttd-7a7d9a7b6bec20c94ae3f190e52beacac5007fce.tar.xz |
(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an url
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 4e2057fca..c08ae1c63 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -169,6 +169,7 @@ struct GRFConfig : ZeroedMemoryAllocator { char *filename; ///< Filename - either with or without full path GRFTextWrapper *name; ///< NOSAVE: GRF name (Action 0x08) GRFTextWrapper *info; ///< NOSAVE: GRF info (author, copyright, ...) (Action 0x08) + GRFTextWrapper *url; ///< NOSAVE: URL belonging to this GRF. 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 @@ -190,6 +191,7 @@ struct GRFConfig : ZeroedMemoryAllocator { const char *GetTextfile(TextfileType type) const; const char *GetName() const; const char *GetDescription() const; + const char *GetURL() const; void SetParameterDefaults(); void SetSuitablePalette(); |