improve window moving, minor changes to enable others apps use otclient framework

This commit is contained in:
Eduardo Bart
2011-11-11 18:26:10 -02:00
parent 3f4ad7977c
commit fc65f99ead
31 changed files with 96 additions and 83 deletions

View File

@@ -17,6 +17,7 @@ function Game.createInterface()
Background.hide()
CharacterList.destroyLoadBox()
Game.gameUi = loadUI('/game/game.otui', UI.root)
UI.root:moveChildToIndex(Game.gameUi, 1)
Game.gameMapPanel = Game.gameUi:getChildById('mapPanel')
Game.gameRightPanel = Game.gameUi:getChildById('rightPanel')
Game.gameBottomPanel = Game.gameUi:getChildById('bottomPanel')

View File

@@ -3,14 +3,6 @@ Module
description: Create the game interface, where the ingame stuff starts
author: OTClient team
website: https://github.com/edubart/otclient
autoLoad: true
dependencies:
- core
- tibiafiles
- topmenu
- entergame
- background
onLoad: |
require 'game'
return true