Updated to OTCv8 3.1 rev 158

This commit is contained in:
OTCv8 2022-03-20 01:11:31 +00:00
parent 19fad11949
commit b5ca12f0e0
7 changed files with 10 additions and 1 deletions

View File

@ -31,6 +31,10 @@ OptionPanel
!text: tr('Fullscreen')
tooltip: Ctrl+Shift+F
OptionCheckBox
id: antialiasing
!text: tr('Antialiasing')
Label
margin-top: 12
id: optimizationLevelLabel

View File

@ -66,7 +66,9 @@ local defaultOptions = {
actionbarLock = false,
profile = 1
profile = 1,
antialiasing = true
}
local optionsWindow
@ -348,6 +350,8 @@ function setOption(key, value, force)
generalPanel:getChildById('walkTeleportDelayLabel'):setText(tr('Walk delay after teleport: %s ms', value))
elseif key == 'walkCtrlTurnDelay' then
generalPanel:getChildById('walkCtrlTurnDelayLabel'):setText(tr('Walk delay after ctrl turn: %s ms', value))
elseif key == "antialiasing" then
g_app.setSmooth(value)
end
-- change value for keybind updates
@ -408,6 +412,7 @@ end
function online()
setLightOptionsVisibility(not g_game.getFeature(GameForceLight))
g_app.setSmooth(g_settings.getBoolean("antialiasing"))
end
function offline()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.