summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
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();