forked from Mirrors/openclonk
Made inventory-slots bigger
parent
03729bdbf1
commit
7842d8c8e5
|
@ -88,7 +88,7 @@ private func ScheduleUpdateBackpack()
|
|||
private func MakeBackpack()
|
||||
{
|
||||
// distance between slots
|
||||
var d = 60;
|
||||
var d = 72;
|
||||
// upper barrier
|
||||
//var y = -225-35 - d*BackpackSize();
|
||||
var y = 200;
|
||||
|
@ -109,7 +109,7 @@ private func MakeBackpack()
|
|||
bt->SetHUDController(this);
|
||||
bt->SetPosition(40, y + d*i);
|
||||
bt->SetSlotId(i);
|
||||
bt->SetCon(115);
|
||||
//bt->SetCon(115);
|
||||
|
||||
CustomMessage(Format("@%d.", i+1), bt, nil, -40, 54);
|
||||
backpack[GetLength(backpack)] = bt;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
id=GUI_Backpack_Slot_Icon
|
||||
Version=5,2,0,1
|
||||
Category=C4D_StaticBack | C4D_IgnoreFoW | C4D_Foreground | C4D_Parallax | C4D_MouseSelect
|
||||
Width=48
|
||||
Height=48
|
||||
Offset=-24,-24
|
||||
Width=64
|
||||
Height=64
|
||||
Offset=-32,-32
|
||||
StretchGrowth=1
|
||||
Rotate=1
|
||||
Oversize=1
|
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 4.9 KiB |
Loading…
Reference in New Issue