From 189a52c6d75a92f91ed66fe3497d5f389392d84b Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 16 Aug 2018 22:43:04 +0200 Subject: [PATCH] Use Sprite proxies for GUIs. (#93) AKA "welders actually light up in the hands GUI". --- .../Inventory/ClientInventoryComponent.cs | 12 +++-- .../Storage/ClientStorageComponent.cs | 19 ++----- Content.Client/UserInterface/HandsGui.cs | 34 ++++++++---- .../Items/Clothing/ClothingComponent.cs | 3 +- Resources/Scenes/Inventory/StorageSlot.tscn | 40 ++------------ Resources/Scenes/Storage/StorageEntity.tscn | 53 +++++-------------- engine | 2 +- 7 files changed, 56 insertions(+), 107 deletions(-) diff --git a/Content.Client/GameObjects/Components/Inventory/ClientInventoryComponent.cs b/Content.Client/GameObjects/Components/Inventory/ClientInventoryComponent.cs index ccac3fc8c6..6b3b85761d 100644 --- a/Content.Client/GameObjects/Components/Inventory/ClientInventoryComponent.cs +++ b/Content.Client/GameObjects/Components/Inventory/ClientInventoryComponent.cs @@ -1,6 +1,7 @@ using Content.Shared.GameObjects; using Content.Shared.Input; using SS14.Client.GameObjects; +using SS14.Client.Interfaces.GameObjects.Components; using SS14.Client.Interfaces.Input; using SS14.Client.UserInterface; using SS14.Client.UserInterface.Controls; @@ -162,12 +163,14 @@ namespace Content.Client.GameObjects button.GetChild