Checked all GetTexture calls. Fixed all glowmasks.
No files matched your search
@@ -34,7 +34,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(11f, 21f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/VanquisherArrowGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Ammo/VanquisherArrowGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(15f, 15f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/ApotheosisGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/ApotheosisGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(40f, 42f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/DevourerofGods/DeathhailStaffGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/DeathhailStaffGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(32f, 30f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/SoulPiercerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/SoulPiercerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(19f, 22f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/SubsumingVortexGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(46f, 44f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/ElementalExcaliburGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/ElementalExcaliburGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(31f, 29f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/DevourerofGods/EradicatorMeleeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/EradicatorMeleeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(50f, 37f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/EssenceFlayerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(39f, 47f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/DevourerofGods/ExcelsusGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/ExcelsusGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(50f, 48f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/StreamGougeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/StreamGougeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(50f, 48f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/TheEnforcerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit)
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(32f, 14f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/CleansingBlazeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Ranged/CleansingBlazeGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(20f, 41f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/DevourerofGods/DeathwindGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Ranged/DeathwindGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack)
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace CalamityMod.Items
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Vector2 origin = new Vector2(31f, 29f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/CalamityCustomThrowingDamage/EradicatorGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Items/Weapons/Rogue/EradicatorGlow"), item.Center - Main.screenPosition, null, Color.White, rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47,23 +47,6 @@ namespace CalamityMod.NPCs
|
||||
return 0.05f;
|
||||
}
|
||||
|
||||
/*public override void PostDraw(SpriteBatch spriteBatch, Color drawColor)
|
||||
{
|
||||
SpriteEffects spriteEffects = SpriteEffects.None;
|
||||
if (npc.spriteDirection == 1)
|
||||
{
|
||||
spriteEffects = SpriteEffects.FlipHorizontally;
|
||||
}
|
||||
Vector2 center = new Vector2(npc.Center.X, npc.Center.Y);
|
||||
Vector2 vector11 = new Vector2((float)(Main.npcTexture[npc.type].Width / 2), (float)(Main.npcTexture[npc.type].Height / Main.npcFrameCount[npc.type] / 2));
|
||||
Vector2 vector = center - Main.screenPosition;
|
||||
vector -= new Vector2((float)ModContent.GetTexture("CalamityMod/NPCs/NormalNPCs/IrradiatedSlimeGlow").Width, (float)(ModContent.GetTexture("CalamityMod/NPCs/NormalNPCs/IrradiatedSlimeGlow").Height / Main.npcFrameCount[npc.type])) * 1f / 2f;
|
||||
vector += vector11 * 1f + new Vector2(0f, 0f + 4f + npc.gfxOffY);
|
||||
Microsoft.Xna.Framework.Color color = new Microsoft.Xna.Framework.Color(127 - npc.alpha, 127 - npc.alpha, 127 - npc.alpha, 0).MultiplyRGBA(Microsoft.Xna.Framework.Color.LightYellow);
|
||||
Main.spriteBatch.Draw(ModContent.GetTexture("CalamityMod/NPCs/NormalNPCs/IrradiatedSlimeGlow"), vector,
|
||||
new Microsoft.Xna.Framework.Rectangle?(npc.frame), color, npc.rotation, vector11, 1f, spriteEffects, 0f);
|
||||
}*/
|
||||
|
||||
public override void HitEffect(int hitDirection, double damage)
|
||||
{
|
||||
for (int k = 0; k < 5; k++)
|
||||
|
||||
@@ -41,7 +41,9 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
}
|
||||
|
||||
/*public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
// TODO -- Vanquisher Arrow projectile glowmask doesn't work.
|
||||
/*
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
Vector2 origin = new Vector2(0f, 0f);
|
||||
Color color = Color.White;
|
||||
@@ -52,7 +54,8 @@ namespace CalamityMod.Projectiles
|
||||
color = new Color((int)b2, (int)b2, (int)b2, (int)a2);
|
||||
}
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Projectiles/Ranged/VanquisherArrowGlow"), projectile.Center - Main.screenPosition, null, color, projectile.rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}*/
|
||||
}
|
||||
*/
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,9 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
}
|
||||
|
||||
/*public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
// TODO -- Vanquisher Arrow duplicate projectile glow doesn't work.
|
||||
/*
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
Vector2 origin = new Vector2(0f, 0f);
|
||||
Color color = new Color(0, 0, 0, 0);
|
||||
@@ -72,7 +74,8 @@ namespace CalamityMod.Projectiles
|
||||
color = new Color((int)b2, (int)b2, (int)b2, (int)a2);
|
||||
}
|
||||
spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Projectiles/Typeless/VanquisherArrow2Glow"), projectile.Center - Main.screenPosition, null, color, projectile.rotation, origin, 1f, SpriteEffects.None, 0f);
|
||||
}*/
|
||||
}
|
||||
*/
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
{
|
||||
|
||||
@@ -216,7 +216,7 @@ namespace CalamityMod.Tiles
|
||||
}
|
||||
xOffset *= 288;
|
||||
xPos += xOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/Voidstone_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/Abyss/Voidstone_Glowmask");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(25, 25, 25, 25));
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace CalamityMod.Tiles
|
||||
yOffset *= 270;
|
||||
xPos += xOffset;
|
||||
yPos += yOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralMonolith_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/Astral/AstralMonolithGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(50, 50, 50, 50));
|
||||
|
||||
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
@@ -51,7 +51,7 @@ namespace CalamityMod.Tiles
|
||||
yOffset *= subsheetHeight;
|
||||
xPos += xOffset;
|
||||
yPos += yOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/AstralBrick_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/AstralBrickGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(50, 50, 50, 50));
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -33,7 +33,7 @@ namespace CalamityMod.Tiles
|
||||
{
|
||||
int xPos = Main.tile[i, j].frameX;
|
||||
int yPos = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/Cinderplate_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/CinderplateGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(50, 50, 50, 50));
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -46,7 +46,7 @@ namespace CalamityMod.Tiles
|
||||
public override void PostDraw(int i, int j, SpriteBatch spriteBatch)
|
||||
{
|
||||
Tile tile = Main.tile[i, j];
|
||||
Texture2D sprite = ModContent.GetTexture("CalamityMod/Tiles/BrimstoneSlag_Glowmask");
|
||||
Texture2D sprite = ModContent.GetTexture("CalamityMod/Tiles/Crags/BrimstoneSlagGlow");
|
||||
int frameXOffset = i % 2 * subsheetWidth;
|
||||
int frameYOffset = j % 2 * subsheetHeight;
|
||||
Vector2 zero = new Vector2(Main.offScreenRange, Main.offScreenRange);
|
||||
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
@@ -508,7 +508,7 @@ namespace CalamityMod.Tiles
|
||||
int yDrawPos = Main.tile[i, j].frameY + (uniqueAnimationFrameY * animationFrameHeight);
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureAshen/AshenSlab_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureAshen/AshenSlabGlow");
|
||||
Color drawColour = GetDrawColour(i, j, new Color(64, 64, 64, 64));
|
||||
Tile trackTile = Main.tile[i, j];
|
||||
double num6 = Main.time * 0.08;
|
||||
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@@ -36,7 +36,7 @@ namespace CalamityMod.Tiles
|
||||
{
|
||||
int xPos = Main.tile[i, j].frameX;
|
||||
int yPos = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureAshen/SmoothBrimstoneSlag_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureAshen/SmoothBrimstoneSlagGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(25, 25, 25, 25));
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@@ -34,7 +34,7 @@ namespace CalamityMod.Tiles
|
||||
{
|
||||
int xPos = Main.tile[i, j].frameX;
|
||||
int yPos = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureCosmilite/CosmiliteBrick_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureCosmilite/CosmiliteBrickGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, Color.White);
|
||||
|
||||
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
@@ -38,7 +38,7 @@ namespace CalamityMod.Tiles
|
||||
{
|
||||
int xPos = Main.tile[i, j].frameX;
|
||||
int yPos = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurniturePlaguedPlate/PlaguedPlate_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurniturePlaguedPlate/PlaguedPlateGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(128, 128, 128, 128));
|
||||
|
||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
@@ -217,7 +217,7 @@ namespace CalamityMod.Tiles
|
||||
}
|
||||
xOffset *= 288;
|
||||
xPos += xOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureProfaned/ProfanedRock_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureProfaned/ProfanedRockGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(25, 25, 25, 25));
|
||||
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@@ -50,7 +50,7 @@ namespace CalamityMod.Tiles
|
||||
yOffset *= animationFrameHeight;
|
||||
xPos += xOffset;
|
||||
yPos += yOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureProfaned/RunicProfanedBrick_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureProfaned/RunicProfanedBrickGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(128, 128, 128, 128));
|
||||
|
||||
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
@@ -40,7 +40,7 @@ namespace CalamityMod.Tiles
|
||||
{
|
||||
int xPos = Main.tile[i, j].frameX;
|
||||
int yPos = Main.tile[i, j].frameY;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureStratus/StratusBricks_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureStratus/StratusBricksGlow");
|
||||
Color drawColour = GetDrawColour(i, j, new Color(100, 100, 100, 100));
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
|
||||
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
@@ -215,7 +215,7 @@ namespace CalamityMod.Tiles
|
||||
}
|
||||
xOffset *= 288;
|
||||
xPos += xOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureVoid/SmoothVoidstone_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureVoid/SmoothVoidstoneGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(50, 50, 50, 50));
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -153,7 +153,7 @@ namespace CalamityMod.Tiles
|
||||
}
|
||||
yOffset *= 270;
|
||||
yPos += yOffset;
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureVoid/VoidstoneSlab_Glowmask");
|
||||
Texture2D glowmask = ModContent.GetTexture("CalamityMod/Tiles/FurnitureVoid/VoidstoneSlabGlow");
|
||||
Vector2 zero = Main.drawToScreen ? Vector2.Zero : new Vector2(Main.offScreenRange);
|
||||
Vector2 drawOffset = new Vector2(i * 16 - Main.screenPosition.X, j * 16 - Main.screenPosition.Y) + zero;
|
||||
Color drawColour = GetDrawColour(i, j, new Color(75, 75, 75, 75));
|
||||
|
||||
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |