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

@@ -5,7 +5,7 @@ local textWindow
-- private functions
local function onGameEditText(id, itemId, maxLength, text, writter, time)
if(textWindow) then
if textWindow then
return
end
textWindow = g_ui.createWidget('TextWindow', rootWidget)
@@ -61,7 +61,7 @@ local function onGameEditText(id, itemId, maxLength, text, writter, time)
end
local function onGameEditList(id, doorId, text)
if(textWindow) then
if textWindow then
return
end
textWindow = g_ui.createWidget('TextWindow', rootWidget)
@@ -105,7 +105,7 @@ function TextWindow.terminate()
end
function TextWindow.destroy()
if(textWindow) then
if textWindow then
textWindow:destroy()
textWindow = nil
end