You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
427 B

Client = { }
-- TODO: load and save configurations
function Client.init()
-- initialize in fullscreen mode on mobile devices
if g_window.getPlatformType() == "X11-EGL" then
13 years ago
g_window.setFullscreen(true)
else
g_window.move({ x=220, y=220 })
g_window.resize({ width=800, height=480 })
end
g_window.setTitle('OTClient')
g_window.setIcon('clienticon.png')
return true
end
function Client.terminate()
end