Merge branch 'master' into buckle-locker-fix-1262
This commit is contained in:
@@ -53,8 +53,8 @@ namespace Content.Client.GameObjects
|
||||
|
||||
void AddButton(out ItemSlotButton variable, Slots slot, string textureName)
|
||||
{
|
||||
var texture = _resourceCache.GetTexture($"/Textures/UserInterface/Inventory/{textureName}.png");
|
||||
var storageTexture = _resourceCache.GetTexture("/Textures/UserInterface/Inventory/back.png");
|
||||
var texture = _resourceCache.GetTexture($"/Textures/Interface/Inventory/{textureName}.png");
|
||||
var storageTexture = _resourceCache.GetTexture("/Textures/Interface/Inventory/back.png");
|
||||
variable = new ItemSlotButton(texture, storageTexture)
|
||||
{
|
||||
OnPressed = (e) => AddToInventory(e, slot),
|
||||
@@ -193,8 +193,8 @@ namespace Content.Client.GameObjects
|
||||
|
||||
void AddButton(Slots slot, string textureName, Vector2 position)
|
||||
{
|
||||
var texture = resourceCache.GetTexture($"/Textures/UserInterface/Inventory/{textureName}.png");
|
||||
var storageTexture = resourceCache.GetTexture("/Textures/UserInterface/Inventory/back.png");
|
||||
var texture = resourceCache.GetTexture($"/Textures/Interface/Inventory/{textureName}.png");
|
||||
var storageTexture = resourceCache.GetTexture("/Textures/Interface/Inventory/back.png");
|
||||
var button = new ItemSlotButton(texture, storageTexture);
|
||||
|
||||
LayoutContainer.SetPosition(button, position);
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Content.Client.GameObjects.Components.Kitchen
|
||||
var audioParams = AudioParams.Default;
|
||||
audioParams.Loop = true;
|
||||
var schedSound = new ScheduledSound();
|
||||
schedSound.Filename = "/Audio/machines/microwave_loop.ogg";
|
||||
schedSound.Filename = "/Audio/Machines/microwave_loop.ogg";
|
||||
schedSound.AudioParams = audioParams;
|
||||
_loopingSoundComponent.StopAllSounds();
|
||||
_loopingSoundComponent.AddScheduledSound(schedSound);
|
||||
|
||||
@@ -17,11 +17,11 @@ namespace Content.Client.GameObjects.Components.PDA
|
||||
switch(message)
|
||||
{
|
||||
case PDAUplinkBuySuccessMessage _ :
|
||||
EntitySystem.Get<AudioSystem>().Play("/Audio/effects/kaching.ogg", Owner, AudioParams.Default.WithVolume(-2f));
|
||||
EntitySystem.Get<AudioSystem>().Play("/Audio/Effects/kaching.ogg", Owner, AudioParams.Default.WithVolume(-2f));
|
||||
break;
|
||||
|
||||
case PDAUplinkInsufficientFundsMessage _ :
|
||||
EntitySystem.Get<AudioSystem>().Play("/Audio/effects/error.ogg", Owner, AudioParams.Default);
|
||||
EntitySystem.Get<AudioSystem>().Play("/Audio/Effects/error.ogg", Owner, AudioParams.Default);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
@@ -180,7 +180,7 @@ namespace Content.Client.GameObjects.Components.Weapons.Ranged.Barrels
|
||||
},
|
||||
(_chamberedBullet = new TextureRect
|
||||
{
|
||||
Texture = StaticIoC.ResC.GetTexture("/Textures/UserInterface/status/bullets/chambered.png"),
|
||||
Texture = StaticIoC.ResC.GetTexture("/Textures/Interface/ItemStatus/Bullets/chambered.png"),
|
||||
SizeFlagsVertical = SizeFlags.ShrinkCenter,
|
||||
SizeFlagsHorizontal = SizeFlags.ShrinkEnd | SizeFlags.Fill,
|
||||
})
|
||||
@@ -211,15 +211,15 @@ namespace Content.Client.GameObjects.Components.Weapons.Ranged.Barrels
|
||||
string texturePath;
|
||||
if (capacity <= 20)
|
||||
{
|
||||
texturePath = "/Textures/UserInterface/status/bullets/normal.png";
|
||||
texturePath = "/Textures/Interface/ItemStatus/Bullets/normal.png";
|
||||
}
|
||||
else if (capacity <= 30)
|
||||
{
|
||||
texturePath = "/Textures/UserInterface/status/bullets/small.png";
|
||||
texturePath = "/Textures/Interface/ItemStatus/Bullets/small.png";
|
||||
}
|
||||
else
|
||||
{
|
||||
texturePath = "/Textures/UserInterface/status/bullets/tiny.png";
|
||||
texturePath = "/Textures/Interface/ItemStatus/Bullets/tiny.png";
|
||||
}
|
||||
|
||||
var texture = StaticIoC.ResC.GetTexture(texturePath);
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Content.Client.GameObjects.Components.Wires
|
||||
|
||||
MouseFilter = MouseFilterMode.Stop;
|
||||
|
||||
var panelTex = resourceCache.GetTexture("/Nano/button.svg.96dpi.png");
|
||||
var panelTex = resourceCache.GetTexture("/Textures/Interface/Nano/button.svg.96dpi.png");
|
||||
var back = new StyleBoxTexture
|
||||
{
|
||||
Texture = panelTex,
|
||||
@@ -306,7 +306,7 @@ namespace Content.Client.GameObjects.Components.Wires
|
||||
|
||||
private sealed class WireControl : Control
|
||||
{
|
||||
private const string TextureContact = "/Textures/UserInterface/WireHacking/contact.svg.96dpi.png";
|
||||
private const string TextureContact = "/Textures/Interface/WireHacking/contact.svg.96dpi.png";
|
||||
|
||||
public event Action WireClicked;
|
||||
public event Action ContactsClicked;
|
||||
@@ -405,20 +405,20 @@ namespace Content.Client.GameObjects.Components.Wires
|
||||
|
||||
private static readonly string[] TextureNormal =
|
||||
{
|
||||
"/Textures/UserInterface/WireHacking/wire_1.svg.96dpi.png",
|
||||
"/Textures/UserInterface/WireHacking/wire_2.svg.96dpi.png"
|
||||
"/Textures/Interface/WireHacking/wire_1.svg.96dpi.png",
|
||||
"/Textures/Interface/WireHacking/wire_2.svg.96dpi.png"
|
||||
};
|
||||
|
||||
private static readonly string[] TextureCut =
|
||||
{
|
||||
"/Textures/UserInterface/WireHacking/wire_1_cut.svg.96dpi.png",
|
||||
"/Textures/UserInterface/WireHacking/wire_2_cut.svg.96dpi.png",
|
||||
"/Textures/Interface/WireHacking/wire_1_cut.svg.96dpi.png",
|
||||
"/Textures/Interface/WireHacking/wire_2_cut.svg.96dpi.png",
|
||||
};
|
||||
|
||||
private static readonly string[] TextureCopper =
|
||||
{
|
||||
"/Textures/UserInterface/WireHacking/wire_1_copper.svg.96dpi.png",
|
||||
"/Textures/UserInterface/WireHacking/wire_2_copper.svg.96dpi.png"
|
||||
"/Textures/Interface/WireHacking/wire_1_copper.svg.96dpi.png",
|
||||
"/Textures/Interface/WireHacking/wire_2_copper.svg.96dpi.png"
|
||||
};
|
||||
|
||||
public WireRender(WireColor color, bool isCut, bool flip, bool mirror, int type)
|
||||
@@ -532,7 +532,7 @@ namespace Content.Client.GameObjects.Components.Wires
|
||||
new TextureRect
|
||||
{
|
||||
Texture = resC.GetTexture(
|
||||
"/Textures/UserInterface/WireHacking/light_off_base.svg.96dpi.png"),
|
||||
"/Textures/Interface/WireHacking/light_off_base.svg.96dpi.png"),
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
ModulateSelfOverride = dimColor
|
||||
},
|
||||
@@ -541,7 +541,7 @@ namespace Content.Client.GameObjects.Components.Wires
|
||||
ModulateSelfOverride = data.Color.WithAlpha(0.4f),
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
Texture =
|
||||
resC.GetTexture("/Textures/UserInterface/WireHacking/light_on_base.svg.96dpi.png"),
|
||||
resC.GetTexture("/Textures/Interface/WireHacking/light_on_base.svg.96dpi.png"),
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user