Working 1.4 upgrade

This commit is contained in:
Jewel
2022-08-02 05:44:07 +01:00
parent e4b625d459
commit 8c17c38585
21 changed files with 1291 additions and 552 deletions

View File

@@ -1,6 +1,8 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.Audio;
using Terraria.ID;
using Terraria.UI;
namespace ItemChecklist.UIElements
@@ -47,7 +49,7 @@ namespace ItemChecklist.UIElements
public override void MouseOver(UIMouseEvent evt)
{
base.MouseOver(evt);
Main.PlaySound(12, -1, -1, 1, 1f, 0f);
SoundEngine.PlaySound(SoundID.MenuTick);
}
}
@@ -80,7 +82,7 @@ namespace ItemChecklist.UIElements
public override void MouseOver(UIMouseEvent evt)
{
base.MouseOver(evt);
Main.PlaySound(12, -1, -1, 1, 1f, 0f);
SoundEngine.PlaySound(SoundID.MenuTick);
}
public void SetVisibility(float whenActive, float whenInactive)