(svn r23314) -Add: Add settings to restrict viewport zoom levels.

This commit is contained in:
peter1138
2011-11-24 12:20:14 +00:00
parent 76f6bd8cfd
commit 782aee3c2a
8 changed files with 68 additions and 7 deletions

View File

@@ -894,6 +894,13 @@ static bool InvalidateVehTimetableWindow(int32 p1)
return true;
}
static bool ZoomMinMaxChanged(int32 p1)
{
extern void ConstrainAllViewportsZoom();
ConstrainAllViewportsZoom();
return true;
}
/**
* Update any possible saveload window and delete any newgrf dialogue as
* its widget parts might change. Reinit all windows as it allows access to the