Merge PR #268 into jgrpp

This commit is contained in:
Jonathan G Rennison
2021-06-14 00:53:59 +01:00
71 changed files with 385 additions and 8 deletions

View File

@@ -73,6 +73,7 @@
#include "viewport_func.h"
#include "gui.h"
#include "statusbar_gui.h"
#include "graph_gui.h"
#include "void_map.h"
#include "station_base.h"
@@ -1522,6 +1523,12 @@ static bool ClimateThresholdModeChanged(int32 p1)
return true;
}
static bool VelocityUnitsChanged(int32 p1) {
InvalidateWindowClassesData(WC_PAYMENT_RATES);
MarkWholeScreenDirty();
return true;
}
/** Checks if any settings are set to incorrect values, and sets them to correct values in that case. */
static void ValidateSettings()
{