diff options
author | Darkvater <Darkvater@openttd.org> | 2007-02-18 22:37:33 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2007-02-18 22:37:33 +0000 |
commit | 33667effcc80e1bcb484afe03582cefc852e2d26 (patch) | |
tree | ca35c1232210af03e01d5af5ef3885f5f501e743 /src/newgrf_config.h | |
parent | 50dbea69d6f5e1a5006a695a039e8995f2de5b04 (diff) | |
download | openttd-33667effcc80e1bcb484afe03582cefc852e2d26.tar.xz |
(svn r8806) -Codechange (r7582): Remove a duplicate append of static GRF's when loading the game and hide the intrinsics of adding elements to the GRFConfig list by using an AppendToGRFConfigList function.
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 38c1e4a46..97104d934 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -49,6 +49,7 @@ const GRFConfig *FindGRFConfig(uint32 grfid, const uint8 *md5sum = NULL); GRFConfig *GetGRFConfig(uint32 grfid); GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src); void AppendStaticGRFConfigs(GRFConfig **dst); +void AppendToGRFConfigList(GRFConfig **dst, const GRFConfig *el); void ClearGRFConfig(GRFConfig **config); void ClearGRFConfigList(GRFConfig **config); void ResetGRFConfig(bool defaults); |