X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=68a56cddcf611009da002240c1601e145a2a19b6;hb=610e1570ca2492a97cfc5cf6a3794c07b605df48;hp=9f997cf16d63d7f6d4603389a880b7f67b259cfe;hpb=36cfa0205e5a618c59e2e24c1c6650597a59ddca;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 9f997cf1..68a56cdd 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -644,6 +644,11 @@ gfx.draw_busy_anim_function(); \ } +/* values for window scaling */ +#define MIN_WINDOW_SCALING_PERCENT 10 +#define STD_WINDOW_SCALING_PERCENT 100 +#define MAX_WINDOW_SCALING_PERCENT 300 + /* type definitions */ #if defined(TARGET_SDL2) @@ -728,6 +733,9 @@ struct VideoSystemInfo boolean fullscreen_enabled; struct ScreenModeInfo *fullscreen_modes; char *fullscreen_mode_current; + + boolean window_scaling_available; + int window_scaling_percent; }; struct AudioSystemInfo @@ -937,6 +945,7 @@ struct SetupInfo boolean time_limit; boolean fullscreen; char *fullscreen_mode; + int window_scaling_percent; boolean ask_on_escape; boolean ask_on_escape_editor; boolean quick_switch;