src/genworld.cpp
changeset 8303 cbb07f7426fc
parent 8270 e7c342f6b14c
child 8380 174326093caa
equal deleted inserted replaced
8302:ed068d41cf1e 8303:cbb07f7426fc
    21 #include "map_func.h"
    21 #include "map_func.h"
    22 #include "date_func.h"
    22 #include "date_func.h"
    23 #include "core/random_func.hpp"
    23 #include "core/random_func.hpp"
    24 #include "engine.h"
    24 #include "engine.h"
    25 #include "settings_type.h"
    25 #include "settings_type.h"
       
    26 #include "newgrf_storage.h"
    26 
    27 
    27 #include "table/sprites.h"
    28 #include "table/sprites.h"
    28 
    29 
    29 void GenerateClearTile();
    30 void GenerateClearTile();
    30 void GenerateIndustries();
    31 void GenerateIndustries();
   115 			GenerateIndustries();
   116 			GenerateIndustries();
   116 			GenerateUnmovables();
   117 			GenerateUnmovables();
   117 			GenerateTrees();
   118 			GenerateTrees();
   118 		}
   119 		}
   119 	}
   120 	}
       
   121 
       
   122 	ClearStorageChanges(true);
   120 
   123 
   121 	/* These are probably pointless when inside the scenario editor. */
   124 	/* These are probably pointless when inside the scenario editor. */
   122 	SetGeneratingWorldProgress(GWP_GAME_INIT, 3);
   125 	SetGeneratingWorldProgress(GWP_GAME_INIT, 3);
   123 	StartupPlayers();
   126 	StartupPlayers();
   124 	IncreaseGeneratingWorldProgress(GWP_GAME_INIT);
   127 	IncreaseGeneratingWorldProgress(GWP_GAME_INIT);