@@ -412,26 +412,26 @@ md_continue_here:;
}
static void ParseResolution(int res[2], char *s)
{
char *t = strchr(s, 'x');
if (t == NULL) {
ShowInfoF("Invalid resolution '%s'", s);
return;
res[0] = strtoul(s, NULL, 0);
res[1] = strtoul(t + 1, NULL, 0);
res[0] = clamp(strtoul(s, NULL, 0), 64, MAX_SCREEN_WIDTH);
res[1] = clamp(strtoul(t + 1, NULL, 0), 64, MAX_SCREEN_HEIGHT);
static void InitializeDynamicVariables(void)
/* Dynamic stuff needs to be initialized somewhere... */
_station_sort = NULL;
_vehicle_sort = NULL;
_town_sort = NULL;
_industry_sort = NULL;
static void UnInitializeDynamicVariables(void)