From 35f7b816eeff3456470b00daf3c6c07cb3c04dc4 Mon Sep 17 00:00:00 2001 From: Henrique Date: Tue, 13 Sep 2011 18:53:58 -0300 Subject: [PATCH] skill --- modules/game/game.lua | 1 + modules/game/ui/viplist.otui | 16 ---------------- modules/game/vip.lua | 2 +- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 modules/game/ui/viplist.otui diff --git a/modules/game/game.lua b/modules/game/game.lua index bceb5894..ddb35e14 100644 --- a/modules/game/game.lua +++ b/modules/game/game.lua @@ -1,4 +1,5 @@ require 'textmessage' +require 'skill' require 'vip' -- private functions diff --git a/modules/game/ui/viplist.otui b/modules/game/ui/viplist.otui deleted file mode 100644 index 6df2be33..00000000 --- a/modules/game/ui/viplist.otui +++ /dev/null @@ -1,16 +0,0 @@ -VipListLabel < Label - font: tibia-10px-monochrome - margin.left: 30 - -Window - id: vipWindow - title: VIP - size: 200 200 - - TextList - id: vipList - anchors.fill: parent - margin.top: 19 - margin.bottom: 3 - margin.left: 3 - margin.right: 3 diff --git a/modules/game/vip.lua b/modules/game/vip.lua index 2224d3e2..8cc575c0 100644 --- a/modules/game/vip.lua +++ b/modules/game/vip.lua @@ -1,7 +1,7 @@ vipWindow = nil function createVipWindow() - vipWindow = loadUI("/game/ui/viplist.otui", Game.gameUi) + vipWindow = loadUI("/game/ui/vipwindow.otui", Game.gameUi) end function Game.onAddVip(id, name, online)