summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-11 12:55:04 +0000
committeryexo <yexo@openttd.org>2011-12-11 12:55:04 +0000
commit7a7d9a7b6bec20c94ae3f190e52beacac5007fce (patch)
tree78fabeda4ef0349db557ab7e484a7f01ad83cbad /src/newgrf_config.h
parentf3b78bf076724b10d5e70fdac7babca228447b78 (diff)
downloadopenttd-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.h2
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();