Enable resizing, disable smoothscaling by default

This commit is contained in:
Inori 2019-08-12 16:29:50 -04:00 committed by Inori
parent c7fafb2316
commit 5959efcab4
4 changed files with 7 additions and 11 deletions

View file

@ -7,7 +7,7 @@ else
lib = get_option('ruby_lib')
binding_dependencies += compiler.find_library(lib)
if host_system == 'windows'
if lib.endswith('-static') and not get_option('fix_essentials')
if lib.endswith('-static') and (get_option('fix_essentials') == false)
# if fixing up essentials this'll have been added already
binding_dependencies += compiler.find_library('wsock32')
endif

View file

@ -36,9 +36,9 @@
# Game window is resizable
# (default: disabled)
# (default: enabled)
#
# winResizable=false
# winResizable=true
# Start game in fullscreen (this can
@ -57,9 +57,9 @@
# Apply linear interpolation when game screen
# is upscaled
# (default: enabled)
# (default: disabled)
#
# smoothScaling=true
# smoothScaling=false
# Sync screen redraws to the monitor refresh rate

View file

@ -155,10 +155,10 @@ void Config::read(int argc, char *argv[])
PO_DESC(rgssVersion, int, 0) \
PO_DESC(debugMode, bool, false) \
PO_DESC(printFPS, bool, false) \
PO_DESC(winResizable, bool, false) \
PO_DESC(winResizable, bool, true) \
PO_DESC(fullscreen, bool, false) \
PO_DESC(fixedAspectRatio, bool, true) \
PO_DESC(smoothScaling, bool, true) \
PO_DESC(smoothScaling, bool, false) \
PO_DESC(vsync, bool, false) \
PO_DESC(defScreenW, int, 0) \
PO_DESC(defScreenH, int, 0) \

View file

@ -123,10 +123,6 @@ MKXP_SetWindowTextA(HWND hWnd, LPCSTR lpString)
}
// Games that use this to resize the window won't center
// themselves, but it's better than having the window sent
// so far into the corner that you can't even grab onto
// the title bar
BOOL __stdcall
MKXP_GetWindowRect(HWND hWnd, LPRECT lpRect)
{