diff options
author | yexo <yexo@openttd.org> | 2010-01-15 18:28:30 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-15 18:28:30 +0000 |
commit | bd102b78eef2c7d72f83af1ed214ba1afe3cea17 (patch) | |
tree | fc681bed82c6d98ba05276a938933f559ab44091 /src/newgrf_config.h | |
parent | aaf0b4b46ca2745bb12dad5c228c23446c3203ec (diff) | |
download | openttd-bd102b78eef2c7d72f83af1ed214ba1afe3cea17.tar.xz |
(svn r18813) -Codechange: deduplicate copying a newgrf config
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index 044ff3431..74e2d54ab 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -100,6 +100,7 @@ void ResetGRFConfig(bool defaults); GRFListCompatibility IsGoodGRFConfigList(); bool FillGRFDetails(GRFConfig *config, bool is_static); char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); +GRFConfig *DuplicateGRFConfig(const GRFConfig *c); /* In newgrf_gui.cpp */ void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config); |