modules changes

* speedup widget destruction checks
* rework outfit module using grid layout and the new design
* fixes in console, terminal, textmessage modules
This commit is contained in:
Eduardo Bart
2012-03-22 18:47:52 -03:00
parent 159eb98df2
commit 33458a3e39
41 changed files with 335 additions and 234 deletions

View File

@@ -13,6 +13,13 @@ Module
load-later:
- game_textmessage
- game_console
- game_outfit
//- game_healthbar
//- game_inventory
//- game_combatcontrols
//- game_skills
//- game_viplist
//- game_hotkeys
@onLoad: |
importStyle 'styles/items.otui'

View File

@@ -211,7 +211,7 @@ function GameInterface.processMouseAction(menuPosition, mouseButton, autoWalk, l
return true
end
if not Options.classicControl then
if not Options['classicControl'] then
if keyboardModifiers == KeyboardNoModifier and mouseButton == MouseRightButton then
GameInterface.createThingMenu(menuPosition, lookThing, useThing, creatureThing)
return true

View File

@@ -26,7 +26,7 @@ UIWidget
GameSidePanel
id: gameLeftPanel
width: 190
width: 0
layout: verticalBox
anchors.left: parent.left
anchors.top: parent.top