summaryrefslogtreecommitdiff
path: root/src/newgrf.h
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-04-14 17:41:45 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-08 12:39:34 +0200
commit10e35ca8e4249a7f443b5c89dd9a59df83052d0d (patch)
tree218a1df403e8aa3630a7038c46bd626c9a552d92 /src/newgrf.h
parentfdc11a9f943bcbd674b8b69a2bb0895414928028 (diff)
downloadopenttd-10e35ca8e4249a7f443b5c89dd9a59df83052d0d.tar.xz
Codechange: let NewGRF make use of SpriteFile instead of most of the FIO slot functions
Diffstat (limited to 'src/newgrf.h')
-rw-r--r--src/newgrf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.h b/src/newgrf.h
index 477bfa892..eb6c22d47 100644
--- a/src/newgrf.h
+++ b/src/newgrf.h
@@ -192,8 +192,8 @@ static inline bool HasGrfMiscBit(GrfMiscBit bit)
/* Indicates which are the newgrf features currently loaded ingame */
extern GRFLoadedFeatures _loaded_newgrf_features;
-void LoadNewGRFFile(struct GRFConfig *config, uint file_index, GrfLoadingStage stage, Subdirectory subdir);
-void LoadNewGRF(uint load_index, uint file_index, uint num_baseset);
+void LoadNewGRFFile(struct GRFConfig *config, GrfLoadingStage stage, Subdirectory subdir, bool temporary);
+void LoadNewGRF(uint load_index, uint num_baseset);
void ReloadNewGRFData(); // in saveload/afterload.cpp
void ResetNewGRFData();
void ResetPersistentNewGRFData();