new script engine, and things maybe be bugged for a while

This commit is contained in:
Eduardo Bart
2011-07-26 20:13:27 -03:00
parent ab7394f357
commit 70f0b0dace
137 changed files with 2905 additions and 2578 deletions

View File

@@ -1,16 +1,16 @@
require 'entergame'
function initializeApplication()
mainMenu = loadUI("ui/mainmenu")
mainMenu = loadUI("ui/mainmenu", rootUI)
end
function terminateApplication()
App.exit()
exit()
end
-- here is where everything starts
if not initialized then
initializeApplication()
App.onClose = terminateApplication
onClose = terminateApplication
initialized = true
end