48 lines
2.2 KiB
C#
48 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using ReLogic.Content;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.ExtraTextures
|
|
{
|
|
[Autoload(Side = ModSide.Client)]
|
|
internal sealed class ExtraTextureRefs : ModSystem
|
|
{
|
|
// Destroyer glowmasks
|
|
public static Asset<Texture2D>[] DestroyerGlowmasks = new Asset<Texture2D>[3];
|
|
public static Asset<Texture2D> ProbeGlowmask;
|
|
|
|
// Master Rev+ Skeletron Prime
|
|
public static Asset<Texture2D> ChadPrime;
|
|
public static Asset<Texture2D> ChadPrimeEyeGlowmask;
|
|
|
|
// WoF, These are not "exactly" the ExtraTextures. But
|
|
public static Asset<Texture2D> WallOfFleshEyeGlowmask;
|
|
public static Asset<Texture2D> WallOfFleshDemonSickleTexture;
|
|
|
|
public override void OnModLoad()
|
|
{
|
|
DestroyerGlowmasks[0] = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerHeadGlow", AssetRequestMode.AsyncLoad);
|
|
DestroyerGlowmasks[1] = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerBodyGlow", AssetRequestMode.AsyncLoad);
|
|
DestroyerGlowmasks[2] = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/DestroyerTailGlow", AssetRequestMode.AsyncLoad);
|
|
|
|
ProbeGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/ProbeGlow", AssetRequestMode.AsyncLoad);
|
|
|
|
ChadPrime = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ChadPrime", AssetRequestMode.AsyncLoad);
|
|
ChadPrimeEyeGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/ChadPrimeHeadGlow", AssetRequestMode.AsyncLoad);
|
|
|
|
WallOfFleshEyeGlowmask = ModContent.Request<Texture2D>("CalamityMod/ExtraTextures/VanillaBossGlowmasks/WallOfFleshEyeTelegraphGlow", AssetRequestMode.AsyncLoad);
|
|
WallOfFleshDemonSickleTexture = ModContent.Request<Texture2D>("CalamityMod/Projectiles/Melee/ForbiddenOathbladeProjectile", AssetRequestMode.AsyncLoad);
|
|
}
|
|
|
|
public override void Unload()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|