tibia-client/modules/client/client.lua

22 lines
447 B
Lua
Raw Normal View History

2011-12-05 19:27:07 +01:00
Client = { }
-- TODO: load and save configurations
2011-12-05 19:27:07 +01:00
function Client.init()
2011-12-30 07:36:10 +01:00
g_window.show()
2011-12-30 05:50:19 +01:00
-- initialize in fullscreen mode on mobile devices
if g_window.getPlatformType() == "X11-EGL" then
2011-12-30 07:05:32 +01:00
g_window.setFullscreen(true)
2011-12-30 05:50:19 +01:00
else
g_window.move({ x=220, y=220 })
g_window.resize({ width=800, height=480 })
end
2011-12-30 07:36:10 +01:00
g_window.setTitle('OTClient')
2011-12-05 19:27:07 +01:00
g_window.setIcon('clienticon.png')
return true
end
2011-12-05 19:27:07 +01:00
function Client.terminate()
end