Codechange: let NewGRF make use of SpriteFile instead of most of the FIO slot functions

(cherry picked from commit 10e35ca8e4)
This commit is contained in:
Rubidium
2021-04-14 17:41:45 +02:00
committed by Jonathan G Rennison
parent 6bd12e24d7
commit eecf7c8525
4 changed files with 154 additions and 150 deletions

View File

@@ -312,8 +312,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();