Implemented the mount interface, Fixed some interface stuff, Some cosmetics, and Updated the outfits window

* Added new arrow buttons.
* Fixed the vertical separator.
* Added new game_playermount module to handle player mounting.
* Moved the battle icons to /images.
* Outfit window accommodates for mounts, loads addons more efficiently and keeps addons set on update, added new Outfit.randomize function that allows you to randomize your outfit colors, and set up a new layout.
This commit is contained in:
BeniS
2012-07-15 23:49:28 +12:00
parent 3db6217b7c
commit 5520501673
39 changed files with 506 additions and 267 deletions

View File

@@ -117,15 +117,15 @@ function GameInterface.show()
end
function GameInterface.hide()
if(logoutWindow) then
if logoutWindow then
logoutWindow:destroy()
logoutWindow = nil
end
if(exitWindow) then
if exitWindow then
exitWindow:destroy()
exitWindow = nil
end
if(countWindow) then
if countWindow then
countWindow:destroy()
countWindow = nil
end
@@ -144,7 +144,7 @@ function GameInterface.exit()
end
function GameInterface.tryExit()
if(exitWindow) then
if exitWindow then
return true
end
exitWindow = g_ui.createWidget('ExitWindow', rootWidget)
@@ -183,7 +183,7 @@ function GameInterface.logout()
end
function GameInterface.tryLogout()
if(logoutWindow) then
if logoutWindow then
return
end
logoutWindow = g_ui.createWidget('LogoutWindow', rootWidget)