(svn r18813) -Codechange: deduplicate copying a newgrf config

This commit is contained in:
yexo
2010-01-15 18:28:30 +00:00
parent aaf0b4b46c
commit bd102b78ee
3 changed files with 29 additions and 23 deletions

View File

@@ -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);