summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorMatt Kimber <mattkimber@users.noreply.github.com>2021-03-13 09:00:53 +0000
committerGitHub <noreply@github.com>2021-03-13 10:00:53 +0100
commitbcb3313e134e0e8cf12366ec9d1340e9986ccc57 (patch)
tree39141bec1ab454c06deab1f4227f401f864fe970 /src/settings_type.h
parente708fb38da7a3635c7cc15dd1cc516ea1d2d5871 (diff)
downloadopenttd-bcb3313e134e0e8cf12366ec9d1340e9986ccc57.tar.xz
Feature: allow setting maximum zoom level at which sprites are drawn (#8604)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 433e8d535..413704960 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -117,6 +117,7 @@ struct GUISettings {
uint8 window_soft_limit; ///< soft limit of maximum number of non-stickied non-vital windows (0 = no limit)
ZoomLevel zoom_min; ///< minimum zoom out level
ZoomLevel zoom_max; ///< maximum zoom out level
+ ZoomLevel sprite_zoom_min; ///< maximum zoom level at which higher-resolution alternative sprites will be used (if available) instead of scaling a lower resolution sprite
byte autosave; ///< how often should we do autosaves?
bool threaded_saves; ///< should we do threaded saves?
bool keep_all_autosave; ///< name the autosave in a different way