diff options
Diffstat (limited to 'src/newgrf.h')
-rw-r--r-- | src/newgrf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf.h b/src/newgrf.h index b139f4846..faf489b74 100644 --- a/src/newgrf.h +++ b/src/newgrf.h @@ -14,6 +14,7 @@ #include "cargotype.h" #include "rail_type.h" +#include "fileio_type.h" enum GrfLoadingStage { GLS_FILESCAN, @@ -139,7 +140,7 @@ struct GRFLoadedFeatures { /* Indicates which are the newgrf features currently loaded ingame */ extern GRFLoadedFeatures _loaded_newgrf_features; -void LoadNewGRFFile(struct GRFConfig *config, uint file_index, GrfLoadingStage stage); +void LoadNewGRFFile(struct GRFConfig *config, uint file_index, GrfLoadingStage stage, Subdirectory subdir); void LoadNewGRF(uint load_index, uint file_index); void ReloadNewGRFData(); // in saveload/afterload.cpp void ResetNewGRFData(); |