(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.

This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
This commit is contained in:
belugas
2008-09-15 17:18:22 +00:00
parent ffa39caf3d
commit 9419a28a4b
6 changed files with 97 additions and 27 deletions

View File

@@ -159,7 +159,7 @@ Date ConvertYMDToDate(Year year, Month month, Day day)
extern void WaypointsDailyLoop();
extern void EnginesDailyLoop();
extern void DisasterDailyLoop();
extern void IndustryDailyLoop();
extern void PlayersMonthlyLoop();
extern void EnginesMonthlyLoop();
extern void TownsMonthlyLoop();
@@ -229,6 +229,7 @@ void IncreaseDate()
DisasterDailyLoop();
WaypointsDailyLoop();
IndustryDailyLoop();
if (_game_mode != GM_MENU) {
InvalidateWindowWidget(WC_STATUS_BAR, 0, 0);