Implement timed Invisible gadget and shared energy warnings

This commit is contained in:
UnixNight committed 2026-11-02 09:21:56 -05:00
1 parent 3527d33810
commit 1897dd2b90
44 files changed
+2466 -39

No files matched your search

@@ -0,0 +1,16 @@
using GamePort.Assets;
using GamePort.Game;
namespace GamePort.Application;
/// <summary>Current Jimmy atlas is one linked material. Source114 alpha and
/// indexed0 FC blend changes affect that draw without changing pose/visibility.</summary>
public static class PlayerGadgetMaterial
{
public static void Apply(MeshDraw draw, InvisibleGadget invisible)
{
draw.Opacity = invisible.Opacity;
draw.Blend = !invisible.Active ? MeshBlend.Opaque
: invisible.ConventionalBlend ? MeshBlend.Alpha : MeshBlend.Additive;
}
}