mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Enable resizing, disable smoothscaling by default
This commit is contained in:
parent
c7fafb2316
commit
5959efcab4
4 changed files with 7 additions and 11 deletions
|
@ -7,7 +7,7 @@ else
|
||||||
lib = get_option('ruby_lib')
|
lib = get_option('ruby_lib')
|
||||||
binding_dependencies += compiler.find_library(lib)
|
binding_dependencies += compiler.find_library(lib)
|
||||||
if host_system == 'windows'
|
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
|
# if fixing up essentials this'll have been added already
|
||||||
binding_dependencies += compiler.find_library('wsock32')
|
binding_dependencies += compiler.find_library('wsock32')
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -36,9 +36,9 @@
|
||||||
|
|
||||||
|
|
||||||
# Game window is resizable
|
# Game window is resizable
|
||||||
# (default: disabled)
|
# (default: enabled)
|
||||||
#
|
#
|
||||||
# winResizable=false
|
# winResizable=true
|
||||||
|
|
||||||
|
|
||||||
# Start game in fullscreen (this can
|
# Start game in fullscreen (this can
|
||||||
|
@ -57,9 +57,9 @@
|
||||||
|
|
||||||
# Apply linear interpolation when game screen
|
# Apply linear interpolation when game screen
|
||||||
# is upscaled
|
# is upscaled
|
||||||
# (default: enabled)
|
# (default: disabled)
|
||||||
#
|
#
|
||||||
# smoothScaling=true
|
# smoothScaling=false
|
||||||
|
|
||||||
|
|
||||||
# Sync screen redraws to the monitor refresh rate
|
# Sync screen redraws to the monitor refresh rate
|
||||||
|
|
|
@ -155,10 +155,10 @@ void Config::read(int argc, char *argv[])
|
||||||
PO_DESC(rgssVersion, int, 0) \
|
PO_DESC(rgssVersion, int, 0) \
|
||||||
PO_DESC(debugMode, bool, false) \
|
PO_DESC(debugMode, bool, false) \
|
||||||
PO_DESC(printFPS, bool, false) \
|
PO_DESC(printFPS, bool, false) \
|
||||||
PO_DESC(winResizable, bool, false) \
|
PO_DESC(winResizable, bool, true) \
|
||||||
PO_DESC(fullscreen, bool, false) \
|
PO_DESC(fullscreen, bool, false) \
|
||||||
PO_DESC(fixedAspectRatio, bool, true) \
|
PO_DESC(fixedAspectRatio, bool, true) \
|
||||||
PO_DESC(smoothScaling, bool, true) \
|
PO_DESC(smoothScaling, bool, false) \
|
||||||
PO_DESC(vsync, bool, false) \
|
PO_DESC(vsync, bool, false) \
|
||||||
PO_DESC(defScreenW, int, 0) \
|
PO_DESC(defScreenW, int, 0) \
|
||||||
PO_DESC(defScreenH, int, 0) \
|
PO_DESC(defScreenH, int, 0) \
|
||||||
|
|
|
@ -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
|
BOOL __stdcall
|
||||||
MKXP_GetWindowRect(HWND hWnd, LPRECT lpRect)
|
MKXP_GetWindowRect(HWND hWnd, LPRECT lpRect)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue