diff options
author | rubidium <rubidium@openttd.org> | 2011-08-24 13:48:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-24 13:48:29 +0000 |
commit | 8e5f433b22a36b2210c4e7386b476382afad7dd6 (patch) | |
tree | 48e4c91ab9da85aa4defd8aceab7a639b6d6bcb4 /src/newgrf.h | |
parent | 2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c (diff) | |
download | openttd-8e5f433b22a36b2210c4e7386b476382afad7dd6.tar.xz |
(svn r22826) -Codechange: pass sub directory to NewGRF loading functions
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(); |