Made inventory-slots bigger

heavy-resources
Bernhard Bonigl 2012-03-21 21:52:57 +01:00
parent 03729bdbf1
commit 7842d8c8e5
4 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ private func ScheduleUpdateBackpack()
private func MakeBackpack() private func MakeBackpack()
{ {
// distance between slots // distance between slots
var d = 60; var d = 72;
// upper barrier // upper barrier
//var y = -225-35 - d*BackpackSize(); //var y = -225-35 - d*BackpackSize();
var y = 200; var y = 200;
@ -109,7 +109,7 @@ private func MakeBackpack()
bt->SetHUDController(this); bt->SetHUDController(this);
bt->SetPosition(40, y + d*i); bt->SetPosition(40, y + d*i);
bt->SetSlotId(i); bt->SetSlotId(i);
bt->SetCon(115); //bt->SetCon(115);
CustomMessage(Format("@%d.", i+1), bt, nil, -40, 54); CustomMessage(Format("@%d.", i+1), bt, nil, -40, 54);
backpack[GetLength(backpack)] = bt; backpack[GetLength(backpack)] = bt;

View File

@ -2,9 +2,9 @@
id=GUI_Backpack_Slot_Icon id=GUI_Backpack_Slot_Icon
Version=5,2,0,1 Version=5,2,0,1
Category=C4D_StaticBack | C4D_IgnoreFoW | C4D_Foreground | C4D_Parallax | C4D_MouseSelect Category=C4D_StaticBack | C4D_IgnoreFoW | C4D_Foreground | C4D_Parallax | C4D_MouseSelect
Width=48 Width=64
Height=48 Height=64
Offset=-24,-24 Offset=-32,-32
StretchGrowth=1 StretchGrowth=1
Rotate=1 Rotate=1
Oversize=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