Fixed Hand-Size.

Turned Hand-Indicators into one layer
heavy-resources
Bernhard Bonigl 2012-03-29 22:27:42 +02:00
parent 26fec4ca89
commit f5504f7497
4 changed files with 4 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -27,18 +27,17 @@ public func GetSlotId() { return position; }
public func SetSelected(int nr)
{
SetGraphics("Hand", GUI_Backpack_Slot_Icon, 4, GFXOV_MODE_Base);
if(nr == 0)
SetGraphics("LeftHand", GUI_Backpack_Slot_Icon, 4, GFXOV_MODE_Base);
SetObjDrawTransform(700, 0, -17000, 0, 700, 17000, 4);
if(nr == 1)
SetGraphics("RightHand", GUI_Backpack_Slot_Icon, 5, GFXOV_MODE_Base);
//SetGraphics(nil, nil, MI_SELECTION_LAYER);
//SetClrModulation(HSL(255-nr*86, 200, 150));
SetObjDrawTransform(-700, 0, 17000, 0, 700, 17000, 4);
}
public func SetUnselected()
{
SetGraphics(nil,nil,4);
SetGraphics(nil,nil,5);
}