(svn r23887) -Feature: [NewGRF] Support for container version 2.

This commit is contained in:
michi_cc
2012-02-04 13:29:04 +00:00
parent a9b6c5cd86
commit 6db39410a1
12 changed files with 323 additions and 33 deletions

View File

@@ -177,6 +177,8 @@ static inline bool HasGrfMiscBit(GrfMiscBit bit)
/* Indicates which are the newgrf features currently loaded ingame */
extern GRFLoadedFeatures _loaded_newgrf_features;
byte GetGRFContainerVersion();
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