more changes to work on ARM

This commit is contained in:
Eduardo Bart
2011-12-30 02:50:19 -02:00
parent a394033872
commit e95973174c
12 changed files with 33 additions and 23 deletions

View File

@@ -2,8 +2,13 @@ Client = { }
-- TODO: load and save configurations
function Client.init()
g_window.move({ x=220, y=220 })
g_window.resize({ width=800, height=480 })
-- initialize in fullscreen mode on mobile devices
if g_window.getPlatformType() == "X11-EGL" then
g_window:setFullscreen()
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