Remade the metaball system entirely (#4)

* Remade the metaball system entirely
* Rename additive metaball shader registration
This commit is contained in:
DominicKarma authored and Ozzatron committed 2023-11-04 11:54:13 -04:00
1 parent ef2ed44294
commit 0ab4933901
46 files changed
+1082 -933

No files matched your search

-14
View File
@@ -1,6 +1,5 @@
using CalamityMod.NPCs;
using CalamityMod.Particles;
using CalamityMod.Particles.Metaballs;
using CalamityMod.TileEntities;
using Terraria;
using Terraria.ModLoader;
@@ -9,19 +8,6 @@ namespace CalamityMod.Systems
{
public class EntityUpdateInterceptionSystem : ModSystem
{
#region Fusable Particle Updating
public override void PostUpdateProjectiles()
{
// Update all fusable particles.
// These are really only visual and as such don't really need any complex netcode.
foreach (BaseFusableParticleSet.FusableParticleRenderCollection particleSet in FusableParticleManager.ParticleSets)
{
foreach (BaseFusableParticleSet.FusableParticle particle in particleSet.ParticleSet.Particles)
particleSet.ParticleSet.UpdateBehavior(particle);
}
}
#endregion
#region Ash Drawing
public override void PostUpdateDusts() => DeathAshParticle.UpdateAll();
#endregion Ash Drawing