diff options
Diffstat (limited to 'newgrf_config.h')
-rw-r--r-- | newgrf_config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/newgrf_config.h b/newgrf_config.h index 45d0e270d..cb490ebad 100644 --- a/newgrf_config.h +++ b/newgrf_config.h @@ -8,6 +8,9 @@ enum { GCF_DISABLED, GCF_NOT_FOUND, GCF_ACTIVATED, + GCF_SYSTEM, + GCF_UNSAFE, + GCF_STATIC, }; typedef struct GRFConfig { @@ -33,13 +36,17 @@ extern GRFConfig *_grfconfig; /* First item in list of default GRF set up */ extern GRFConfig *_grfconfig_newgame; +/* First item in list of static GRF set up */ +extern GRFConfig *_grfconfig_static; + void ScanNewGRFFiles(void); const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum); const GRFConfig *GetGRFConfig(uint32 grfid); +void ClearGRFConfig(GRFConfig *config); void ClearGRFConfigList(GRFConfig *config); void ResetGRFConfig(bool defaults); bool IsGoodGRFConfigList(void); -bool FillGRFDetails(GRFConfig *config); +bool FillGRFDetails(GRFConfig *config, bool is_static); char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last); /* In newgrf_gui.c */ |