mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-04-29 10:49:21 +02:00
Updated to OTCv8 3.1 rev 158
This commit is contained in:
parent
19fad11949
commit
b5ca12f0e0
@ -31,6 +31,10 @@ OptionPanel
|
|||||||
!text: tr('Fullscreen')
|
!text: tr('Fullscreen')
|
||||||
tooltip: Ctrl+Shift+F
|
tooltip: Ctrl+Shift+F
|
||||||
|
|
||||||
|
OptionCheckBox
|
||||||
|
id: antialiasing
|
||||||
|
!text: tr('Antialiasing')
|
||||||
|
|
||||||
Label
|
Label
|
||||||
margin-top: 12
|
margin-top: 12
|
||||||
id: optimizationLevelLabel
|
id: optimizationLevelLabel
|
||||||
|
@ -66,7 +66,9 @@ local defaultOptions = {
|
|||||||
|
|
||||||
actionbarLock = false,
|
actionbarLock = false,
|
||||||
|
|
||||||
profile = 1
|
profile = 1,
|
||||||
|
|
||||||
|
antialiasing = true
|
||||||
}
|
}
|
||||||
|
|
||||||
local optionsWindow
|
local optionsWindow
|
||||||
@ -348,6 +350,8 @@ function setOption(key, value, force)
|
|||||||
generalPanel:getChildById('walkTeleportDelayLabel'):setText(tr('Walk delay after teleport: %s ms', value))
|
generalPanel:getChildById('walkTeleportDelayLabel'):setText(tr('Walk delay after teleport: %s ms', value))
|
||||||
elseif key == 'walkCtrlTurnDelay' then
|
elseif key == 'walkCtrlTurnDelay' then
|
||||||
generalPanel:getChildById('walkCtrlTurnDelayLabel'):setText(tr('Walk delay after ctrl turn: %s ms', value))
|
generalPanel:getChildById('walkCtrlTurnDelayLabel'):setText(tr('Walk delay after ctrl turn: %s ms', value))
|
||||||
|
elseif key == "antialiasing" then
|
||||||
|
g_app.setSmooth(value)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- change value for keybind updates
|
-- change value for keybind updates
|
||||||
@ -408,6 +412,7 @@ end
|
|||||||
|
|
||||||
function online()
|
function online()
|
||||||
setLightOptionsVisibility(not g_game.getFeature(GameForceLight))
|
setLightOptionsVisibility(not g_game.getFeature(GameForceLight))
|
||||||
|
g_app.setSmooth(g_settings.getBoolean("antialiasing"))
|
||||||
end
|
end
|
||||||
|
|
||||||
function offline()
|
function offline()
|
||||||
|
BIN
otclient_dx.exe
BIN
otclient_dx.exe
Binary file not shown.
BIN
otclient_gl.exe
BIN
otclient_gl.exe
Binary file not shown.
BIN
otclient_linux
BIN
otclient_linux
Binary file not shown.
BIN
otclient_mac
BIN
otclient_mac
Binary file not shown.
BIN
otclientv8.apk
BIN
otclientv8.apk
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user