From 1da702e8a74efef643f595357e32788534f1edf1 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 30 Sep 2022 18:36:05 -0500 Subject: [PATCH] Cleaned up a lot of UI textures/folders --- CalPlayer/CalamityPlayerDrawEffects.cs | 44 +++++++++--------- CalPlayer/CalamityPlayerMiscEffects.cs | 8 ++-- .../DrawLayers}/AmidiasBubble.png | Bin CalPlayer/DrawLayers/AmidiasBubbleLayer.cs | 2 +- .../DrawLayers}/Backpack_AuroraBlazer.png | Bin .../DrawLayers}/Backpack_BlightSpewer.png | Bin .../DrawLayers}/Backpack_BloodBoiler.png | Bin .../DrawLayers}/Backpack_CleansingBlaze.png | Bin .../Backpack_ElementalEruption.png | Bin .../Backpack_FlurrystormCannon.png | Bin .../DrawLayers}/Backpack_HalleysInferno.png | Bin .../DrawLayers}/Backpack_HavocsBreath.png | Bin .../DrawLayers}/Backpack_Meowthrower.png | Bin .../Backpack_OverloadedBlaster.png | Bin .../DrawLayers}/Backpack_Photoviscerator.png | Bin .../DrawLayers}/Backpack_PristineFury.png | Bin .../DrawLayers}/Backpack_Shadethrower.png | Bin .../DrawLayers}/Backpack_SparkSpreader.png | Bin .../Backpack_TerraFlameburster.png | Bin .../DrawLayers}/Backpack_TheEmpyrean.png | Bin .../DrawLayers}/ColdDivinityBody.png | Bin .../DrawLayers/ColdDivinityOverlayLayer.cs | 2 +- .../DrawLayers/ConcentratedVoidAuraLayer.cs | 2 +- CalPlayer/DrawLayers/GemTechGemLayer.cs | 12 ++--- .../DrawLayers/RoverDriveShield.png | Bin CalPlayer/DrawLayers/RoverDriveShieldLayer.cs | 2 +- .../DrawLayers}/VoidConcentrationAura.png | Bin CalamityConfig.cs | 2 + CalamityMod.cs | 4 +- ExtraTextures/CalamityAura.png | Bin 2865 -> 0 bytes ...atorLight.png => SmallGreyscaleCircle.png} | Bin ExtraTextures/SystemBaneLightningEnd.png | Bin 332 -> 0 bytes ExtraTextures/UI/ContactIcon_Ares.png | Bin 347 -> 0 bytes ExtraTextures/UI/ContactIcon_Twins.png | Bin 347 -> 0 bytes ExtraTextures/WulfrumPylon.png | Bin 616 -> 0 bytes Items/DraedonMisc/DraedonsLogHell.cs | 3 +- Items/DraedonMisc/DraedonsLogJungle.cs | 3 +- Items/DraedonMisc/DraedonsLogPlanetoid.cs | 3 +- Items/DraedonMisc/DraedonsLogSnowBiome.cs | 3 +- Items/DraedonMisc/DraedonsLogSunkenSea.cs | 3 +- Items/DraedonMisc/EncryptedSchematicHell.cs | 1 + Items/DraedonMisc/EncryptedSchematicIce.cs | 2 +- Items/DraedonMisc/EncryptedSchematicJungle.cs | 1 + .../EncryptedSchematicPlanetoid.cs | 1 + .../EncryptedSchematicSunkenSea.cs | 1 + .../Mounts/Minecarts}/DoGCartBody.png | Bin Items/Mounts/Minecarts/DoGCartMount.cs | 4 +- .../Mounts/Minecarts}/DoGCartTail.png | Bin ModSupport/WeakReferenceSupport.cs | 6 +-- NPCs/CalamityGlobalTownNPC.cs | 2 +- .../ExoMechs/Ares}/AresArmTopPart1.png | Bin .../ExoMechs/Ares}/AresArmTopPart2.png | Bin .../ExoMechs/Ares}/AresArmTopPart2Glow.png | Bin .../ExoMechs/Ares}/AresArmTopSegment.png | Bin .../ExoMechs/Ares}/AresArmTopSegmentGlow.png | Bin .../ExoMechs/Ares}/AresArmTopShoulder.png | Bin .../ExoMechs/Ares}/AresArmTopShoulderGlow.png | Bin NPCs/ExoMechs/Ares/AresBody.cs | 28 +++++------ .../ExoMechs/Ares}/AresBottomArmConnector.png | Bin .../ExoMechs/Ares}/AresBottomArmPart1.png | Bin .../ExoMechs/Ares}/AresBottomArmPart1Glow.png | Bin .../ExoMechs/Ares}/AresBottomArmPart2.png | Bin .../ExoMechs/Ares}/AresBottomArmPart2Glow.png | Bin .../ExoMechs/Ares}/AresBottomArmShoulder.png | Bin .../Ares}/AresBottomArmShoulderGlow.png | Bin .../ExoMechs/Thanatos}/THanosAura.png | Bin NPCs/ExoMechs/Thanatos/ThanatosHead.cs | 14 +++--- .../Thanatos}/ThanatosReticleHead.png | Bin .../Thanatos}/ThanatosReticleLeft.png | Bin .../Thanatos}/ThanatosReticleProngLeft.png | Bin .../Thanatos}/ThanatosReticleProngRight.png | Bin .../Thanatos}/ThanatosReticleRight.png | Bin .../ExoMechs/Thanatos}/ThanatosReticleTop.png | Bin .../SupremeCalamitas/ForcefieldTexture.png | Bin NPCs/SupremeCalamitas/SupremeCalamitas.cs | 2 +- .../Magic}/BlushieStaffAura.png | Bin .../Magic}/BlushieStaffChain.png | Bin .../Magic}/BlushieStaffFire.png | Bin .../Magic}/BlushieStaffGear.png | Bin Projectiles/Magic/BlushieStaffProj.cs | 8 ++-- Projectiles/Melee/GemTechYellowShard.cs | 2 +- .../Melee}/TaintedArm.png | Bin Projectiles/Melee/TaintedBladeSlasher.cs | 8 ++-- .../Melee}/TaintedForearm.png | Bin .../Melee}/TaintedHand.png | Bin .../Melee}/TaintedHand2.png | Bin Projectiles/Ranged/ExoFlare.cs | 2 +- Projectiles/Ranged/ExoLight.cs | 2 +- Projectiles/Ranged/PrismExplosionLarge.cs | 2 +- Projectiles/Ranged/PrismExplosionSmall.cs | 2 +- Projectiles/Summon/AndromedaDeathrayEnd.png | Bin 0 -> 382 bytes Projectiles/Summon/AndromedaDeathrayMid.png | Bin 0 -> 411 bytes .../Summon/SmallAresArms/ExoskeletonCannon.cs | 2 +- Projectiles/Typeless/GemTechArmorGem.cs | 13 +++--- .../Typeless/GemTechBlueGem.png | Bin .../Typeless/GemTechGreenGem.png | Bin .../Typeless/GemTechPinkGem.png | Bin .../Typeless/GemTechPurpleGem.png | Bin .../Typeless/GemTechRedGem.png | Bin .../Typeless/GemTechYellowGem.png | Bin .../Typeless/SpiritOriginBossBullseye.png | Bin Projectiles/Typeless/SpiritOriginBullseye.cs | 4 +- .../Typeless/SpiritOriginRegularBullseye.png | Bin Systems/DifficultyModeSystem.cs | 8 ++-- Systems/UIManagementSystem.cs | 4 ++ Tiles/DraedonSummoner/CodebreakerTile.cs | 1 + UI/AcidRainUI.cs | 2 +- UI/AstralArcanumUI.cs | 2 +- UI/BossHealthBarManager.cs | 6 +-- UI/BossRushUI.cs | 2 +- .../CalamitasCurseBackground.png | Bin .../CalamitasCurseItemSlot.png | Bin .../CalamitasCurseUI_ArrowDown.png | Bin .../CalamitasCurseUI_ArrowDownClicked.png | Bin .../CalamitasCurseUI_ArrowDownHovered.png | Bin .../CalamitasCurseUI_ArrowUp.png | Bin .../CalamitasCurseUI_ArrowUpClicked.png | Bin .../CalamitasCurseUI_ArrowUpHovered.png | Bin .../CalamitasCurseUI_Button.png | Bin .../CalamitasCurseUI_ButtonClicked.png | Bin .../CalamitasCurseUI_ButtonHovered.png | Bin .../CalamitasEnchantUI.cs | 22 ++++----- .../CurseIcon_Aflame.png | Bin .../CurseIcon_Bloodthirsty.png | Bin .../CurseIcon_Capricious.png | Bin .../CurseIcon_Ephemeral.png | Bin .../CurseIcon_Erratic.png | Bin .../CurseIcon_Evasive.png | Bin .../CurseIcon_Evocative.png | Bin .../CurseIcon_Exhumed.png | Bin .../CurseIcon_Hellbound.png | Bin .../CurseIcon_Incisive.png | Bin .../CurseIcon_Indignant.png | Bin .../CurseIcon_Lecherous.png | Bin .../CurseIcon_Oblatory.png | Bin .../CurseIcon_Obstinate.png | Bin .../CurseIcon_Persecuted.png | Bin .../CurseIcon_Polluted.png | Bin .../CurseIcon_Relentless.png | Bin .../CurseIcon_Resentful.png | Bin .../CurseIcon_Splintered.png | Bin .../CurseIcon_Tainted.png | Bin .../CurseIcon_Traitorous.png | Bin .../CurseIcon_Vindictive.png | Bin .../CurseIcon_Withered.png | Bin .../EnchantmentManager.cs | 26 +++++------ UI/DefenseDamageDisplayUI.cs | 4 +- UI/{ => DraedonLogs}/DraedonLogHellGUI.cs | 8 ++-- UI/{ => DraedonLogs}/DraedonLogJungleGUI.cs | 8 ++-- .../DraedonLogPlanetoidGUI.cs | 6 +-- .../DraedonLogSnowBiomeGUI.cs | 6 +-- .../DraedonLogSunkenSeaGUI.cs | 8 ++-- .../DraedonSchematicHellGUI.cs | 4 +- .../DraedonSchematicIceGUI.cs | 4 +- .../DraedonSchematicJungleGUI.cs | 4 +- .../DraedonSchematicPlanetoidGUI.cs | 4 +- .../DraedonSchematicSunkenSeaGUI.cs | 4 +- .../DraedonLogs}/DraedonsLogArrow.png | Bin .../DraedonLogs}/DraedonsLogArrowHover.png | Bin .../DraedonLogs}/DraedonsLogCragsBiome.png | Bin .../DraedonLogs}/DraedonsLogDoGArmor.png | Bin .../DraedonsLogEutrophicRayGhostBell.png | Bin UI/{ => DraedonLogs}/DraedonsLogGUI.cs | 10 ++-- .../DraedonLogs}/DraedonsLogGiantClam.png | Bin .../DraedonLogs}/DraedonsLogIceBiome.png | Bin .../DraedonLogs}/DraedonsLogJungleBiome.png | Bin .../DraedonsLogMurasamaPhaseslayer.png | Bin .../UI => UI/DraedonLogs}/DraedonsLogPage.png | Bin .../DraedonLogs}/DraedonsLogPermafrost.png | Bin .../DraedonLogs}/DraedonsLogPlagueCell.png | Bin .../DraedonsLogPlaguebringerGoliath.png | Bin .../DraedonLogs}/DraedonsLogPlanetoid.png | Bin .../DraedonLogs}/DraedonsLogPrismBack.png | Bin .../DraedonsLogSunkenSeaBiome.png | Bin .../DraedonLogs}/DraedonsLogWallOfFlesh.png | Bin .../CodebreakerDecyptionBar.png | Bin .../CodebreakerDecyptionBarCharge.png | Bin UI/{ => DraedonSummoning}/CodebreakerUI.cs | 29 ++++++------ .../DraedonSummoning/ContactIcon.png | Bin .../DraedonSummoning}/DecryptCancelIcon.png | Bin .../DraedonSummoning}/DecryptIcon.png | Bin .../DraedonDecrypterBackground.png | Bin .../DraedonDecrypterScreen.png | Bin .../EncryptedSchematicSlotBackground.png | Bin .../ExoMechSelectionUI.cs | 8 ++-- .../DraedonSummoning}/HeadIcon_Ares.png | Bin .../HeadIcon_ArtemisApollo.png | Bin .../DraedonSummoning}/HeadIcon_THanos.png | Bin .../UI => UI/DraedonsArsenal}/ChargeMeter.png | Bin .../DraedonsArsenal}/ChargeMeterBorder.png | Bin UI/{ => DraedonsArsenal}/ChargeMeterUI.cs | 6 +-- .../DraedonsArsenal}/ChargerWeaponSlot.png | Bin UI/{ => DraedonsArsenal}/ChargingStationUI.cs | 4 +- .../LabHologramProjectorUI.cs | 2 +- .../PowerCellFactoryUI.cs | 2 +- .../DraedonsArsenal}/PowerCellSlot_Empty.png | Bin .../DraedonsArsenal}/PowerCellSlot_Filled.png | Bin UI/EnchantmentMetersUI.cs | 4 +- .../HealthManaTextures}/BarBloodOrange.png | Bin .../HealthManaTextures}/BarDragonfruit.png | Bin .../HealthManaTextures}/BarElderberry.png | Bin .../HealthManaTextures}/BarMiracleFruit.png | Bin .../HealthManaTextures}/BarOriginal.png | Bin .../HealthManaTextures}/BarOriginal2.png | Bin .../HealthManaTextures}/HeartBloodOrange.png | Bin .../HealthManaTextures}/HeartDragonfruit.png | Bin .../HealthManaTextures}/HeartElderberry.png | Bin .../HealthManaTextures}/HeartMiracleFruit.png | Bin .../HealthManaTextures}/HeartOriginal.png | Bin .../HealthManaTextures}/HeartOriginal2.png | Bin .../HealthManaTextures}/ManaCometShard.png | Bin .../HealthManaTextures}/ManaEtherealCore.png | Bin .../HealthManaTextures}/ManaOriginal.png | Bin .../HealthManaTextures}/ManaPhantomHeart.png | Bin .../UI => UI/MiscTextures}/AcidRainIcon.png | Bin .../MiscTextures}/AstralArcanumCircles.png | Bin .../UI => UI/MiscTextures}/BossHPComboBar.png | Bin .../UI => UI/MiscTextures}/BossHPMainBar.png | Bin .../MiscTextures}/BossHPSeperatorBar.png | Bin .../UI => UI/MiscTextures}/BossRushIcon.png | Bin .../UI => UI/MiscTextures}/DefenseDamage.png | Bin .../MiscTextures}/DefenseDamageHover.png | Bin .../UI => UI/MiscTextures}/EphemeralBar.png | Bin .../MiscTextures}/EphemeralBarBorder.png | Bin .../MiscTextures}/NPCAlertDisplay.png | Bin .../UI => UI/MiscTextures}/StealthMeter.png | Bin .../MiscTextures}/StealthMeterBar.png | Bin .../MiscTextures}/StealthMeterBarFull.png | Bin .../StealthMeterStrikeIndicator.png | Bin .../ModeIndicator}/ModeIndicatorLock.png | Bin .../ModeIndicator}/ModeIndicatorOutline.png | Bin UI/{ => ModeIndicator}/ModeIndicatorUI.cs | 8 ++-- .../ModeIndicator}/ModeIndicator_Death.png | Bin .../ModeIndicator}/ModeIndicator_Malice.png | Bin .../ModeIndicator}/ModeIndicator_None.png | Bin .../ModeIndicator}/ModeIndicator_Rev.png | Bin .../ModeIndicator_WhereMalice.png | Bin .../UI => UI/Rippers}/AdrenalineBar.png | Bin .../UI => UI/Rippers}/AdrenalineBarBorder.png | Bin .../Rippers}/AdrenalineBarBorderFull.png | Bin .../Rippers}/AdrenalineDisplay_Ectoheart.png | Bin .../AdrenalineDisplay_ElectrolyteGelPack.png | Bin .../AdrenalineDisplay_StarlightFuelCell.png | Bin .../Rippers}/AdrenalineFullAnimation.png | Bin {ExtraTextures/UI => UI/Rippers}/RageBar.png | Bin .../UI => UI/Rippers}/RageBarBorder.png | Bin .../Rippers}/RageDisplay_InfernalBlood.png | Bin .../RageDisplay_MushroomPlasmaRoot.png | Bin .../RageDisplay_RedLightningContainer.png | Bin .../UI => UI/Rippers}/RageFullAnimation.png | Bin UI/{ => Rippers}/RipperUI.cs | 28 +++++------ UI/StealthUI.cs | 8 ++-- Utilities/TileEntityUtils.cs | 4 +- 253 files changed, 232 insertions(+), 214 deletions(-) rename {ExtraTextures => CalPlayer/DrawLayers}/AmidiasBubble.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_AuroraBlazer.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_BlightSpewer.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_BloodBoiler.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_CleansingBlaze.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_ElementalEruption.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_FlurrystormCannon.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_HalleysInferno.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_HavocsBreath.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_Meowthrower.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_OverloadedBlaster.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_Photoviscerator.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_PristineFury.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_Shadethrower.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_SparkSpreader.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_TerraFlameburster.png (100%) rename {ExtraTextures/Tanks => CalPlayer/DrawLayers}/Backpack_TheEmpyrean.png (100%) rename {ExtraTextures => CalPlayer/DrawLayers}/ColdDivinityBody.png (100%) rename ExtraTextures/RoverAccShield.png => CalPlayer/DrawLayers/RoverDriveShield.png (100%) rename {ExtraTextures => CalPlayer/DrawLayers}/VoidConcentrationAura.png (100%) delete mode 100644 ExtraTextures/CalamityAura.png rename ExtraTextures/{PhotovisceratorLight.png => SmallGreyscaleCircle.png} (100%) delete mode 100644 ExtraTextures/SystemBaneLightningEnd.png delete mode 100644 ExtraTextures/UI/ContactIcon_Ares.png delete mode 100644 ExtraTextures/UI/ContactIcon_Twins.png delete mode 100644 ExtraTextures/WulfrumPylon.png rename {ExtraTextures => Items/Mounts/Minecarts}/DoGCartBody.png (100%) rename {ExtraTextures => Items/Mounts/Minecarts}/DoGCartTail.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopPart1.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopPart2.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopPart2Glow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopSegment.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopSegmentGlow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopShoulder.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresArmTopShoulderGlow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmConnector.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmPart1.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmPart1Glow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmPart2.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmPart2Glow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmShoulder.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Ares}/AresBottomArmShoulderGlow.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/THanosAura.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleHead.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleLeft.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleProngLeft.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleProngRight.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleRight.png (100%) rename {ExtraTextures => NPCs/ExoMechs/Thanatos}/ThanatosReticleTop.png (100%) rename ExtraTextures/CalamitasShield.png => NPCs/SupremeCalamitas/ForcefieldTexture.png (100%) rename {ExtraTextures => Projectiles/Magic}/BlushieStaffAura.png (100%) rename {ExtraTextures => Projectiles/Magic}/BlushieStaffChain.png (100%) rename {ExtraTextures => Projectiles/Magic}/BlushieStaffFire.png (100%) rename {ExtraTextures => Projectiles/Magic}/BlushieStaffGear.png (100%) rename {ExtraTextures => Projectiles/Melee}/TaintedArm.png (100%) rename {ExtraTextures => Projectiles/Melee}/TaintedForearm.png (100%) rename {ExtraTextures => Projectiles/Melee}/TaintedHand.png (100%) rename {ExtraTextures => Projectiles/Melee}/TaintedHand2.png (100%) create mode 100644 Projectiles/Summon/AndromedaDeathrayEnd.png create mode 100644 Projectiles/Summon/AndromedaDeathrayMid.png rename ExtraTextures/GemTechArmor/BlueGem.png => Projectiles/Typeless/GemTechBlueGem.png (100%) rename ExtraTextures/GemTechArmor/GreenGem.png => Projectiles/Typeless/GemTechGreenGem.png (100%) rename ExtraTextures/GemTechArmor/PinkGem.png => Projectiles/Typeless/GemTechPinkGem.png (100%) rename ExtraTextures/GemTechArmor/PurpleGem.png => Projectiles/Typeless/GemTechPurpleGem.png (100%) rename ExtraTextures/GemTechArmor/RedGem.png => Projectiles/Typeless/GemTechRedGem.png (100%) rename ExtraTextures/GemTechArmor/YellowGem.png => Projectiles/Typeless/GemTechYellowGem.png (100%) rename ExtraTextures/DaawnlightSpiritOriginBossBullseye.png => Projectiles/Typeless/SpiritOriginBossBullseye.png (100%) rename ExtraTextures/DaawnlightSpiritOriginRegularBullseye.png => Projectiles/Typeless/SpiritOriginRegularBullseye.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseBackground.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseItemSlot.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowDown.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowDownClicked.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowDownHovered.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowUp.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowUpClicked.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ArrowUpHovered.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_Button.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ButtonClicked.png (100%) rename {ExtraTextures/UI => UI/CalamitasEnchantments}/CalamitasCurseUI_ButtonHovered.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Aflame.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Bloodthirsty.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Capricious.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Ephemeral.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Erratic.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Evasive.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Evocative.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Exhumed.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Hellbound.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Incisive.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Indignant.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Lecherous.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Oblatory.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Obstinate.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Persecuted.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Polluted.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Relentless.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Resentful.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Splintered.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Tainted.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Traitorous.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Vindictive.png (100%) rename {ExtraTextures/UI/EnchantmentSymbols => UI/CalamitasEnchantments}/CurseIcon_Withered.png (100%) rename UI/{ => DraedonLogs}/DraedonLogHellGUI.cs (92%) rename UI/{ => DraedonLogs}/DraedonLogJungleGUI.cs (92%) rename UI/{ => DraedonLogs}/DraedonLogPlanetoidGUI.cs (94%) rename UI/{ => DraedonLogs}/DraedonLogSnowBiomeGUI.cs (94%) rename UI/{ => DraedonLogs}/DraedonLogSunkenSeaGUI.cs (92%) rename UI/{ => DraedonLogs}/DraedonSchematicHellGUI.cs (83%) rename UI/{ => DraedonLogs}/DraedonSchematicIceGUI.cs (81%) rename UI/{ => DraedonLogs}/DraedonSchematicJungleGUI.cs (84%) rename UI/{ => DraedonLogs}/DraedonSchematicPlanetoidGUI.cs (84%) rename UI/{ => DraedonLogs}/DraedonSchematicSunkenSeaGUI.cs (84%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogArrow.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogArrowHover.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogCragsBiome.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogDoGArmor.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogEutrophicRayGhostBell.png (100%) rename UI/{ => DraedonLogs}/DraedonsLogGUI.cs (97%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogGiantClam.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogIceBiome.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogJungleBiome.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogMurasamaPhaseslayer.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPage.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPermafrost.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPlagueCell.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPlaguebringerGoliath.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPlanetoid.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogPrismBack.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogSunkenSeaBiome.png (100%) rename {ExtraTextures/UI => UI/DraedonLogs}/DraedonsLogWallOfFlesh.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/CodebreakerDecyptionBar.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/CodebreakerDecyptionBarCharge.png (100%) rename UI/{ => DraedonSummoning}/CodebreakerUI.cs (96%) rename ExtraTextures/UI/ContactIcon_THanos.png => UI/DraedonSummoning/ContactIcon.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/DecryptCancelIcon.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/DecryptIcon.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/DraedonDecrypterBackground.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/DraedonDecrypterScreen.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/EncryptedSchematicSlotBackground.png (100%) rename UI/{ => DraedonSummoning}/ExoMechSelectionUI.cs (96%) rename {ExtraTextures/UI => UI/DraedonSummoning}/HeadIcon_Ares.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/HeadIcon_ArtemisApollo.png (100%) rename {ExtraTextures/UI => UI/DraedonSummoning}/HeadIcon_THanos.png (100%) rename {ExtraTextures/UI => UI/DraedonsArsenal}/ChargeMeter.png (100%) rename {ExtraTextures/UI => UI/DraedonsArsenal}/ChargeMeterBorder.png (100%) rename UI/{ => DraedonsArsenal}/ChargeMeterUI.cs (96%) rename {ExtraTextures/UI => UI/DraedonsArsenal}/ChargerWeaponSlot.png (100%) rename UI/{ => DraedonsArsenal}/ChargingStationUI.cs (99%) rename UI/{ => DraedonsArsenal}/LabHologramProjectorUI.cs (99%) rename UI/{ => DraedonsArsenal}/PowerCellFactoryUI.cs (99%) rename {ExtraTextures/UI => UI/DraedonsArsenal}/PowerCellSlot_Empty.png (100%) rename {ExtraTextures/UI => UI/DraedonsArsenal}/PowerCellSlot_Filled.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarBloodOrange.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarDragonfruit.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarElderberry.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarMiracleFruit.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarOriginal.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/BarOriginal2.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartBloodOrange.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartDragonfruit.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartElderberry.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartMiracleFruit.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartOriginal.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/HeartOriginal2.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/ManaCometShard.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/ManaEtherealCore.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/ManaOriginal.png (100%) rename {ExtraTextures/UI/HealthMana => UI/HealthManaTextures}/ManaPhantomHeart.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/AcidRainIcon.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/AstralArcanumCircles.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/BossHPComboBar.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/BossHPMainBar.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/BossHPSeperatorBar.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/BossRushIcon.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/DefenseDamage.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/DefenseDamageHover.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/EphemeralBar.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/EphemeralBarBorder.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/NPCAlertDisplay.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/StealthMeter.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/StealthMeterBar.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/StealthMeterBarFull.png (100%) rename {ExtraTextures/UI => UI/MiscTextures}/StealthMeterStrikeIndicator.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicatorLock.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicatorOutline.png (100%) rename UI/{ => ModeIndicator}/ModeIndicatorUI.cs (98%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicator_Death.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicator_Malice.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicator_None.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicator_Rev.png (100%) rename {ExtraTextures/UI => UI/ModeIndicator}/ModeIndicator_WhereMalice.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineBar.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineBarBorder.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineBarBorderFull.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineDisplay_Ectoheart.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineDisplay_ElectrolyteGelPack.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineDisplay_StarlightFuelCell.png (100%) rename {ExtraTextures/UI => UI/Rippers}/AdrenalineFullAnimation.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageBar.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageBarBorder.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageDisplay_InfernalBlood.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageDisplay_MushroomPlasmaRoot.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageDisplay_RedLightningContainer.png (100%) rename {ExtraTextures/UI => UI/Rippers}/RageFullAnimation.png (100%) rename UI/{ => Rippers}/RipperUI.cs (95%) diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index 01a9230036..24ba6bf188 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -117,12 +117,12 @@ namespace CalamityMod.CalPlayer } // Hearts - Asset bOrange = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartBloodOrange"); - Asset mFruit = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartMiracleFruit"); - Asset eBerry = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartElderberry"); - Asset dFruit = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartDragonfruit"); - Asset heartOriginal = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartOriginal"); // Life crystal - Asset heartOriginal2 = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/HeartOriginal2"); // Life fruit + Asset bOrange = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartBloodOrange"); + Asset mFruit = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartMiracleFruit"); + Asset eBerry = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartElderberry"); + Asset dFruit = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartDragonfruit"); + Asset heartOriginal = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartOriginal"); // Life crystal + Asset heartOriginal2 = ModContent.Request("CalamityMod/UI/HealthManaTextures/HeartOriginal2"); // Life fruit int totalFruit = (calamityPlayer.mFruit ? 1 : 0) + @@ -636,22 +636,22 @@ namespace CalamityMod.CalPlayer }; List tankTextures = new List() { - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_FlurrystormCannon").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_BlightSpewer").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_HavocsBreath").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_SparkSpreader").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_HalleysInferno").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_CleansingBlaze").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_ElementalEruption").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_TheEmpyrean").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_Meowthrower").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_OverloadedBlaster").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_TerraFlameburster").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_Photoviscerator").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_Shadethrower").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_BloodBoiler").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_PristineFury").Value, - ModContent.Request("CalamityMod/ExtraTextures/Tanks/Backpack_AuroraBlazer").Value + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_FlurrystormCannon").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_BlightSpewer").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_HavocsBreath").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_SparkSpreader").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_HalleysInferno").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_CleansingBlaze").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_ElementalEruption").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_TheEmpyrean").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_Meowthrower").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_OverloadedBlaster").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_TerraFlameburster").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_Photoviscerator").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_Shadethrower").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_BloodBoiler").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_PristineFury").Value, + ModContent.Request("CalamityMod/CalPlayer/DrawLayers/Backpack_AuroraBlazer").Value }; if (tankItems.Contains(item.type) || drawPlayer.Calamity().plaguebringerCarapace) { diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 98b07595d9..c16112b5f8 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2003,10 +2003,10 @@ namespace CalamityMod.CalPlayer { Asset rain3 = ModContent.Request("CalamityMod/ExtraTextures/Rain3"); Asset rainOriginal = ModContent.Request("CalamityMod/ExtraTextures/RainOriginal"); - Asset cometShard = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/ManaCometShard"); - Asset etherealCore = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/ManaEtherealCore"); - Asset phantomHeart = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/ManaPhantomHeart"); - Asset manaOriginal = ModContent.Request("CalamityMod/ExtraTextures/UI/HealthMana/ManaOriginal"); + Asset cometShard = ModContent.Request("CalamityMod/UI/HealthManaTextures/ManaCometShard"); + Asset etherealCore = ModContent.Request("CalamityMod/UI/HealthManaTextures/ManaEtherealCore"); + Asset phantomHeart = ModContent.Request("CalamityMod/UI/HealthManaTextures/ManaPhantomHeart"); + Asset manaOriginal = ModContent.Request("CalamityMod/UI/HealthManaTextures/ManaOriginal"); Asset carpetAuric = ModContent.Request("CalamityMod/ExtraTextures/AuricCarpet"); Asset carpetOriginal = ModContent.Request("CalamityMod/ExtraTextures/Carpet"); diff --git a/ExtraTextures/AmidiasBubble.png b/CalPlayer/DrawLayers/AmidiasBubble.png similarity index 100% rename from ExtraTextures/AmidiasBubble.png rename to CalPlayer/DrawLayers/AmidiasBubble.png diff --git a/CalPlayer/DrawLayers/AmidiasBubbleLayer.cs b/CalPlayer/DrawLayers/AmidiasBubbleLayer.cs index 0862fb0e53..fbf4bd6510 100644 --- a/CalPlayer/DrawLayers/AmidiasBubbleLayer.cs +++ b/CalPlayer/DrawLayers/AmidiasBubbleLayer.cs @@ -14,7 +14,7 @@ namespace CalamityMod.CalPlayer.DrawLayers protected override void Draw(ref PlayerDrawSet drawInfo) { - Texture2D texture = ModContent.Request("CalamityMod/ExtraTextures/AmidiasBubble").Value; + Texture2D texture = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/AmidiasBubble").Value; int drawX = (int)(drawInfo.Center.X - Main.screenPosition.X); int drawY = (int)(drawInfo.Center.Y - Main.screenPosition.Y); drawInfo.DrawDataCache.Add(new DrawData(texture, new Vector2(drawX, drawY), null, Color.White, 0f, texture.Size() * 0.5f, 1f, SpriteEffects.None, 0)); diff --git a/ExtraTextures/Tanks/Backpack_AuroraBlazer.png b/CalPlayer/DrawLayers/Backpack_AuroraBlazer.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_AuroraBlazer.png rename to CalPlayer/DrawLayers/Backpack_AuroraBlazer.png diff --git a/ExtraTextures/Tanks/Backpack_BlightSpewer.png b/CalPlayer/DrawLayers/Backpack_BlightSpewer.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_BlightSpewer.png rename to CalPlayer/DrawLayers/Backpack_BlightSpewer.png diff --git a/ExtraTextures/Tanks/Backpack_BloodBoiler.png b/CalPlayer/DrawLayers/Backpack_BloodBoiler.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_BloodBoiler.png rename to CalPlayer/DrawLayers/Backpack_BloodBoiler.png diff --git a/ExtraTextures/Tanks/Backpack_CleansingBlaze.png b/CalPlayer/DrawLayers/Backpack_CleansingBlaze.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_CleansingBlaze.png rename to CalPlayer/DrawLayers/Backpack_CleansingBlaze.png diff --git a/ExtraTextures/Tanks/Backpack_ElementalEruption.png b/CalPlayer/DrawLayers/Backpack_ElementalEruption.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_ElementalEruption.png rename to CalPlayer/DrawLayers/Backpack_ElementalEruption.png diff --git a/ExtraTextures/Tanks/Backpack_FlurrystormCannon.png b/CalPlayer/DrawLayers/Backpack_FlurrystormCannon.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_FlurrystormCannon.png rename to CalPlayer/DrawLayers/Backpack_FlurrystormCannon.png diff --git a/ExtraTextures/Tanks/Backpack_HalleysInferno.png b/CalPlayer/DrawLayers/Backpack_HalleysInferno.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_HalleysInferno.png rename to CalPlayer/DrawLayers/Backpack_HalleysInferno.png diff --git a/ExtraTextures/Tanks/Backpack_HavocsBreath.png b/CalPlayer/DrawLayers/Backpack_HavocsBreath.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_HavocsBreath.png rename to CalPlayer/DrawLayers/Backpack_HavocsBreath.png diff --git a/ExtraTextures/Tanks/Backpack_Meowthrower.png b/CalPlayer/DrawLayers/Backpack_Meowthrower.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_Meowthrower.png rename to CalPlayer/DrawLayers/Backpack_Meowthrower.png diff --git a/ExtraTextures/Tanks/Backpack_OverloadedBlaster.png b/CalPlayer/DrawLayers/Backpack_OverloadedBlaster.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_OverloadedBlaster.png rename to CalPlayer/DrawLayers/Backpack_OverloadedBlaster.png diff --git a/ExtraTextures/Tanks/Backpack_Photoviscerator.png b/CalPlayer/DrawLayers/Backpack_Photoviscerator.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_Photoviscerator.png rename to CalPlayer/DrawLayers/Backpack_Photoviscerator.png diff --git a/ExtraTextures/Tanks/Backpack_PristineFury.png b/CalPlayer/DrawLayers/Backpack_PristineFury.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_PristineFury.png rename to CalPlayer/DrawLayers/Backpack_PristineFury.png diff --git a/ExtraTextures/Tanks/Backpack_Shadethrower.png b/CalPlayer/DrawLayers/Backpack_Shadethrower.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_Shadethrower.png rename to CalPlayer/DrawLayers/Backpack_Shadethrower.png diff --git a/ExtraTextures/Tanks/Backpack_SparkSpreader.png b/CalPlayer/DrawLayers/Backpack_SparkSpreader.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_SparkSpreader.png rename to CalPlayer/DrawLayers/Backpack_SparkSpreader.png diff --git a/ExtraTextures/Tanks/Backpack_TerraFlameburster.png b/CalPlayer/DrawLayers/Backpack_TerraFlameburster.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_TerraFlameburster.png rename to CalPlayer/DrawLayers/Backpack_TerraFlameburster.png diff --git a/ExtraTextures/Tanks/Backpack_TheEmpyrean.png b/CalPlayer/DrawLayers/Backpack_TheEmpyrean.png similarity index 100% rename from ExtraTextures/Tanks/Backpack_TheEmpyrean.png rename to CalPlayer/DrawLayers/Backpack_TheEmpyrean.png diff --git a/ExtraTextures/ColdDivinityBody.png b/CalPlayer/DrawLayers/ColdDivinityBody.png similarity index 100% rename from ExtraTextures/ColdDivinityBody.png rename to CalPlayer/DrawLayers/ColdDivinityBody.png diff --git a/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs b/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs index 74360671d6..d8199bbd9f 100644 --- a/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs +++ b/CalPlayer/DrawLayers/ColdDivinityOverlayLayer.cs @@ -19,7 +19,7 @@ namespace CalamityMod.CalPlayer.DrawLayers protected override void Draw(ref PlayerDrawSet drawInfo) { - Texture2D texture = ModContent.Request("CalamityMod/ExtraTextures/ColdDivinityBody").Value; + Texture2D texture = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/ColdDivinityBody").Value; int drawX = (int)(drawInfo.Center.X - Main.screenPosition.X); int drawY = (int)(drawInfo.Center.Y - Main.screenPosition.Y); Player drawPlayer = drawInfo.drawPlayer; diff --git a/CalPlayer/DrawLayers/ConcentratedVoidAuraLayer.cs b/CalPlayer/DrawLayers/ConcentratedVoidAuraLayer.cs index dfad63ed0e..74ea062c1e 100644 --- a/CalPlayer/DrawLayers/ConcentratedVoidAuraLayer.cs +++ b/CalPlayer/DrawLayers/ConcentratedVoidAuraLayer.cs @@ -20,7 +20,7 @@ namespace CalamityMod.CalPlayer.DrawLayers protected override void Draw(ref PlayerDrawSet drawInfo) { Player drawPlayer = drawInfo.drawPlayer; - Texture2D tex = ModContent.Request("CalamityMod/ExtraTextures/VoidConcentrationAura").Value; + Texture2D tex = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/VoidConcentrationAura").Value; Vector2 drawPos = drawInfo.Center - Main.screenPosition + new Vector2(0f, drawPlayer.gfxOffY); drawPos.Y -= 9f; diff --git a/CalPlayer/DrawLayers/GemTechGemLayer.cs b/CalPlayer/DrawLayers/GemTechGemLayer.cs index e4fbfd4155..71dae348e0 100644 --- a/CalPlayer/DrawLayers/GemTechGemLayer.cs +++ b/CalPlayer/DrawLayers/GemTechGemLayer.cs @@ -31,27 +31,27 @@ namespace CalamityMod.CalPlayer.DrawLayers { case 0: default: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/RedGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechRedGem").Value; gemType = GemTechArmorGemType.Rogue; break; case 1: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/YellowGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechYellowGem").Value; gemType = GemTechArmorGemType.Melee; break; case 2: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/GreenGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechGreenGem").Value; gemType = GemTechArmorGemType.Ranged; break; case 3: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/BlueGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechBlueGem").Value; gemType = GemTechArmorGemType.Summoner; break; case 4: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/PurpleGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechPurpleGem").Value; gemType = GemTechArmorGemType.Magic; break; case 5: - gemTexture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/PinkGem").Value; + gemTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechPinkGem").Value; gemType = GemTechArmorGemType.Base; pulseFactor = 2.5f; break; diff --git a/ExtraTextures/RoverAccShield.png b/CalPlayer/DrawLayers/RoverDriveShield.png similarity index 100% rename from ExtraTextures/RoverAccShield.png rename to CalPlayer/DrawLayers/RoverDriveShield.png diff --git a/CalPlayer/DrawLayers/RoverDriveShieldLayer.cs b/CalPlayer/DrawLayers/RoverDriveShieldLayer.cs index 7f2d481d68..e1c036b7d6 100644 --- a/CalPlayer/DrawLayers/RoverDriveShieldLayer.cs +++ b/CalPlayer/DrawLayers/RoverDriveShieldLayer.cs @@ -21,7 +21,7 @@ namespace CalamityMod.CalPlayer.DrawLayers protected override void Draw(ref PlayerDrawSet drawInfo) { Player drawPlayer = drawInfo.drawPlayer; - Texture2D texture = ModContent.Request("CalamityMod/ExtraTextures/RoverAccShield").Value; + Texture2D texture = ModContent.Request("CalamityMod/CalPlayer/DrawLayers/RoverDriveShield").Value; Vector2 drawPos = drawPlayer.Center - Main.screenPosition + new Vector2(0f, drawPlayer.gfxOffY); Rectangle frame = texture.Frame(1, 11, 0, drawPlayer.Calamity().roverFrame); Color color = Color.White * 0.625f; diff --git a/ExtraTextures/VoidConcentrationAura.png b/CalPlayer/DrawLayers/VoidConcentrationAura.png similarity index 100% rename from ExtraTextures/VoidConcentrationAura.png rename to CalPlayer/DrawLayers/VoidConcentrationAura.png diff --git a/CalamityConfig.cs b/CalamityConfig.cs index e6305fc419..f5553c1b85 100644 --- a/CalamityConfig.cs +++ b/CalamityConfig.cs @@ -15,6 +15,8 @@ using Terraria.Localization; using Terraria.ModLoader; using Terraria.ModLoader.Config; using CalamityMod.Items.PermanentBoosters; +using CalamityMod.UI.Rippers; +using CalamityMod.UI.DraedonsArsenal; namespace CalamityMod { diff --git a/CalamityMod.cs b/CalamityMod.cs index 6ec09e1bef..adffe9f219 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -63,6 +63,8 @@ using CalamityMod.Schematics; using CalamityMod.Skies; using CalamityMod.UI; using CalamityMod.UI.CalamitasEnchants; +using CalamityMod.UI.DraedonsArsenal; +using CalamityMod.UI.Rippers; using CalamityMod.Waters; using CalamityMod.World; using Microsoft.Xna.Framework; @@ -220,7 +222,7 @@ namespace CalamityMod ForegroundDrawing.ForegroundManager.Load(); // Wikithis support - WeakReferenceSupport.WikiThisSupport(); + WeakReferenceSupport.WikiThisSupport(); } CooldownRegistry.Load(); diff --git a/ExtraTextures/CalamityAura.png b/ExtraTextures/CalamityAura.png deleted file mode 100644 index fddcf00e77aa60506a75a57c2a50ed002edda3ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2865 zcmeH}dpOkj9>;&=GSpxgCeyI|hLB50HEP^{GlR+)ySeYAF`+_bDva25#&df1Ip@#w_wMI;zR&0V{r>lTecs>q^JVz^ zk>HwWO#lGkKHgA(qT>KSsTHf>z9)~;tpuTAH+Hq9? z*aY|=3?eAbn~(?IZ`-C2f7jmx{%QpDvscm;?*vE+@C#i3YZnl>tZuHDzea+07!?4t zIyaUQulURx08p#(fjoj}k#AVcbMt$)K){t-%3L*vTa zTpo?@mJV)RbD`Jqu_w(YY$eF`R(G}ffUDrxP}ukaGYD%Vw?+Im^RNv>>gMJI6$v{N z)EaS*3=ikwVoBi_I@iJ|V>TVobQ)qWa&Suf#oZH$u7$URmnx}m&1cw8jSx!TDdUKy zzV*QNie(770|C7@CywhT?k71?j2CY@^DE%?mFf$oqiIC(_gSRn9LqN88q5u~;@`~T zK9d+MpBMabwk3VNt06z9|*HOl5VFG;@(B3)LKsO z&8{FWdy9Oo54`jqk-=r+dZn>tX87j{_qdzEVEMhK`r)%H!Rq+(4Cn6i^#O zmTnqJQ(5WJ#ar;wW~0oQ%%vPya`_6$?~NfM;YxyhP%O2e5zaZ5Y-4jSFVE^pQ}NQ} z-ivUI^mi|RBec61H6|vUe03C+M4$7;x!&_YMtv0M70jWhQAQMXcEzyCuLHZtjIaU| zc{7bwH6o)D8W^^(wwxjsR>xkNbn^AP@F z`kaU{L@yI3GI%3wmpr-Orqqs|!#yQqZuws9l#Czex)bwPcHjD6Bp)GtCzTopizetZ z6Z>UG>t?M?OBFF5EV@FP8@1S>iUys#k?vxB2c1rp7iOAz=LRim`iCV$r87FB{>Vp_ zBz`bxGrGH6SoFnd&XHeDeV?5O27PEy=kb8EMl=C=A%8SF=fQ@cKmRIWQb&ZP6t?W6 zSs6O>OLx2WpQYU9nm&8Cz>qxGU7?al_znzDU_KmWY?P=zZWUa8;PQRQn>C9tw<_VD zxn&)_>-JI=?4E)74n)f&%c2F zuJ`WF_b)oKNoGT)MEl7YHxxDBSBZ7dX=dYALxTq7CY!xXAvO+nG{)}~qn>T#I8r z`k`IeBGI9HN_1tiMA41pdA-g)bp?yZfoTrf)IZ(PxN}19r~b&X)d*SY;`|~3_<0{E z&Zh{rFwnT=&L^0w!W!Z>gGia)AE@UE)=~--Dn&Tlm0?0~P@(e4wdQW~*~&XnAKEP^ zkur0GNn#X|6?(@GG5(Goe^uB0c0eizJ#r|{rvvvQ3Q11z9)Rr-;>GRHSRc0XCARJ4z#Gg=0;}>{4t!g6%=R@B+v<^aoqJE*i9Mf> zI4B<#3G4&$g|O{kF#m(%^2|k!>z*5$1+||+NHq6JC%`@rq+03(3agD%;pp%L_#-{8 z2k& zcFiKIV76bV%?(-0S-%wOl9TJjpCrkZ>}1p-(`%9grOOq@a>6P9B)61+FEP_7GF^@> zlcH+jjN-^w`J3BlA&9ZwXW*l3-NT8@tzP%}b!vSsAnSDDSxy#K8JVoAMZxALmUDB< zW)UmhSAI##8mnWB>b@P3sqQ1wGi)0QNzU(F5FL@xWhy5GtrrNVdBb&iQ4WFGyggL) zPsRuhC)V444OS-7DHU}ax#|%_Ts1>e9lOee1^w|veMPVuQ@kW-s&dGH-c5V8&ty_i z|3`rQ7ns$0o$`(J5FmWIER?lMTShiQRa;P7n+{k;mrHu)A>)njj1R#Ns_{IQ^>3pP BNWcI9 diff --git a/ExtraTextures/PhotovisceratorLight.png b/ExtraTextures/SmallGreyscaleCircle.png similarity index 100% rename from ExtraTextures/PhotovisceratorLight.png rename to ExtraTextures/SmallGreyscaleCircle.png diff --git a/ExtraTextures/SystemBaneLightningEnd.png b/ExtraTextures/SystemBaneLightningEnd.png deleted file mode 100644 index dc82e8c24990256ea7690ed4f9707209a8a682ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmeAS@N?(olHy`uVBq!ia0vp^96&6^!3HF|1ZAax6k~CayA#8@b22Z19F}xPUq=Rp zjs4tz5?O(K&H|6fVg?4jgCNYfV`BDOpx{GK7sn6_|Kvaa|JyU$9bj2n$aHMNgb5xR z(mY}7uC)TH=`?B{IpPdDF&?g8Q4q_2VA! zWld1w5a{8a!=<94a=;``IPKh=lMXj#^YZdm1oK?(m$$cjc-W_>r$@fv;kR#Pb<_Ce z?e4V9Y7^b?=g-g2T2p$No}HT;&9Nx5;akFt4J9uxNd~AfUtS---%cqx#ZzE`NxXpp ZFlb!sm?H({-GQEE@O1TaS?83{1OP*qbl(5~ diff --git a/ExtraTextures/UI/ContactIcon_Ares.png b/ExtraTextures/UI/ContactIcon_Ares.png deleted file mode 100644 index 494e0c4b9742c207bf5a17569c01752f6ce7f8ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 347 zcmeAS@N?(olHy`uVBq!ia0vp^av;pX3?zBp#Z3TGjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCik#1AIbU|NsB+X`AMmGiN>(cpkU2Tj-r}=>OMkC71dZJ1%aS)VKBJvJaWR z{uf++ozr`$ZeqejpuVj0wyHo%uq4PY_&*w8P+dDS2`I@~;1OBOz`%D1gc(IOyc&Rl zQ#@T9LoEE4UOdRxqQK*NG3j)G=*0j3Z@rYxdgSH(EboZiB8ipuV(E)ge)fu|F3`_E zS{XURb<^|9g_Te5%{(de^N$wmW{uTxd)8UzOAE#cBwwu!7hNgZ!&?|;+jos^bF2Gw zqvLBIPVZq}#?oVGmSAyc+Gm;163NY3TMJAC<=Z41-&q{jSo(j)&FR;49$&7>v@Loc YU(2LXc+V%h1L!^mPgg&ebxsLQ0C5tN!vFvP diff --git a/ExtraTextures/UI/ContactIcon_Twins.png b/ExtraTextures/UI/ContactIcon_Twins.png deleted file mode 100644 index 9e654fccf0c6f1a6377b7732209bb013556c0208..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 347 zcmeAS@N?(olHy`uVBq!ia0vp^av;pX3?zBp#Z3TGjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCik#1AIbU|NsB6>_g_6GiQ1a)tOJs`c&Zg>wm$gZJKGD=l}nIJoCeyzO640 z{r`ITb&f;R#JS$}z$3Dlfr0NJ2s7@OnEe(g zIK|V&F~q`u>ZRL!EebrYfmx>m_I&%l|C-#&lQw6k{8cKMslj=)Zrbyp6WzX3QWJFc zpZdJXp! zdheFb=iu*s%rlZVe?GF%?Z9iP&oYl$uO2=;RiHC*)|(NuWIHl2yYbux{txr)z4*}Q$iB}K*FIG diff --git a/ExtraTextures/WulfrumPylon.png b/ExtraTextures/WulfrumPylon.png deleted file mode 100644 index c578407dd3457bdf2eedb9f8085748718a475571..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmeAS@N?(olHy`uVBq!ia0vp^dJGJVA{@*>R`SO$RX~cdILO_JVcj{Imq3nLfKP}k zkWTMRnZ3HyH#*qC!A-X{zA8E3+{smk{yXO#h~4%7r&diw%OQgbbv=eOV59p~ErKgCAQds_ZoA<=sdf&T>a z?)R;7=)5juy+?18!Ev_#S{n}}e<{vtd@yZl1;@T8RiaxLA4)DcSN%N8_+I&~O6KJ) zLhr5LuK1AY)%oD*!Rece^=}0}+Opx2%%PVD=N5Y{F33vFd=}<(*23I3`GY{x8r7Xg zeot|dXb;X})ZH9n#C88Phm2+To4bBH!uK>@RzATM|N2(gonsHyX6%&e&-Y$iAi*v# z!9IPh)0Nza9GTcXnk);s9t%7$;FDngWG=KgNm%T0Xr0tG&47n<{_N2Rcs%FN8!?T- ze*!5o=cXREn8*D1!6lJJxrdb=3p~tjUD2du)~Cn!*kX5K#J<|gpMv&$(E4DeBH6or zVMm5@*rR^SD-n+!c6_Zl#C2Sfo&B)Iw}Lr^1#1sjRQ!=S)+nPqWA~b5%j`^L;fFo0 zjfX8PB#v!te_SsUqiw(^*IuY_yzlIs)W+-Kv5Y|vZ;S0>T5?D}f4#E9{v+0l79B{G zsY#HDvCEYC5-8!$94hTYjq~-1LK;()78&qol`;+0B~^? A{r~^~ diff --git a/Items/DraedonMisc/DraedonsLogHell.cs b/Items/DraedonMisc/DraedonsLogHell.cs index a24c2155b9..59410d79f6 100644 --- a/Items/DraedonMisc/DraedonsLogHell.cs +++ b/Items/DraedonMisc/DraedonsLogHell.cs @@ -1,5 +1,6 @@ -using CalamityMod.Rarities; +using CalamityMod.Rarities; using CalamityMod.UI; +using CalamityMod.UI.DraedonLogs; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/DraedonMisc/DraedonsLogJungle.cs b/Items/DraedonMisc/DraedonsLogJungle.cs index c516d8ec11..9c2a5ad6d0 100644 --- a/Items/DraedonMisc/DraedonsLogJungle.cs +++ b/Items/DraedonMisc/DraedonsLogJungle.cs @@ -1,5 +1,6 @@ -using CalamityMod.Rarities; +using CalamityMod.Rarities; using CalamityMod.UI; +using CalamityMod.UI.DraedonLogs; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/DraedonMisc/DraedonsLogPlanetoid.cs b/Items/DraedonMisc/DraedonsLogPlanetoid.cs index 5f2d05c18c..25a0ac3e0b 100644 --- a/Items/DraedonMisc/DraedonsLogPlanetoid.cs +++ b/Items/DraedonMisc/DraedonsLogPlanetoid.cs @@ -1,5 +1,6 @@ -using CalamityMod.Rarities; +using CalamityMod.Rarities; using CalamityMod.UI; +using CalamityMod.UI.DraedonLogs; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/DraedonMisc/DraedonsLogSnowBiome.cs b/Items/DraedonMisc/DraedonsLogSnowBiome.cs index 360bb47b61..b819ae0e56 100644 --- a/Items/DraedonMisc/DraedonsLogSnowBiome.cs +++ b/Items/DraedonMisc/DraedonsLogSnowBiome.cs @@ -1,5 +1,6 @@ -using CalamityMod.Rarities; +using CalamityMod.Rarities; using CalamityMod.UI; +using CalamityMod.UI.DraedonLogs; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/DraedonMisc/DraedonsLogSunkenSea.cs b/Items/DraedonMisc/DraedonsLogSunkenSea.cs index bcc7d5487e..a65ce9b63b 100644 --- a/Items/DraedonMisc/DraedonsLogSunkenSea.cs +++ b/Items/DraedonMisc/DraedonsLogSunkenSea.cs @@ -1,5 +1,6 @@ -using CalamityMod.Rarities; +using CalamityMod.Rarities; using CalamityMod.UI; +using CalamityMod.UI.DraedonLogs; using Terraria; using Terraria.ID; using Terraria.ModLoader; diff --git a/Items/DraedonMisc/EncryptedSchematicHell.cs b/Items/DraedonMisc/EncryptedSchematicHell.cs index 44ae788514..ba3d61e5ca 100644 --- a/Items/DraedonMisc/EncryptedSchematicHell.cs +++ b/Items/DraedonMisc/EncryptedSchematicHell.cs @@ -11,6 +11,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.UI.DraedonLogs; namespace CalamityMod.Items.DraedonMisc { diff --git a/Items/DraedonMisc/EncryptedSchematicIce.cs b/Items/DraedonMisc/EncryptedSchematicIce.cs index 3fd140e34b..1f96855000 100644 --- a/Items/DraedonMisc/EncryptedSchematicIce.cs +++ b/Items/DraedonMisc/EncryptedSchematicIce.cs @@ -11,7 +11,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; - +using CalamityMod.UI.DraedonLogs; namespace CalamityMod.Items.DraedonMisc { diff --git a/Items/DraedonMisc/EncryptedSchematicJungle.cs b/Items/DraedonMisc/EncryptedSchematicJungle.cs index c96fa70fb0..d1992217ce 100644 --- a/Items/DraedonMisc/EncryptedSchematicJungle.cs +++ b/Items/DraedonMisc/EncryptedSchematicJungle.cs @@ -11,6 +11,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.UI.DraedonLogs; namespace CalamityMod.Items.DraedonMisc { diff --git a/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs b/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs index fa33d77b11..5b48eebe3c 100644 --- a/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs +++ b/Items/DraedonMisc/EncryptedSchematicPlanetoid.cs @@ -11,6 +11,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.UI.DraedonLogs; namespace CalamityMod.Items.DraedonMisc { diff --git a/Items/DraedonMisc/EncryptedSchematicSunkenSea.cs b/Items/DraedonMisc/EncryptedSchematicSunkenSea.cs index 2818df932b..4bf09a25c7 100644 --- a/Items/DraedonMisc/EncryptedSchematicSunkenSea.cs +++ b/Items/DraedonMisc/EncryptedSchematicSunkenSea.cs @@ -11,6 +11,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.UI.DraedonLogs; namespace CalamityMod.Items.DraedonMisc { diff --git a/ExtraTextures/DoGCartBody.png b/Items/Mounts/Minecarts/DoGCartBody.png similarity index 100% rename from ExtraTextures/DoGCartBody.png rename to Items/Mounts/Minecarts/DoGCartBody.png diff --git a/Items/Mounts/Minecarts/DoGCartMount.cs b/Items/Mounts/Minecarts/DoGCartMount.cs index 1f5cc4d5f4..8dfb0d71fb 100644 --- a/Items/Mounts/Minecarts/DoGCartMount.cs +++ b/Items/Mounts/Minecarts/DoGCartMount.cs @@ -132,9 +132,9 @@ namespace CalamityMod.Items.Mounts.Minecarts if (segment is null) break; - Texture2D segmentTexture = ModContent.Request("CalamityMod/ExtraTextures/DoGCartBody").Value; + Texture2D segmentTexture = ModContent.Request("CalamityMod/Items/Mounts/Minecarts/DoGCartBody").Value; if (i == SegmentCount - 1) - segmentTexture = ModContent.Request("CalamityMod/ExtraTextures/DoGCartTail").Value; + segmentTexture = ModContent.Request("CalamityMod/Items/Mounts/Minecarts/DoGCartTail").Value; Vector2 segmentDrawPosition = rotationAdjustedPositions[i] + CalculateSegmentWaveOffset(i, drawPlayer); Color segmentColor = Lighting.GetColor((int)segmentDrawPosition.X / 16, (int)segmentDrawPosition.Y / 16); diff --git a/ExtraTextures/DoGCartTail.png b/Items/Mounts/Minecarts/DoGCartTail.png similarity index 100% rename from ExtraTextures/DoGCartTail.png rename to Items/Mounts/Minecarts/DoGCartTail.png diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 7c2e97a523..94af5ce2a9 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -797,7 +797,7 @@ namespace CalamityMod int summon = ItemType(); List collection = new List() { ItemType() }; string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Eye of Cthulhu is defeated."; - string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon"; + string iconTexture = "CalamityMod/UI/MiscTextures/AcidRainIcon"; Action portrait = (SpriteBatch sb, Rectangle rect, Color color) => { Texture2D texture = ModContent.Request("CalamityMod/Events/AcidRainT1_BossChecklist").Value; float scale = 1.3f; @@ -815,7 +815,7 @@ namespace CalamityMod List summons = new List() { ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{ItemType()}] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated"; - string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon"; + string iconTexture = "CalamityMod/UI/MiscTextures/AcidRainIcon"; Action portrait = (SpriteBatch sb, Rectangle rect, Color color) => { Texture2D texture = ModContent.Request("CalamityMod/Events/AcidRainT2_BossChecklist").Value; float scale = 0.9f; @@ -832,7 +832,7 @@ namespace CalamityMod List summons = new List() { ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{ItemType()}] or wait for the invasion to occur naturally after the Polterghast is defeated"; - string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon"; + string iconTexture = "CalamityMod/UI/MiscTextures/AcidRainIcon"; Action portrait = (SpriteBatch sb, Rectangle rect, Color color) => { Texture2D texture = ModContent.Request("CalamityMod/Events/AcidRainT3_BossChecklist").Value; float scale = 0.9f; diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 40612e1ade..f434e5a7d6 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -714,7 +714,7 @@ namespace CalamityMod.NPCs float drawPosY = npcHeight + npc.gfxOffY + 36f; // Texture animation variables - Texture2D texture = Request("CalamityMod/ExtraTextures/UI/NPCAlertDisplay").Value; + Texture2D texture = Request("CalamityMod/UI/MiscTextures/NPCAlertDisplay").Value; shopAlertAnimTimer++; if (shopAlertAnimTimer >= 6) { diff --git a/ExtraTextures/AresArmTopPart1.png b/NPCs/ExoMechs/Ares/AresArmTopPart1.png similarity index 100% rename from ExtraTextures/AresArmTopPart1.png rename to NPCs/ExoMechs/Ares/AresArmTopPart1.png diff --git a/ExtraTextures/AresArmTopPart2.png b/NPCs/ExoMechs/Ares/AresArmTopPart2.png similarity index 100% rename from ExtraTextures/AresArmTopPart2.png rename to NPCs/ExoMechs/Ares/AresArmTopPart2.png diff --git a/ExtraTextures/AresArmTopPart2Glow.png b/NPCs/ExoMechs/Ares/AresArmTopPart2Glow.png similarity index 100% rename from ExtraTextures/AresArmTopPart2Glow.png rename to NPCs/ExoMechs/Ares/AresArmTopPart2Glow.png diff --git a/ExtraTextures/AresArmTopSegment.png b/NPCs/ExoMechs/Ares/AresArmTopSegment.png similarity index 100% rename from ExtraTextures/AresArmTopSegment.png rename to NPCs/ExoMechs/Ares/AresArmTopSegment.png diff --git a/ExtraTextures/AresArmTopSegmentGlow.png b/NPCs/ExoMechs/Ares/AresArmTopSegmentGlow.png similarity index 100% rename from ExtraTextures/AresArmTopSegmentGlow.png rename to NPCs/ExoMechs/Ares/AresArmTopSegmentGlow.png diff --git a/ExtraTextures/AresArmTopShoulder.png b/NPCs/ExoMechs/Ares/AresArmTopShoulder.png similarity index 100% rename from ExtraTextures/AresArmTopShoulder.png rename to NPCs/ExoMechs/Ares/AresArmTopShoulder.png diff --git a/ExtraTextures/AresArmTopShoulderGlow.png b/NPCs/ExoMechs/Ares/AresArmTopShoulderGlow.png similarity index 100% rename from ExtraTextures/AresArmTopShoulderGlow.png rename to NPCs/ExoMechs/Ares/AresArmTopShoulderGlow.png diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index c818eb19bb..bb4d4f1d27 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -1116,14 +1116,14 @@ namespace CalamityMod.NPCs.ExoMechs.Ares // Draw back arms. if (backArm) { - Texture2D shoulderTexture = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopShoulder").Value; - Texture2D armTexture1 = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopPart1").Value; - Texture2D armSegmentTexture = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopSegment").Value; - Texture2D armTexture2 = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopPart2").Value; + Texture2D shoulderTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopShoulder").Value; + Texture2D armTexture1 = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopPart1").Value; + Texture2D armSegmentTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopSegment").Value; + Texture2D armTexture2 = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopPart2").Value; - Texture2D shoulderGlowmask = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopShoulderGlow").Value; - Texture2D armSegmentGlowmask = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopSegmentGlow").Value; - Texture2D armGlowmask2 = ModContent.Request("CalamityMod/ExtraTextures/AresArmTopPart2Glow").Value; + Texture2D shoulderGlowmask = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopShoulderGlow").Value; + Texture2D armSegmentGlowmask = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopSegmentGlow").Value; + Texture2D armGlowmask2 = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresArmTopPart2Glow").Value; Vector2 shoulderDrawPosition = NPC.Center + NPC.scale * new Vector2(direction * 176f, -100f); Vector2 arm1DrawPosition = shoulderDrawPosition + NPC.scale * new Vector2(direction * (shoulderTexture.Width + 16f), 10f); @@ -1185,14 +1185,14 @@ namespace CalamityMod.NPCs.ExoMechs.Ares } else { - Texture2D shoulderTexture = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmShoulder").Value; - Texture2D connectorTexture = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmConnector").Value; - Texture2D armTexture1 = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmPart1").Value; - Texture2D armTexture2 = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmPart2").Value; + Texture2D shoulderTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmShoulder").Value; + Texture2D connectorTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmConnector").Value; + Texture2D armTexture1 = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmPart1").Value; + Texture2D armTexture2 = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmPart2").Value; - Texture2D shoulderGlowmask = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmShoulderGlow").Value; - Texture2D armTexture1Glowmask = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmPart1Glow").Value; - Texture2D armTexture2Glowmask = ModContent.Request("CalamityMod/ExtraTextures/AresBottomArmPart2Glow").Value; + Texture2D shoulderGlowmask = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmShoulderGlow").Value; + Texture2D armTexture1Glowmask = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmPart1Glow").Value; + Texture2D armTexture2Glowmask = ModContent.Request("CalamityMod/NPCs/ExoMechs/Ares/AresBottomArmPart2Glow").Value; Vector2 shoulderDrawPosition = NPC.Center + NPC.scale * new Vector2(direction * 110f, -54f); Vector2 connectorDrawPosition = shoulderDrawPosition + NPC.scale * new Vector2(direction * 20f, 32f); diff --git a/ExtraTextures/AresBottomArmConnector.png b/NPCs/ExoMechs/Ares/AresBottomArmConnector.png similarity index 100% rename from ExtraTextures/AresBottomArmConnector.png rename to NPCs/ExoMechs/Ares/AresBottomArmConnector.png diff --git a/ExtraTextures/AresBottomArmPart1.png b/NPCs/ExoMechs/Ares/AresBottomArmPart1.png similarity index 100% rename from ExtraTextures/AresBottomArmPart1.png rename to NPCs/ExoMechs/Ares/AresBottomArmPart1.png diff --git a/ExtraTextures/AresBottomArmPart1Glow.png b/NPCs/ExoMechs/Ares/AresBottomArmPart1Glow.png similarity index 100% rename from ExtraTextures/AresBottomArmPart1Glow.png rename to NPCs/ExoMechs/Ares/AresBottomArmPart1Glow.png diff --git a/ExtraTextures/AresBottomArmPart2.png b/NPCs/ExoMechs/Ares/AresBottomArmPart2.png similarity index 100% rename from ExtraTextures/AresBottomArmPart2.png rename to NPCs/ExoMechs/Ares/AresBottomArmPart2.png diff --git a/ExtraTextures/AresBottomArmPart2Glow.png b/NPCs/ExoMechs/Ares/AresBottomArmPart2Glow.png similarity index 100% rename from ExtraTextures/AresBottomArmPart2Glow.png rename to NPCs/ExoMechs/Ares/AresBottomArmPart2Glow.png diff --git a/ExtraTextures/AresBottomArmShoulder.png b/NPCs/ExoMechs/Ares/AresBottomArmShoulder.png similarity index 100% rename from ExtraTextures/AresBottomArmShoulder.png rename to NPCs/ExoMechs/Ares/AresBottomArmShoulder.png diff --git a/ExtraTextures/AresBottomArmShoulderGlow.png b/NPCs/ExoMechs/Ares/AresBottomArmShoulderGlow.png similarity index 100% rename from ExtraTextures/AresBottomArmShoulderGlow.png rename to NPCs/ExoMechs/Ares/AresBottomArmShoulderGlow.png diff --git a/ExtraTextures/THanosAura.png b/NPCs/ExoMechs/Thanatos/THanosAura.png similarity index 100% rename from ExtraTextures/THanosAura.png rename to NPCs/ExoMechs/Thanatos/THanosAura.png diff --git a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs index b754ba711d..9db8c4dab4 100644 --- a/NPCs/ExoMechs/Thanatos/ThanatosHead.cs +++ b/NPCs/ExoMechs/Thanatos/ThanatosHead.cs @@ -1082,7 +1082,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos spriteBatch.SetBlendState(BlendState.Additive); // A large, faded circle. Is rescaled to fit the radius of the slowdown area. - Texture2D auraTexture = ModContent.Request("CalamityMod/ExtraTextures/THanosAura").Value; + Texture2D auraTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/THanosAura").Value; float lifeRatio = NPC.life / (float)NPC.lifeMax; @@ -1117,12 +1117,12 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos Player target = Main.player[NPC.target]; - Texture2D leftReticleTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleLeft").Value; - Texture2D rightReticleTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleRight").Value; - Texture2D topReticleTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleTop").Value; - Texture2D bottomReticleTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleHead").Value; - Texture2D leftReticleProngTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleProngLeft").Value; - Texture2D rightReticleProngTexture = ModContent.Request("CalamityMod/ExtraTextures/ThanatosReticleProngRight").Value; + Texture2D leftReticleTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleLeft").Value; + Texture2D rightReticleTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleRight").Value; + Texture2D topReticleTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleTop").Value; + Texture2D bottomReticleTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleHead").Value; + Texture2D leftReticleProngTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleProngLeft").Value; + Texture2D rightReticleProngTexture = ModContent.Request("CalamityMod/NPCs/ExoMechs/Thanatos/ThanatosReticleProngRight").Value; // The reticle fades away and moves farther away from the target the closer they are to the aura. // Once far away, the reticle will flash between red and white as an indicator. diff --git a/ExtraTextures/ThanatosReticleHead.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleHead.png similarity index 100% rename from ExtraTextures/ThanatosReticleHead.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleHead.png diff --git a/ExtraTextures/ThanatosReticleLeft.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleLeft.png similarity index 100% rename from ExtraTextures/ThanatosReticleLeft.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleLeft.png diff --git a/ExtraTextures/ThanatosReticleProngLeft.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleProngLeft.png similarity index 100% rename from ExtraTextures/ThanatosReticleProngLeft.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleProngLeft.png diff --git a/ExtraTextures/ThanatosReticleProngRight.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleProngRight.png similarity index 100% rename from ExtraTextures/ThanatosReticleProngRight.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleProngRight.png diff --git a/ExtraTextures/ThanatosReticleRight.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleRight.png similarity index 100% rename from ExtraTextures/ThanatosReticleRight.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleRight.png diff --git a/ExtraTextures/ThanatosReticleTop.png b/NPCs/ExoMechs/Thanatos/ThanatosReticleTop.png similarity index 100% rename from ExtraTextures/ThanatosReticleTop.png rename to NPCs/ExoMechs/Thanatos/ThanatosReticleTop.png diff --git a/ExtraTextures/CalamitasShield.png b/NPCs/SupremeCalamitas/ForcefieldTexture.png similarity index 100% rename from ExtraTextures/CalamitasShield.png rename to NPCs/SupremeCalamitas/ForcefieldTexture.png diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 358c88f98d..73012b73aa 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -2781,7 +2781,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas intensity *= 0.75f; opacity *= 0.75f; - Texture2D forcefieldTexture = ModContent.Request("CalamityMod/ExtraTextures/CalamitasShield").Value; + Texture2D forcefieldTexture = ModContent.Request("CalamityMod/NPCs/SupremeCalamitas/ForcefieldTexture").Value; GameShaders.Misc["CalamityMod:SupremeShield"].UseImage1("Images/Misc/Perlin"); Color forcefieldColor = Color.DarkViolet; diff --git a/ExtraTextures/BlushieStaffAura.png b/Projectiles/Magic/BlushieStaffAura.png similarity index 100% rename from ExtraTextures/BlushieStaffAura.png rename to Projectiles/Magic/BlushieStaffAura.png diff --git a/ExtraTextures/BlushieStaffChain.png b/Projectiles/Magic/BlushieStaffChain.png similarity index 100% rename from ExtraTextures/BlushieStaffChain.png rename to Projectiles/Magic/BlushieStaffChain.png diff --git a/ExtraTextures/BlushieStaffFire.png b/Projectiles/Magic/BlushieStaffFire.png similarity index 100% rename from ExtraTextures/BlushieStaffFire.png rename to Projectiles/Magic/BlushieStaffFire.png diff --git a/ExtraTextures/BlushieStaffGear.png b/Projectiles/Magic/BlushieStaffGear.png similarity index 100% rename from ExtraTextures/BlushieStaffGear.png rename to Projectiles/Magic/BlushieStaffGear.png diff --git a/Projectiles/Magic/BlushieStaffProj.cs b/Projectiles/Magic/BlushieStaffProj.cs index 2d38e52bf1..81d23a2fc1 100644 --- a/Projectiles/Magic/BlushieStaffProj.cs +++ b/Projectiles/Magic/BlushieStaffProj.cs @@ -107,7 +107,7 @@ namespace CalamityMod.Projectiles.Magic Vector2 center = Projectile.Center - Main.screenPosition; Vector2 aura = center + new Vector2(-xRange, yRange); - Texture2D texture = ModContent.Request("CalamityMod/ExtraTextures/BlushieStaffAura").Value; + Texture2D texture = ModContent.Request("CalamityMod/Projecties/Magic/BlushieStaffAura").Value; Rectangle frame = new(50, 0, 50, 32); int count = 2 * xRange / 50; SpriteEffects effects = Projectile.ai[0] % 30f < 15f ? SpriteEffects.None : SpriteEffects.FlipHorizontally; @@ -156,7 +156,7 @@ namespace CalamityMod.Projectiles.Magic { scale = 4f - 3f * Projectile.ai[0] / 60f; } - texture = ModContent.Request("CalamityMod/ExtraTextures/BlushieStaffGear").Value; + texture = ModContent.Request("CalamityMod/Projecties/Magic/BlushieStaffGear").Value; Vector2 origin = new(48f, 48f); Main.EntitySpriteDraw(texture, center, null, Color.White, Projectile.ai[0] / 20f, origin, 1.5f * scale, SpriteEffects.None, 0); Main.EntitySpriteDraw(texture, topLeftGear, null, Color.White, Projectile.ai[0] / 10f, origin, scale, SpriteEffects.None, 0); @@ -165,7 +165,7 @@ namespace CalamityMod.Projectiles.Magic Main.EntitySpriteDraw(texture, bottomRightGear, null, Color.White, Projectile.ai[0] / 10f, origin, scale, SpriteEffects.None, 0); float seed = Projectile.localAI[0]; - texture = ModContent.Request("CalamityMod/ExtraTextures/BlushieStaffFire").Value; + texture = ModContent.Request("CalamityMod/Projecties/Magic/BlushieStaffFire").Value; Vector2 topLeft = center + new Vector2(-xRange, -yRange); for (int k = (int)Projectile.ai[0] - 60; k < (int)Projectile.ai[0]; k++) { @@ -183,7 +183,7 @@ namespace CalamityMod.Projectiles.Magic private void DrawChains(Vector2 start, Vector2 end, float alpha) { - Texture2D texture = ModContent.Request("CalamityMod/ExtraTextures/BlushieStaffChain").Value; + Texture2D texture = ModContent.Request("CalamityMod/Projecties/Magic/BlushieStaffChain").Value; Vector2 unit = end - start; float distance = unit.Length() - 36f; unit.Normalize(); diff --git a/Projectiles/Melee/GemTechYellowShard.cs b/Projectiles/Melee/GemTechYellowShard.cs index 8924062d88..2cff19f4a7 100644 --- a/Projectiles/Melee/GemTechYellowShard.cs +++ b/Projectiles/Melee/GemTechYellowShard.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Projectiles.Melee public ref float Time => ref Projectile.ai[0]; - public override string Texture => "CalamityMod/ExtraTextures/GemTechArmor/YellowGem"; + public override string Texture => "CalamityMod/Projectiles/Typeless/GemTechYellowGem"; public override void SetStaticDefaults() => DisplayName.SetDefault("Trireme's Yellow Gem"); diff --git a/ExtraTextures/TaintedArm.png b/Projectiles/Melee/TaintedArm.png similarity index 100% rename from ExtraTextures/TaintedArm.png rename to Projectiles/Melee/TaintedArm.png diff --git a/Projectiles/Melee/TaintedBladeSlasher.cs b/Projectiles/Melee/TaintedBladeSlasher.cs index 9ca2a7dad6..1f41cd3e27 100644 --- a/Projectiles/Melee/TaintedBladeSlasher.cs +++ b/Projectiles/Melee/TaintedBladeSlasher.cs @@ -212,15 +212,15 @@ namespace CalamityMod.Projectiles.Melee if (TrailDrawer is null) TrailDrawer = new PrimitiveTrail(PrimitiveWidthFunction, PrimitiveColorFunction, specialShader: GameShaders.Misc["CalamityMod:FadingSolidTrail"]); - Texture2D forearmTexture = ModContent.Request("CalamityMod/ExtraTextures/TaintedForearm").Value; - Texture2D armTexture = ModContent.Request("CalamityMod/ExtraTextures/TaintedArm").Value; - Texture2D handTexture = ModContent.Request("CalamityMod/ExtraTextures/TaintedHand").Value; + Texture2D forearmTexture = ModContent.Request("CalamityMod/Projectiles/Melee/TaintedForearm").Value; + Texture2D armTexture = ModContent.Request("CalamityMod/Projectiles/Melee/TaintedArm").Value; + Texture2D handTexture = ModContent.Request("CalamityMod/Projectiles/Melee/TaintedHand").Value; // Reflect the 1st hand variant horizontally. SpriteEffects handDirection = SpriteEffects.None; if (Variant == (Owner.direction == -1).ToInt()) { - handTexture = ModContent.Request("CalamityMod/ExtraTextures/TaintedHand2").Value; + handTexture = ModContent.Request("CalamityMod/Projectiles/Melee/TaintedHand2").Value; handDirection = SpriteEffects.FlipHorizontally; } Texture2D bladeTexture = TextureAssets.Item[(int)SwordItemID].Value; diff --git a/ExtraTextures/TaintedForearm.png b/Projectiles/Melee/TaintedForearm.png similarity index 100% rename from ExtraTextures/TaintedForearm.png rename to Projectiles/Melee/TaintedForearm.png diff --git a/ExtraTextures/TaintedHand.png b/Projectiles/Melee/TaintedHand.png similarity index 100% rename from ExtraTextures/TaintedHand.png rename to Projectiles/Melee/TaintedHand.png diff --git a/ExtraTextures/TaintedHand2.png b/Projectiles/Melee/TaintedHand2.png similarity index 100% rename from ExtraTextures/TaintedHand2.png rename to Projectiles/Melee/TaintedHand2.png diff --git a/Projectiles/Ranged/ExoFlare.cs b/Projectiles/Ranged/ExoFlare.cs index 8c43e16384..1d4475778c 100644 --- a/Projectiles/Ranged/ExoFlare.cs +++ b/Projectiles/Ranged/ExoFlare.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Projectiles.Ranged } public override bool PreDraw(ref Color lightColor) { - Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/PhotovisceratorLight").Value; + Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/SmallGreyscaleCircle").Value; for (int i = 0; i < Projectile.oldPos.Length; i++) { float colorInterpolation = (float)Math.Cos(Projectile.timeLeft / 16f + Main.GlobalTimeWrappedHourly / 20f + i / (float)Projectile.oldPos.Length * MathHelper.Pi) * 0.5f + 0.5f; diff --git a/Projectiles/Ranged/ExoLight.cs b/Projectiles/Ranged/ExoLight.cs index 17f6f7c694..eb4fe298d0 100644 --- a/Projectiles/Ranged/ExoLight.cs +++ b/Projectiles/Ranged/ExoLight.cs @@ -134,7 +134,7 @@ namespace CalamityMod.Projectiles.Ranged } public override bool PreDraw(ref Color lightColor) { - Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/PhotovisceratorLight").Value; + Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/SmallGreyscaleCircle").Value; for (int i = 0; i < Projectile.oldPos.Length; i++) { float colorInterpolation = (float)Math.Cos(Projectile.timeLeft / 16f + Main.GlobalTimeWrappedHourly / 20f + i / (float)Projectile.oldPos.Length * MathHelper.Pi) * 0.5f + 0.5f; diff --git a/Projectiles/Ranged/PrismExplosionLarge.cs b/Projectiles/Ranged/PrismExplosionLarge.cs index 036a8f9976..d670f44646 100644 --- a/Projectiles/Ranged/PrismExplosionLarge.cs +++ b/Projectiles/Ranged/PrismExplosionLarge.cs @@ -40,7 +40,7 @@ namespace CalamityMod.Projectiles.Ranged public override bool PreDraw(ref Color lightColor) { Texture2D texture = ModContent.Request(Texture).Value; - Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/PhotovisceratorLight").Value; + Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/SmallGreyscaleCircle").Value; Rectangle frame = texture.Frame(3, 6, Projectile.frame / 6, Projectile.frame % 6); Vector2 drawPosition = Projectile.Center - Main.screenPosition; Vector2 origin = frame.Size() * 0.5f; diff --git a/Projectiles/Ranged/PrismExplosionSmall.cs b/Projectiles/Ranged/PrismExplosionSmall.cs index cced492954..e7816da3d2 100644 --- a/Projectiles/Ranged/PrismExplosionSmall.cs +++ b/Projectiles/Ranged/PrismExplosionSmall.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Projectiles.Ranged public override bool PreDraw(ref Color lightColor) { Texture2D texture = ModContent.Request(Texture).Value; - Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/PhotovisceratorLight").Value; + Texture2D lightTexture = ModContent.Request("CalamityMod/ExtraTextures/SmallGreyscaleCircle").Value; Rectangle frame = texture.Frame(1, Main.projFrames[Projectile.type], 0, Projectile.frame); Vector2 drawPosition = Projectile.Center - Main.screenPosition; Vector2 origin = frame.Size() * 0.5f; diff --git a/Projectiles/Summon/AndromedaDeathrayEnd.png b/Projectiles/Summon/AndromedaDeathrayEnd.png new file mode 100644 index 0000000000000000000000000000000000000000..a76189b3b0c0860417df24d2ec06c4424ddac700 GIT binary patch literal 382 zcmV-^0fGLBP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!2kdb!2!6DYwZ940TW3?K~zXf<(9z> z!XOle3mBcj6&%I8E4YD)r`id;nmB<+UB?0R){7^NEz-Zx0D;m&BN)HLyw~LU=$BUl zBpV3lTxMC9SfCdnZA)4`5jBkeQ5nC^XvUXYiC)|Cf#>UDjwrC}QJ0>vJ);9*h-<=} z#+%}dxX+h}8qPK189Tl{8^f@oQ<<6c%ox;cCbO0#jGeO+z$7$d0qWE~4iVMZxzB90 z+5Wb1vvBi@`mZtaS&c@#8O!KBO>)9evy)%7pm)YLzM022Rw(lmnINtRRfeiIWNg%@ zZ>$(_;|P(a@&7ICopDjW5!I>Mb1E4ed4-;LJc&NE-5oaR8T-y@-wlM-FPU|qw|(Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!Ts&;ZyhMn;H{On-lZX(WK6j|ocC9Z=238=t)cn^p1dGnju%OA<^20lIpy zy20mT^f;Q%$PA{_7@4v9xU^vdnC`3d0@FwUs~rR9V=So;9iaH|FB2P-g$nS*F&O+~ zW{0vMU{LrNYuo_=*e8VI7zn`XVELF37*HQ$&1dKUDQ<_hk3klLoQRA;KEmZIs)2!v zVI%g6%eI508|{Wt~#P|1Q;x`3Px!r(an`1}I{2vZ9Td>o?#Se#oPybYtl zaogPx0On%>LnDp}I("CalamityMod/NPCs/ExoMechs/Ares/AresArmSegment").Value; + Texture2D segmentTexture = null; Texture2D glowmaskTexture = null; Rectangle segmentFrame = segmentTexture.Frame(1, 24, 0, (int)(Main.GlobalTimeWrappedHourly * 13f + i) % 24); diff --git a/Projectiles/Typeless/GemTechArmorGem.cs b/Projectiles/Typeless/GemTechArmorGem.cs index a57f3a9aa6..0b68ba70a9 100644 --- a/Projectiles/Typeless/GemTechArmorGem.cs +++ b/Projectiles/Typeless/GemTechArmorGem.cs @@ -16,7 +16,8 @@ namespace CalamityMod.Projectiles.Typeless public const int UpwardFlyTime = 24; public const int RedirectTime = 12; public PrimitiveTrail FlameTrailDrawer = null; - public override string Texture => "CalamityMod/ExtraTextures/GemTechArmor/YellowGem"; + + public override string Texture => "CalamityMod/Projectiles/Typeless/GemTechYellowGem"; public override void SetStaticDefaults() { @@ -152,19 +153,19 @@ namespace CalamityMod.Projectiles.Typeless texture = ModContent.Request(Texture).Value; break; case (int)GemTechArmorGemType.Ranged: - texture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/GreenGem").Value; + texture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechGreenGem").Value; break; case (int)GemTechArmorGemType.Magic: - texture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/PurpleGem").Value; + texture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechPurpleGem").Value; break; case (int)GemTechArmorGemType.Summoner: - texture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/BlueGem").Value; + texture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechBlueGem").Value; break; case (int)GemTechArmorGemType.Rogue: - texture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/RedGem").Value; + texture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechRedGem").Value; break; case (int)GemTechArmorGemType.Base: - texture = ModContent.Request("CalamityMod/ExtraTextures/GemTechArmor/PinkGem").Value; + texture = ModContent.Request("CalamityMod/Projectiles/Typeless/GemTechPinkGem").Value; break; } diff --git a/ExtraTextures/GemTechArmor/BlueGem.png b/Projectiles/Typeless/GemTechBlueGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/BlueGem.png rename to Projectiles/Typeless/GemTechBlueGem.png diff --git a/ExtraTextures/GemTechArmor/GreenGem.png b/Projectiles/Typeless/GemTechGreenGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/GreenGem.png rename to Projectiles/Typeless/GemTechGreenGem.png diff --git a/ExtraTextures/GemTechArmor/PinkGem.png b/Projectiles/Typeless/GemTechPinkGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/PinkGem.png rename to Projectiles/Typeless/GemTechPinkGem.png diff --git a/ExtraTextures/GemTechArmor/PurpleGem.png b/Projectiles/Typeless/GemTechPurpleGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/PurpleGem.png rename to Projectiles/Typeless/GemTechPurpleGem.png diff --git a/ExtraTextures/GemTechArmor/RedGem.png b/Projectiles/Typeless/GemTechRedGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/RedGem.png rename to Projectiles/Typeless/GemTechRedGem.png diff --git a/ExtraTextures/GemTechArmor/YellowGem.png b/Projectiles/Typeless/GemTechYellowGem.png similarity index 100% rename from ExtraTextures/GemTechArmor/YellowGem.png rename to Projectiles/Typeless/GemTechYellowGem.png diff --git a/ExtraTextures/DaawnlightSpiritOriginBossBullseye.png b/Projectiles/Typeless/SpiritOriginBossBullseye.png similarity index 100% rename from ExtraTextures/DaawnlightSpiritOriginBossBullseye.png rename to Projectiles/Typeless/SpiritOriginBossBullseye.png diff --git a/Projectiles/Typeless/SpiritOriginBullseye.cs b/Projectiles/Typeless/SpiritOriginBullseye.cs index 9e0fa5ed6c..ebebec6289 100644 --- a/Projectiles/Typeless/SpiritOriginBullseye.cs +++ b/Projectiles/Typeless/SpiritOriginBullseye.cs @@ -74,11 +74,11 @@ namespace CalamityMod.Projectiles.Typeless rotation = 0f; } - Texture2D bullseyeTexture = ModContent.Request("CalamityMod/ExtraTextures/DaawnlightSpiritOriginRegularBullseye").Value; + Texture2D bullseyeTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/SpiritOriginRegularBullseye").Value; Rectangle frame = bullseyeTexture.Frame(); if (Target.IsABoss()) { - bullseyeTexture = ModContent.Request("CalamityMod/ExtraTextures/DaawnlightSpiritOriginBossBullseye").Value; + bullseyeTexture = ModContent.Request("CalamityMod/Projectiles/Typeless/SpiritOriginBossBullseye").Value; frame = bullseyeTexture.Frame(1, 4, 0, (int)(Main.GlobalTimeWrappedHourly * 7f) % 4); rotation = 0f; drawPosition.Y -= 17; diff --git a/ExtraTextures/DaawnlightSpiritOriginRegularBullseye.png b/Projectiles/Typeless/SpiritOriginRegularBullseye.png similarity index 100% rename from ExtraTextures/DaawnlightSpiritOriginRegularBullseye.png rename to Projectiles/Typeless/SpiritOriginRegularBullseye.png diff --git a/Systems/DifficultyModeSystem.cs b/Systems/DifficultyModeSystem.cs index 854549b0ef..fe6e3aea20 100644 --- a/Systems/DifficultyModeSystem.cs +++ b/Systems/DifficultyModeSystem.cs @@ -158,7 +158,7 @@ namespace CalamityMod.Systems get { if (_texture == null) - _texture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicator_None"); + _texture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicator_None"); return _texture; } @@ -193,7 +193,7 @@ namespace CalamityMod.Systems get { if (_texture == null) - _texture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicator_Rev"); + _texture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicator_Rev"); return _texture; } @@ -249,7 +249,7 @@ namespace CalamityMod.Systems get { if (_texture == null) - _texture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicator_Death"); + _texture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicator_Death"); return _texture; } @@ -302,7 +302,7 @@ namespace CalamityMod.Systems get { if (_texture == null) - _texture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicator_WhereMalice"); + _texture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicator_WhereMalice"); return _texture; } diff --git a/Systems/UIManagementSystem.cs b/Systems/UIManagementSystem.cs index 8097ed3814..4d93a3799e 100644 --- a/Systems/UIManagementSystem.cs +++ b/Systems/UIManagementSystem.cs @@ -1,6 +1,10 @@ using System.Collections.Generic; using CalamityMod.UI; using CalamityMod.UI.CalamitasEnchants; +using CalamityMod.UI.DraedonsArsenal; +using CalamityMod.UI.DraedonSummoning; +using CalamityMod.UI.ModeIndicator; +using CalamityMod.UI.Rippers; using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; diff --git a/Tiles/DraedonSummoner/CodebreakerTile.cs b/Tiles/DraedonSummoner/CodebreakerTile.cs index 0078e78e53..4102d3b0c3 100644 --- a/Tiles/DraedonSummoner/CodebreakerTile.cs +++ b/Tiles/DraedonSummoner/CodebreakerTile.cs @@ -12,6 +12,7 @@ using Terraria.ModLoader; using Terraria.ObjectData; using Terraria.Audio; using ReLogic.Content; +using CalamityMod.UI.DraedonSummoning; namespace CalamityMod.Tiles.DraedonSummoner { diff --git a/UI/AcidRainUI.cs b/UI/AcidRainUI.cs index a1742512f1..134fa78025 100644 --- a/UI/AcidRainUI.cs +++ b/UI/AcidRainUI.cs @@ -12,6 +12,6 @@ namespace CalamityMod.UI public override float CompletionRatio => 1f - AcidRainEvent.AcidRainCompletionRatio; public override string InvasionName => "Acid Rain"; public override Color InvasionBarColor => AcidRainEvent.TextColor; - public override Texture2D IconTexture => ModContent.Request("CalamityMod/ExtraTextures/UI/AcidRainIcon").Value; + public override Texture2D IconTexture => ModContent.Request("CalamityMod/UI/MiscTextures/AcidRainIcon").Value; } } diff --git a/UI/AstralArcanumUI.cs b/UI/AstralArcanumUI.cs index 3de66924d8..6d06e990e3 100644 --- a/UI/AstralArcanumUI.cs +++ b/UI/AstralArcanumUI.cs @@ -33,7 +33,7 @@ namespace CalamityMod.UI public static void Load(Mod mod) { - CircleTextures = ModContent.Request("CalamityMod/ExtraTextures/UI/AstralArcanumCircles", AssetRequestMode.ImmediateLoad).Value; + CircleTextures = ModContent.Request("CalamityMod/UI/MiscTextures/AstralArcanumCircles", AssetRequestMode.ImmediateLoad).Value; CircleNames = new string[] { "Underworld", diff --git a/UI/BossHealthBarManager.cs b/UI/BossHealthBarManager.cs index 66d51d1e24..6a3d2f2cbe 100644 --- a/UI/BossHealthBarManager.cs +++ b/UI/BossHealthBarManager.cs @@ -99,9 +99,9 @@ namespace CalamityMod.UI if (!Main.dedServ) { - BossMainHPBar = Request("CalamityMod/ExtraTextures/UI/BossHPMainBar", AssetRequestMode.ImmediateLoad).Value; - BossComboHPBar = Request("CalamityMod/ExtraTextures/UI/BossHPComboBar", AssetRequestMode.ImmediateLoad).Value; - BossSeperatorBar = Request("CalamityMod/ExtraTextures/UI/BossHPSeperatorBar", AssetRequestMode.ImmediateLoad).Value; + BossMainHPBar = Request("CalamityMod/UI/MiscTextures/BossHPMainBar", AssetRequestMode.ImmediateLoad).Value; + BossComboHPBar = Request("CalamityMod/UI/MiscTextures/BossHPComboBar", AssetRequestMode.ImmediateLoad).Value; + BossSeperatorBar = Request("CalamityMod/UI/MiscTextures/BossHPSeperatorBar", AssetRequestMode.ImmediateLoad).Value; PlatformID id = Environment.OSVersion.Platform; if (id == PlatformID.Win32NT) diff --git a/UI/BossRushUI.cs b/UI/BossRushUI.cs index 3cdc6c5023..7ad9c9815e 100644 --- a/UI/BossRushUI.cs +++ b/UI/BossRushUI.cs @@ -33,7 +33,7 @@ namespace CalamityMod.UI } public override string InvasionName => "Boss Rush"; public override Color InvasionBarColor => Color.DarkSlateBlue; - public override Texture2D IconTexture => ModContent.Request("CalamityMod/ExtraTextures/UI/BossRushIcon").Value; + public override Texture2D IconTexture => ModContent.Request("CalamityMod/UI/MiscTextures/BossRushIcon").Value; public static float EvaluationLifeRatioFromNPCTypes(params int[] types) { diff --git a/ExtraTextures/UI/CalamitasCurseBackground.png b/UI/CalamitasEnchantments/CalamitasCurseBackground.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseBackground.png rename to UI/CalamitasEnchantments/CalamitasCurseBackground.png diff --git a/ExtraTextures/UI/CalamitasCurseItemSlot.png b/UI/CalamitasEnchantments/CalamitasCurseItemSlot.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseItemSlot.png rename to UI/CalamitasEnchantments/CalamitasCurseItemSlot.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowDown.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDown.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowDown.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDown.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowDownClicked.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownClicked.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowDownClicked.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownClicked.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowDownHovered.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownHovered.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowDownHovered.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownHovered.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowUp.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUp.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowUp.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUp.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowUpClicked.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpClicked.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowUpClicked.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpClicked.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ArrowUpHovered.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpHovered.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ArrowUpHovered.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpHovered.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_Button.png b/UI/CalamitasEnchantments/CalamitasCurseUI_Button.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_Button.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_Button.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ButtonClicked.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ButtonClicked.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ButtonClicked.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ButtonClicked.png diff --git a/ExtraTextures/UI/CalamitasCurseUI_ButtonHovered.png b/UI/CalamitasEnchantments/CalamitasCurseUI_ButtonHovered.png similarity index 100% rename from ExtraTextures/UI/CalamitasCurseUI_ButtonHovered.png rename to UI/CalamitasEnchantments/CalamitasCurseUI_ButtonHovered.png diff --git a/UI/CalamitasEnchantments/CalamitasEnchantUI.cs b/UI/CalamitasEnchantments/CalamitasEnchantUI.cs index 29b8f9bfdb..c75c4e394e 100644 --- a/UI/CalamitasEnchantments/CalamitasEnchantUI.cs +++ b/UI/CalamitasEnchantments/CalamitasEnchantUI.cs @@ -86,7 +86,7 @@ namespace CalamityMod.UI.CalamitasEnchants Main.playerInventory = true; Main.npcChatText = string.Empty; - Texture2D backgroundTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseBackground").Value; + Texture2D backgroundTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseBackground").Value; Vector2 backgroundScale = Vector2.One * Main.UIScale; // Draw the background. @@ -221,20 +221,20 @@ namespace CalamityMod.UI.CalamitasEnchants public static void DrawItemIcon(SpriteBatch spriteBatch, Vector2 itemSlotDrawPosition, Vector2 reforgeIconDrawPosition, Vector2 scale, out bool isHoveringOverItemIcon, out bool isHoveringOverReforgeIcon) { isHoveringOverReforgeIcon = false; - Texture2D itemSlotTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseItemSlot").Value; + Texture2D itemSlotTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseItemSlot").Value; - Texture2D reforgeIconTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_Button").Value; + Texture2D reforgeIconTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_Button").Value; Rectangle reforgeIconArea = new Rectangle((int)reforgeIconDrawPosition.X, (int)reforgeIconDrawPosition.Y, (int)(reforgeIconTexture.Width * scale.X), (int)(reforgeIconTexture.Height * scale.Y)); // Have the reforge icon light up if the mouse is hovering over it. if (MouseScreenArea.Intersects(reforgeIconArea)) { - reforgeIconTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ButtonHovered").Value; + reforgeIconTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ButtonHovered").Value; isHoveringOverReforgeIcon = true; } if (ReforgeButtonClickCountdown > 0f) - reforgeIconTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ButtonClicked").Value; + reforgeIconTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ButtonClicked").Value; // This will be used for item deposit/withdrawal logic. isHoveringOverItemIcon = MouseScreenArea.Intersects(new Rectangle((int)itemSlotDrawPosition.X, (int)itemSlotDrawPosition.Y, (int)(itemSlotTexture.Width * scale.X), (int)(itemSlotTexture.Height * scale.Y))); @@ -303,22 +303,22 @@ namespace CalamityMod.UI.CalamitasEnchants return; // Decide textures. - Texture2D topArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowUp").Value; - Texture2D bottomArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowDown").Value; + Texture2D topArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUp").Value; + Texture2D bottomArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDown").Value; if (TopButtonClickCountdown > 0f) - topArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowUpClicked").Value; + topArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpClicked").Value; if (BottomButtonClickCountdown > 0f) - bottomArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowDownClicked").Value; + bottomArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownClicked").Value; Rectangle topButtonArea = new Rectangle((int)topButtonTopLeft.X, (int)topButtonTopLeft.Y, (int)(topArrowTexture.Width * scale.X), (int)(topArrowTexture.Height * scale.Y)); Rectangle bottomButtonArea = new Rectangle((int)bottomButtonTopLeft.X, (int)bottomButtonTopLeft.Y, (int)(bottomArrowTexture.Width * scale.X), (int)(bottomArrowTexture.Height * scale.Y)); bool hoveringOverTopArrow = MouseScreenArea.Intersects(topButtonArea); bool hoveringOverBottomArrow = MouseScreenArea.Intersects(bottomButtonArea); if (hoveringOverTopArrow) - topArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowUpHovered").Value; + topArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowUpHovered").Value; if (hoveringOverBottomArrow) - bottomArrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CalamitasCurseUI_ArrowDownHovered").Value; + bottomArrowTexture = ModContent.Request("CalamityMod/UI/CalamitasEnchantments/CalamitasCurseUI_ArrowDownHovered").Value; // Draw the arrows. if (EnchantIndex > 0) diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Aflame.png b/UI/CalamitasEnchantments/CurseIcon_Aflame.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Aflame.png rename to UI/CalamitasEnchantments/CurseIcon_Aflame.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Bloodthirsty.png b/UI/CalamitasEnchantments/CurseIcon_Bloodthirsty.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Bloodthirsty.png rename to UI/CalamitasEnchantments/CurseIcon_Bloodthirsty.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Capricious.png b/UI/CalamitasEnchantments/CurseIcon_Capricious.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Capricious.png rename to UI/CalamitasEnchantments/CurseIcon_Capricious.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Ephemeral.png b/UI/CalamitasEnchantments/CurseIcon_Ephemeral.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Ephemeral.png rename to UI/CalamitasEnchantments/CurseIcon_Ephemeral.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Erratic.png b/UI/CalamitasEnchantments/CurseIcon_Erratic.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Erratic.png rename to UI/CalamitasEnchantments/CurseIcon_Erratic.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Evasive.png b/UI/CalamitasEnchantments/CurseIcon_Evasive.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Evasive.png rename to UI/CalamitasEnchantments/CurseIcon_Evasive.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Evocative.png b/UI/CalamitasEnchantments/CurseIcon_Evocative.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Evocative.png rename to UI/CalamitasEnchantments/CurseIcon_Evocative.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Exhumed.png b/UI/CalamitasEnchantments/CurseIcon_Exhumed.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Exhumed.png rename to UI/CalamitasEnchantments/CurseIcon_Exhumed.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Hellbound.png b/UI/CalamitasEnchantments/CurseIcon_Hellbound.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Hellbound.png rename to UI/CalamitasEnchantments/CurseIcon_Hellbound.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Incisive.png b/UI/CalamitasEnchantments/CurseIcon_Incisive.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Incisive.png rename to UI/CalamitasEnchantments/CurseIcon_Incisive.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Indignant.png b/UI/CalamitasEnchantments/CurseIcon_Indignant.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Indignant.png rename to UI/CalamitasEnchantments/CurseIcon_Indignant.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Lecherous.png b/UI/CalamitasEnchantments/CurseIcon_Lecherous.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Lecherous.png rename to UI/CalamitasEnchantments/CurseIcon_Lecherous.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Oblatory.png b/UI/CalamitasEnchantments/CurseIcon_Oblatory.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Oblatory.png rename to UI/CalamitasEnchantments/CurseIcon_Oblatory.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Obstinate.png b/UI/CalamitasEnchantments/CurseIcon_Obstinate.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Obstinate.png rename to UI/CalamitasEnchantments/CurseIcon_Obstinate.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Persecuted.png b/UI/CalamitasEnchantments/CurseIcon_Persecuted.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Persecuted.png rename to UI/CalamitasEnchantments/CurseIcon_Persecuted.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Polluted.png b/UI/CalamitasEnchantments/CurseIcon_Polluted.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Polluted.png rename to UI/CalamitasEnchantments/CurseIcon_Polluted.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Relentless.png b/UI/CalamitasEnchantments/CurseIcon_Relentless.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Relentless.png rename to UI/CalamitasEnchantments/CurseIcon_Relentless.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Resentful.png b/UI/CalamitasEnchantments/CurseIcon_Resentful.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Resentful.png rename to UI/CalamitasEnchantments/CurseIcon_Resentful.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Splintered.png b/UI/CalamitasEnchantments/CurseIcon_Splintered.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Splintered.png rename to UI/CalamitasEnchantments/CurseIcon_Splintered.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Tainted.png b/UI/CalamitasEnchantments/CurseIcon_Tainted.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Tainted.png rename to UI/CalamitasEnchantments/CurseIcon_Tainted.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Traitorous.png b/UI/CalamitasEnchantments/CurseIcon_Traitorous.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Traitorous.png rename to UI/CalamitasEnchantments/CurseIcon_Traitorous.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Vindictive.png b/UI/CalamitasEnchantments/CurseIcon_Vindictive.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Vindictive.png rename to UI/CalamitasEnchantments/CurseIcon_Vindictive.png diff --git a/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Withered.png b/UI/CalamitasEnchantments/CurseIcon_Withered.png similarity index 100% rename from ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Withered.png rename to UI/CalamitasEnchantments/CurseIcon_Withered.png diff --git a/UI/CalamitasEnchantments/EnchantmentManager.cs b/UI/CalamitasEnchantments/EnchantmentManager.cs index ca9924f527..4230d4b87d 100644 --- a/UI/CalamitasEnchantments/EnchantmentManager.cs +++ b/UI/CalamitasEnchantments/EnchantmentManager.cs @@ -148,28 +148,28 @@ namespace CalamityMod.UI.CalamitasEnchants { new Enchantment(UpgradeEnchantName, "Transforms this item into something significantly stronger.", 1, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Exhumed", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Exhumed", null, null, item => ItemUpgradeRelationship.ContainsKey(item.type)), new Enchantment("Indignant", "Summons demons that harm you but drop healing items on death on item usage.", 100, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Indignant", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Indignant", null, player => player.Calamity().cursedSummonsEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.CountsAsClass() && !item.IsWhip()), new Enchantment("Aflame", "Lights enemies ablaze on hit but also causes the user to take damage over time when holding this item.", 200, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Aflame", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Aflame", null, player => player.Calamity().flamingItemEnchant = true, item => item.IsEnchantable() && item.damage > 0 && !item.CountsAsClass() && !item.IsWhip()), new Enchantment("Oblatory", "Reduces mana cost and greatly increases damage but sometimes causes this item to use your life.", 300, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Oblatory", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Oblatory", item => { item.damage = (int)(item.damage * 1.5); @@ -180,21 +180,21 @@ namespace CalamityMod.UI.CalamitasEnchants new Enchantment("Resentful", "Makes the damage of projectiles vary based on how far the hit target is from you. The farther, the more damage, and vice versa.", 400, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Resentful", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Resentful", null, player => player.Calamity().farProximityRewardEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.shoot > ProjectileID.None && !item.IsTrueMelee()), new Enchantment("Bloodthirsty", "Makes the damage of projectiles vary based on how far the hit target is from you. The closer, the more damage, and vice versa.", 500, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Bloodthirsty", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Bloodthirsty", null, player => player.Calamity().closeProximityRewardEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.shoot > ProjectileID.None && !item.IsTrueMelee()), new Enchantment("Ephemeral", "Causes the damage output of this item to discharge from exhaustive use.\nIts damage returns naturally when not being used. It starts off with more damage than it normally would have.", 600, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Ephemeral", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Ephemeral", null, player => player.Calamity().dischargingItemEnchant = true, item => item.IsEnchantable() && item.damage > 0 && !item.CountsAsClass() && !item.CountsAsClass() && @@ -202,14 +202,14 @@ namespace CalamityMod.UI.CalamitasEnchants new Enchantment("Hellbound", "Causes minions to be created with a 40 second timer.\nOnce it runs out, they explode violently. Minions do more damage the longer they live and idly explode as well.", 700, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Hellbound", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Hellbound", null, player => player.Calamity().explosiveMinionsEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.CountsAsClass() && !item.IsWhip()), new Enchantment("Tainted", "Removes projectile shooting capabilities of this item. In exchange, two skeletal arms are released on use that slice at the mouse position.", 800, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Tainted", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Tainted", item => item.useTime = item.useAnimation = 25, (Player player) => { @@ -247,7 +247,7 @@ namespace CalamityMod.UI.CalamitasEnchants new Enchantment("Traitorous", "Causes this item to sometimes release a monster that hurts both you and enemies when you have less than 50% mana.", 900, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Traitorous", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Traitorous", null, player => player.Calamity().manaMonsterEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.CountsAsClass() && item.mana > 0), @@ -255,21 +255,21 @@ namespace CalamityMod.UI.CalamitasEnchants new Enchantment("Withering", "When hurt, you heal a percentage of the damage taken based on how much accumulated damage you did overall beforehand, up to 100%.\n" + "After this, you gain a damage boost while holding this item but also take exponential damage over time the longer you hold it.", 1000, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Withered", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Withered", null, player => player.Calamity().witheringWeaponEnchant = true, item => item.IsEnchantable() && item.damage > 0 && !item.CountsAsClass()), new Enchantment("Persecuted", "When attacked, or over time, demon portals appear near you.\nIf sufficiently damaged they are friendly; otherwise they attack you. They become angered if a portal is damaged.", 1100, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Persecuted", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Persecuted", null, player => player.Calamity().persecutedEnchant = true, item => item.IsEnchantable() && item.damage > 0 && item.shoot > ProjectileID.None), new Enchantment("Lecherous", "Spawns a resilient brimstone monster that stays between you and your mouse that interferes with your homing weapons. It releases a bunch of hearts on death.", 1200, - "CalamityMod/ExtraTextures/UI/EnchantmentSymbols/CurseIcon_Lecherous", + "CalamityMod/UI/CalamitasEnchantments/CurseIcon_Lecherous", null, player => { diff --git a/UI/DefenseDamageDisplayUI.cs b/UI/DefenseDamageDisplayUI.cs index 219c206ddd..c85dc3898e 100644 --- a/UI/DefenseDamageDisplayUI.cs +++ b/UI/DefenseDamageDisplayUI.cs @@ -19,7 +19,7 @@ namespace CalamityMod.UI return; string defenseDamageText = (-defenseDamage).ToString(); - Texture2D defenseDamageIcon = ModContent.Request("CalamityMod/ExtraTextures/UI/DefenseDamage").Value; + Texture2D defenseDamageIcon = ModContent.Request("CalamityMod/UI/MiscTextures/DefenseDamage").Value; Vector2 defenseDamageIconCenter = new Vector2(Main.screenWidth - Main.UIScale * 328f, Main.UIScale * 16f) + defenseDamageIcon.Size() * 0.5f; Rectangle defenseDamageIconArea = Utils.CenteredRectangle(defenseDamageIconCenter, defenseDamageIcon.Size() * Main.UIScale); Vector2 defenseDamageTextArea = FontAssets.MouseText.Value.MeasureString(defenseDamageText); @@ -27,7 +27,7 @@ namespace CalamityMod.UI Rectangle mouseArea = new Rectangle(Main.mouseX, Main.mouseY, 2, 2); bool hoveringOverIcon = mouseArea.Intersects(defenseDamageIconArea); if (hoveringOverIcon) - defenseDamageIcon = ModContent.Request("CalamityMod/ExtraTextures/UI/DefenseDamageHover").Value; + defenseDamageIcon = ModContent.Request("CalamityMod/UI/MiscTextures/DefenseDamageHover").Value; // Draw the icon. spriteBatch.Draw(defenseDamageIcon, defenseDamageIconCenter, null, Color.White, 0f, defenseDamageIcon.Size() * 0.5f, Main.UIScale, 0, 0f); diff --git a/UI/DraedonLogHellGUI.cs b/UI/DraedonLogs/DraedonLogHellGUI.cs similarity index 92% rename from UI/DraedonLogHellGUI.cs rename to UI/DraedonLogs/DraedonLogHellGUI.cs index 00db0993bb..53ab8e63d6 100644 --- a/UI/DraedonLogHellGUI.cs +++ b/UI/DraedonLogs/DraedonLogHellGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonLogHellGUI : DraedonsLogGUI { @@ -29,11 +29,11 @@ namespace CalamityMod.UI switch (Page) { case 0: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogCragsBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogCragsBiome").Value; case 1: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogWallOfFlesh").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogWallOfFlesh").Value; default: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogMurasamaPhaseslayer").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogMurasamaPhaseslayer").Value; } } } diff --git a/UI/DraedonLogJungleGUI.cs b/UI/DraedonLogs/DraedonLogJungleGUI.cs similarity index 92% rename from UI/DraedonLogJungleGUI.cs rename to UI/DraedonLogs/DraedonLogJungleGUI.cs index 19f5975671..0c95f88e16 100644 --- a/UI/DraedonLogJungleGUI.cs +++ b/UI/DraedonLogs/DraedonLogJungleGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonLogJungleGUI : DraedonsLogGUI { @@ -29,11 +29,11 @@ namespace CalamityMod.UI switch (Page) { case 0: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogJungleBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogJungleBiome").Value; case 1: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPlagueCell").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPlagueCell").Value; default: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPlaguebringerGoliath").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPlaguebringerGoliath").Value; } } } diff --git a/UI/DraedonLogPlanetoidGUI.cs b/UI/DraedonLogs/DraedonLogPlanetoidGUI.cs similarity index 94% rename from UI/DraedonLogPlanetoidGUI.cs rename to UI/DraedonLogs/DraedonLogPlanetoidGUI.cs index 8a8cfddbe9..059bc5ef1b 100644 --- a/UI/DraedonLogPlanetoidGUI.cs +++ b/UI/DraedonLogs/DraedonLogPlanetoidGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonLogPlanetoidGUI : DraedonsLogGUI { @@ -29,11 +29,11 @@ namespace CalamityMod.UI switch (Page) { case 0: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPlanetoid").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPlanetoid").Value; case 1: return null; // The Draedon's backstory page does not have an image, and probably shouldn't. default: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogDoGArmor").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogDoGArmor").Value; } } } diff --git a/UI/DraedonLogSnowBiomeGUI.cs b/UI/DraedonLogs/DraedonLogSnowBiomeGUI.cs similarity index 94% rename from UI/DraedonLogSnowBiomeGUI.cs rename to UI/DraedonLogs/DraedonLogSnowBiomeGUI.cs index c336dbe640..7335dd2e88 100644 --- a/UI/DraedonLogSnowBiomeGUI.cs +++ b/UI/DraedonLogs/DraedonLogSnowBiomeGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonLogSnowBiomeGUI : DraedonsLogGUI { @@ -29,11 +29,11 @@ namespace CalamityMod.UI switch (Page) { case 0: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogIceBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogIceBiome").Value; case 1: return null; // No image exists for Daedalus' ruins at the moment. default: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPermafrost").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPermafrost").Value; } } } diff --git a/UI/DraedonLogSunkenSeaGUI.cs b/UI/DraedonLogs/DraedonLogSunkenSeaGUI.cs similarity index 92% rename from UI/DraedonLogSunkenSeaGUI.cs rename to UI/DraedonLogs/DraedonLogSunkenSeaGUI.cs index 1363989f6f..5a2994c9e1 100644 --- a/UI/DraedonLogSunkenSeaGUI.cs +++ b/UI/DraedonLogs/DraedonLogSunkenSeaGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonLogSunkenSeaGUI : DraedonsLogGUI { @@ -31,11 +31,11 @@ namespace CalamityMod.UI switch (Page) { case 0: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogSunkenSeaBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogSunkenSeaBiome").Value; case 1: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogEutrophicRayGhostBell").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogEutrophicRayGhostBell").Value; default: - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogGiantClam").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogGiantClam").Value; } } } diff --git a/UI/DraedonSchematicHellGUI.cs b/UI/DraedonLogs/DraedonSchematicHellGUI.cs similarity index 83% rename from UI/DraedonSchematicHellGUI.cs rename to UI/DraedonLogs/DraedonSchematicHellGUI.cs index 9dfc2fb11b..d1722f5f31 100644 --- a/UI/DraedonSchematicHellGUI.cs +++ b/UI/DraedonLogs/DraedonSchematicHellGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonSchematicHellGUI : DraedonsLogGUI { @@ -14,7 +14,7 @@ namespace CalamityMod.UI } public override Texture2D GetTextureByPage() { - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogCragsBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogCragsBiome").Value; } } } diff --git a/UI/DraedonSchematicIceGUI.cs b/UI/DraedonLogs/DraedonSchematicIceGUI.cs similarity index 81% rename from UI/DraedonSchematicIceGUI.cs rename to UI/DraedonLogs/DraedonSchematicIceGUI.cs index d08987859b..6aae807d4d 100644 --- a/UI/DraedonSchematicIceGUI.cs +++ b/UI/DraedonLogs/DraedonSchematicIceGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonSchematicIceGUI : DraedonsLogGUI { @@ -14,7 +14,7 @@ namespace CalamityMod.UI } public override Texture2D GetTextureByPage() { - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogIceBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogIceBiome").Value; } } } diff --git a/UI/DraedonSchematicJungleGUI.cs b/UI/DraedonLogs/DraedonSchematicJungleGUI.cs similarity index 84% rename from UI/DraedonSchematicJungleGUI.cs rename to UI/DraedonLogs/DraedonSchematicJungleGUI.cs index fa0bf0a4c2..d1f52c6ff7 100644 --- a/UI/DraedonSchematicJungleGUI.cs +++ b/UI/DraedonLogs/DraedonSchematicJungleGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonSchematicJungleGUI : DraedonsLogGUI { @@ -15,7 +15,7 @@ namespace CalamityMod.UI } public override Texture2D GetTextureByPage() { - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogJungleBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogJungleBiome").Value; } } } diff --git a/UI/DraedonSchematicPlanetoidGUI.cs b/UI/DraedonLogs/DraedonSchematicPlanetoidGUI.cs similarity index 84% rename from UI/DraedonSchematicPlanetoidGUI.cs rename to UI/DraedonLogs/DraedonSchematicPlanetoidGUI.cs index 05f88c552e..74ce521179 100644 --- a/UI/DraedonSchematicPlanetoidGUI.cs +++ b/UI/DraedonLogs/DraedonSchematicPlanetoidGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonSchematicPlanetoidGUI : DraedonsLogGUI { @@ -15,7 +15,7 @@ namespace CalamityMod.UI } public override Texture2D GetTextureByPage() { - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPlanetoid").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPlanetoid").Value; } } } diff --git a/UI/DraedonSchematicSunkenSeaGUI.cs b/UI/DraedonLogs/DraedonSchematicSunkenSeaGUI.cs similarity index 84% rename from UI/DraedonSchematicSunkenSeaGUI.cs rename to UI/DraedonLogs/DraedonSchematicSunkenSeaGUI.cs index bfba6868e8..0213936203 100644 --- a/UI/DraedonSchematicSunkenSeaGUI.cs +++ b/UI/DraedonLogs/DraedonSchematicSunkenSeaGUI.cs @@ -1,7 +1,7 @@ using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public class DraedonSchematicSunkenSeaGUI : DraedonsLogGUI { @@ -15,7 +15,7 @@ namespace CalamityMod.UI } public override Texture2D GetTextureByPage() { - return ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogSunkenSeaBiome").Value; + return ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogSunkenSeaBiome").Value; } } } diff --git a/ExtraTextures/UI/DraedonsLogArrow.png b/UI/DraedonLogs/DraedonsLogArrow.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogArrow.png rename to UI/DraedonLogs/DraedonsLogArrow.png diff --git a/ExtraTextures/UI/DraedonsLogArrowHover.png b/UI/DraedonLogs/DraedonsLogArrowHover.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogArrowHover.png rename to UI/DraedonLogs/DraedonsLogArrowHover.png diff --git a/ExtraTextures/UI/DraedonsLogCragsBiome.png b/UI/DraedonLogs/DraedonsLogCragsBiome.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogCragsBiome.png rename to UI/DraedonLogs/DraedonsLogCragsBiome.png diff --git a/ExtraTextures/UI/DraedonsLogDoGArmor.png b/UI/DraedonLogs/DraedonsLogDoGArmor.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogDoGArmor.png rename to UI/DraedonLogs/DraedonsLogDoGArmor.png diff --git a/ExtraTextures/UI/DraedonsLogEutrophicRayGhostBell.png b/UI/DraedonLogs/DraedonsLogEutrophicRayGhostBell.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogEutrophicRayGhostBell.png rename to UI/DraedonLogs/DraedonsLogEutrophicRayGhostBell.png diff --git a/UI/DraedonsLogGUI.cs b/UI/DraedonLogs/DraedonsLogGUI.cs similarity index 97% rename from UI/DraedonsLogGUI.cs rename to UI/DraedonLogs/DraedonsLogGUI.cs index f2d87a92f4..89bfd6a208 100644 --- a/UI/DraedonsLogGUI.cs +++ b/UI/DraedonLogs/DraedonsLogGUI.cs @@ -6,7 +6,7 @@ using Terraria; using Terraria.GameContent; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonLogs { public abstract class DraedonsLogGUI : PopupGUI { @@ -47,7 +47,7 @@ namespace CalamityMod.UI public override void Draw(SpriteBatch spriteBatch) { - Texture2D pageTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogPage").Value; + Texture2D pageTexture = ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogPage").Value; float xScale = MathHelper.Lerp(0.004f, 1f, FadeTime / (float)FadeTimeMax); Vector2 scale = new Vector2(xScale, 1f) * new Vector2(Main.screenWidth, Main.screenHeight) / pageTexture.Size(); scale.Y *= 1.5f; @@ -125,7 +125,7 @@ namespace CalamityMod.UI public void DrawArrows(SpriteBatch spriteBatch, float xResolutionScale, float yResolutionScale, float yPageBottom, Rectangle mouseRectangle) { float arrowScale = 0.6f; - Texture2D arrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogArrow").Value; + Texture2D arrowTexture = ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogArrow").Value; if (Page > 0) { Vector2 drawPosition = new Vector2(Main.screenWidth / 2 - 80f, yPageBottom); @@ -135,7 +135,7 @@ namespace CalamityMod.UI if (mouseRectangle.Intersects(arrowRectangle)) { - arrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover").Value; + arrowTexture = ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogArrowHover").Value; if (ArrowClickCooldown <= 0 && Main.mouseLeft) { Page--; @@ -156,7 +156,7 @@ namespace CalamityMod.UI if (mouseRectangle.Intersects(arrowRectangle)) { - arrowTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonsLogArrowHover").Value; + arrowTexture = ModContent.Request("CalamityMod/UI/DraedonLogs/DraedonsLogArrowHover").Value; if (ArrowClickCooldown <= 0 && Main.mouseLeft) { Page++; diff --git a/ExtraTextures/UI/DraedonsLogGiantClam.png b/UI/DraedonLogs/DraedonsLogGiantClam.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogGiantClam.png rename to UI/DraedonLogs/DraedonsLogGiantClam.png diff --git a/ExtraTextures/UI/DraedonsLogIceBiome.png b/UI/DraedonLogs/DraedonsLogIceBiome.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogIceBiome.png rename to UI/DraedonLogs/DraedonsLogIceBiome.png diff --git a/ExtraTextures/UI/DraedonsLogJungleBiome.png b/UI/DraedonLogs/DraedonsLogJungleBiome.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogJungleBiome.png rename to UI/DraedonLogs/DraedonsLogJungleBiome.png diff --git a/ExtraTextures/UI/DraedonsLogMurasamaPhaseslayer.png b/UI/DraedonLogs/DraedonsLogMurasamaPhaseslayer.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogMurasamaPhaseslayer.png rename to UI/DraedonLogs/DraedonsLogMurasamaPhaseslayer.png diff --git a/ExtraTextures/UI/DraedonsLogPage.png b/UI/DraedonLogs/DraedonsLogPage.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPage.png rename to UI/DraedonLogs/DraedonsLogPage.png diff --git a/ExtraTextures/UI/DraedonsLogPermafrost.png b/UI/DraedonLogs/DraedonsLogPermafrost.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPermafrost.png rename to UI/DraedonLogs/DraedonsLogPermafrost.png diff --git a/ExtraTextures/UI/DraedonsLogPlagueCell.png b/UI/DraedonLogs/DraedonsLogPlagueCell.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPlagueCell.png rename to UI/DraedonLogs/DraedonsLogPlagueCell.png diff --git a/ExtraTextures/UI/DraedonsLogPlaguebringerGoliath.png b/UI/DraedonLogs/DraedonsLogPlaguebringerGoliath.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPlaguebringerGoliath.png rename to UI/DraedonLogs/DraedonsLogPlaguebringerGoliath.png diff --git a/ExtraTextures/UI/DraedonsLogPlanetoid.png b/UI/DraedonLogs/DraedonsLogPlanetoid.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPlanetoid.png rename to UI/DraedonLogs/DraedonsLogPlanetoid.png diff --git a/ExtraTextures/UI/DraedonsLogPrismBack.png b/UI/DraedonLogs/DraedonsLogPrismBack.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogPrismBack.png rename to UI/DraedonLogs/DraedonsLogPrismBack.png diff --git a/ExtraTextures/UI/DraedonsLogSunkenSeaBiome.png b/UI/DraedonLogs/DraedonsLogSunkenSeaBiome.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogSunkenSeaBiome.png rename to UI/DraedonLogs/DraedonsLogSunkenSeaBiome.png diff --git a/ExtraTextures/UI/DraedonsLogWallOfFlesh.png b/UI/DraedonLogs/DraedonsLogWallOfFlesh.png similarity index 100% rename from ExtraTextures/UI/DraedonsLogWallOfFlesh.png rename to UI/DraedonLogs/DraedonsLogWallOfFlesh.png diff --git a/ExtraTextures/UI/CodebreakerDecyptionBar.png b/UI/DraedonSummoning/CodebreakerDecyptionBar.png similarity index 100% rename from ExtraTextures/UI/CodebreakerDecyptionBar.png rename to UI/DraedonSummoning/CodebreakerDecyptionBar.png diff --git a/ExtraTextures/UI/CodebreakerDecyptionBarCharge.png b/UI/DraedonSummoning/CodebreakerDecyptionBarCharge.png similarity index 100% rename from ExtraTextures/UI/CodebreakerDecyptionBarCharge.png rename to UI/DraedonSummoning/CodebreakerDecyptionBarCharge.png diff --git a/UI/CodebreakerUI.cs b/UI/DraedonSummoning/CodebreakerUI.cs similarity index 96% rename from UI/CodebreakerUI.cs rename to UI/DraedonSummoning/CodebreakerUI.cs index c0b154676c..c5841d485d 100644 --- a/UI/CodebreakerUI.cs +++ b/UI/DraedonSummoning/CodebreakerUI.cs @@ -14,7 +14,7 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.UI.Chat; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonSummoning { public static class CodebreakerUI { @@ -48,7 +48,7 @@ namespace CalamityMod.UI } // Draw the background. - Texture2D backgroundTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonDecrypterBackground").Value; + Texture2D backgroundTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DraedonDecrypterBackground").Value; spriteBatch.Draw(backgroundTexture, BackgroundCenter, null, Color.White, 0f, backgroundTexture.Size() * 0.5f, GeneralScale, SpriteEffects.None, 0f); Rectangle backgroundArea = Utils.CenteredRectangle(BackgroundCenter, backgroundTexture.Size() * GeneralScale); @@ -59,16 +59,15 @@ namespace CalamityMod.UI Vector2 backgroundTopLeft = BackgroundCenter - backgroundTexture.Size() * GeneralScale * 0.5f; // Draw the cell payment slot icon. - Texture2D emptyCellIconTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/PowerCellSlot_Empty").Value; - Texture2D occupiedCellIconTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/PowerCellSlot_Filled").Value; - Texture2D textPanelTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonDecrypterScreen").Value; + Texture2D emptyCellIconTexture = ModContent.Request("CalamityMod/UI/DraedonsArsenal/PowerCellSlot_Empty").Value; + Texture2D occupiedCellIconTexture = ModContent.Request("CalamityMod/UI/DraedonsArsenal/PowerCellSlot_Filled").Value; + Texture2D textPanelTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DraedonDecrypterScreen").Value; Texture2D cellTexture = codebreakerTileEntity.InputtedCellCount > 0 ? occupiedCellIconTexture : emptyCellIconTexture; Vector2 cellDrawCenter = backgroundTopLeft + Vector2.One * GeneralScale * 60f; Vector2 schematicSlotDrawCenter = cellDrawCenter + Vector2.UnitY * GeneralScale * 70f; Vector2 costDisplayLocation = schematicSlotDrawCenter + Vector2.UnitY * GeneralScale * 20f; Vector2 costVerificationLocation = costDisplayLocation + Vector2.UnitY * GeneralScale * 60f; - Vector2 textPanelCenter = backgroundTopLeft + Vector2.UnitX * backgroundTexture.Width + textPanelTexture.Size() * GeneralScale * new Vector2(-0.5f, 0.5f); Vector2 summonButtonCenter = backgroundTopLeft + new Vector2(58f, backgroundTexture.Height - 48f) * GeneralScale; // Display some error text if the codebreaker isn't strong enough to decrypt the schematic. @@ -103,7 +102,7 @@ namespace CalamityMod.UI DrawDecryptCancelConfirmationText(costVerificationLocation); // Draw the schematic icon. - Texture2D schematicIconBG = ModContent.Request("CalamityMod/ExtraTextures/UI/EncryptedSchematicSlotBackground").Value; + Texture2D schematicIconBG = ModContent.Request("CalamityMod/UI/DraedonSummoning/EncryptedSchematicSlotBackground").Value; Texture2D schematicIconTexture = schematicIconBG; int schematicType = 0; @@ -130,7 +129,7 @@ namespace CalamityMod.UI temporaryPowerCell.SetDefaults(ModContent.ItemType()); temporaryPowerCell.stack = codebreakerTileEntity.InputtedCellCount; - Vector2 cellInteractionArea = ModContent.Request("CalamityMod/ExtraTextures/UI/PowerCellSlot_Empty").Value.Size() * GeneralScale; + Vector2 cellInteractionArea = ModContent.Request("CalamityMod/UI/DraedonsArsenal/PowerCellSlot_Empty").Value.Size() * GeneralScale; CalamityUtils.DrawPowercellSlot(spriteBatch, temporaryPowerCell, cellDrawCenter, GeneralScale); HandleCellSlotInteractions(codebreakerTileEntity, temporaryPowerCell, cellDrawCenter, cellInteractionArea); } @@ -288,7 +287,7 @@ namespace CalamityMod.UI public static void DrawCostVerificationButton(TECodebreaker codebreakerTileEntity, Vector2 drawPosition) { - Texture2D confirmationTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DecryptIcon").Value; + Texture2D confirmationTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DecryptIcon").Value; Rectangle clickArea = Utils.CenteredRectangle(drawPosition, confirmationTexture.Size() * VerificationButtonScale); // Check if the mouse is hovering over the cost button area. @@ -322,7 +321,7 @@ namespace CalamityMod.UI public static void DisplayDecryptCancelButton(TECodebreaker codebreakerTileEntity, Vector2 drawPosition) { bool clickingMouse = Main.mouseLeft && Main.mouseLeftRelease; - Texture2D cancelTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DecryptCancelIcon").Value; + Texture2D cancelTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DecryptCancelIcon").Value; Rectangle clickArea = Utils.CenteredRectangle(drawPosition, cancelTexture.Size() * CancelButtonScale * 1.2f); // Check if the mouse is hovering over the decrypt button area. @@ -365,7 +364,7 @@ namespace CalamityMod.UI public static void DrawDecryptCancelConfirmationText(Vector2 drawPosition) { - Texture2D textPanelTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonDecrypterScreen").Value; + Texture2D textPanelTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DraedonDecrypterScreen").Value; drawPosition.X += GeneralScale * 196f; Vector2 scale = new Vector2(1f, 0.3f) * GeneralScale; @@ -378,7 +377,7 @@ namespace CalamityMod.UI public static void HandleDecryptionStuff(TECodebreaker codebreakerTileEntity, Texture2D backgroundTexture, Vector2 backgroundTopLeft, Vector2 barCenter) { - Texture2D textPanelTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/DraedonDecrypterScreen").Value; + Texture2D textPanelTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/DraedonDecrypterScreen").Value; Vector2 textPanelCenter = backgroundTopLeft + Vector2.UnitX * backgroundTexture.Width * GeneralScale + textPanelTexture.Size() * new Vector2(-0.5f, 0.5f) * GeneralScale; Main.spriteBatch.Draw(textPanelTexture, textPanelCenter, null, Color.White, 0f, textPanelTexture.Size() * 0.5f, GeneralScale, SpriteEffects.None, 0f); @@ -420,8 +419,8 @@ namespace CalamityMod.UI return; // Draw a small bar at the bottom to indicate how much work is left. - Texture2D borderTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CodebreakerDecyptionBar").Value; - Texture2D barTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/CodebreakerDecyptionBarCharge").Value; + Texture2D borderTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/CodebreakerDecyptionBar").Value; + Texture2D barTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/CodebreakerDecyptionBarCharge").Value; Main.spriteBatch.Draw(borderTexture, barCenter, null, Color.White, 0f, borderTexture.Size() * 0.5f, GeneralScale, SpriteEffects.None, 0); Rectangle barRectangle = new Rectangle(0, 0, (int)(barTexture.Width * codebreakerTileEntity.DecryptionCompletion), barTexture.Width); Main.spriteBatch.Draw(barTexture, barCenter, barRectangle, Color.White, 0f, barTexture.Size() * 0.5f, GeneralScale, SpriteEffects.None, 0); @@ -434,7 +433,7 @@ namespace CalamityMod.UI public static void HandleDraedonSummonButton(TECodebreaker codebreakerTileEntity, Vector2 drawPosition) { - Texture2D contactButton = ModContent.Request("CalamityMod/ExtraTextures/UI/ContactIcon_THanos").Value; + Texture2D contactButton = ModContent.Request("CalamityMod/UI/DraedonSummoning/ContactIcon").Value; Rectangle clickArea = Utils.CenteredRectangle(drawPosition, contactButton.Size() * VerificationButtonScale); diff --git a/ExtraTextures/UI/ContactIcon_THanos.png b/UI/DraedonSummoning/ContactIcon.png similarity index 100% rename from ExtraTextures/UI/ContactIcon_THanos.png rename to UI/DraedonSummoning/ContactIcon.png diff --git a/ExtraTextures/UI/DecryptCancelIcon.png b/UI/DraedonSummoning/DecryptCancelIcon.png similarity index 100% rename from ExtraTextures/UI/DecryptCancelIcon.png rename to UI/DraedonSummoning/DecryptCancelIcon.png diff --git a/ExtraTextures/UI/DecryptIcon.png b/UI/DraedonSummoning/DecryptIcon.png similarity index 100% rename from ExtraTextures/UI/DecryptIcon.png rename to UI/DraedonSummoning/DecryptIcon.png diff --git a/ExtraTextures/UI/DraedonDecrypterBackground.png b/UI/DraedonSummoning/DraedonDecrypterBackground.png similarity index 100% rename from ExtraTextures/UI/DraedonDecrypterBackground.png rename to UI/DraedonSummoning/DraedonDecrypterBackground.png diff --git a/ExtraTextures/UI/DraedonDecrypterScreen.png b/UI/DraedonSummoning/DraedonDecrypterScreen.png similarity index 100% rename from ExtraTextures/UI/DraedonDecrypterScreen.png rename to UI/DraedonSummoning/DraedonDecrypterScreen.png diff --git a/ExtraTextures/UI/EncryptedSchematicSlotBackground.png b/UI/DraedonSummoning/EncryptedSchematicSlotBackground.png similarity index 100% rename from ExtraTextures/UI/EncryptedSchematicSlotBackground.png rename to UI/DraedonSummoning/EncryptedSchematicSlotBackground.png diff --git a/UI/ExoMechSelectionUI.cs b/UI/DraedonSummoning/ExoMechSelectionUI.cs similarity index 96% rename from UI/ExoMechSelectionUI.cs rename to UI/DraedonSummoning/ExoMechSelectionUI.cs index 93b78d3167..fab1037fd3 100644 --- a/UI/ExoMechSelectionUI.cs +++ b/UI/DraedonSummoning/ExoMechSelectionUI.cs @@ -8,7 +8,7 @@ using Terraria.GameContent; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonSummoning { public static class ExoMechSelectionUI { @@ -60,20 +60,20 @@ namespace CalamityMod.UI { case ExoMech.Destroyer: iconScale = DestroyerIconScale; - iconMechTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/HeadIcon_THanos").Value; + iconMechTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/HeadIcon_THanos").Value; description = "Thanatos, a serpentine terror with impervious armor and innumerable laser turrets."; hoverSound = ThanatosHoverSound; break; case ExoMech.Prime: iconScale = PrimeIconScale; - iconMechTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/HeadIcon_Ares").Value; + iconMechTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/HeadIcon_Ares").Value; description = "Ares, a heavyweight, diabolical monstrosity with four Exo superweapons."; hoverSound = AresHoverSound; break; default: case ExoMech.Twins: iconScale = TwinsIconScale; - iconMechTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/HeadIcon_ArtemisApollo").Value; + iconMechTexture = ModContent.Request("CalamityMod/UI/DraedonSummoning/HeadIcon_ArtemisApollo").Value; description = "Artemis and Apollo, a pair of extremely agile destroyers with pulse cannons."; hoverSound = TwinsHoverSound; break; diff --git a/ExtraTextures/UI/HeadIcon_Ares.png b/UI/DraedonSummoning/HeadIcon_Ares.png similarity index 100% rename from ExtraTextures/UI/HeadIcon_Ares.png rename to UI/DraedonSummoning/HeadIcon_Ares.png diff --git a/ExtraTextures/UI/HeadIcon_ArtemisApollo.png b/UI/DraedonSummoning/HeadIcon_ArtemisApollo.png similarity index 100% rename from ExtraTextures/UI/HeadIcon_ArtemisApollo.png rename to UI/DraedonSummoning/HeadIcon_ArtemisApollo.png diff --git a/ExtraTextures/UI/HeadIcon_THanos.png b/UI/DraedonSummoning/HeadIcon_THanos.png similarity index 100% rename from ExtraTextures/UI/HeadIcon_THanos.png rename to UI/DraedonSummoning/HeadIcon_THanos.png diff --git a/ExtraTextures/UI/ChargeMeter.png b/UI/DraedonsArsenal/ChargeMeter.png similarity index 100% rename from ExtraTextures/UI/ChargeMeter.png rename to UI/DraedonsArsenal/ChargeMeter.png diff --git a/ExtraTextures/UI/ChargeMeterBorder.png b/UI/DraedonsArsenal/ChargeMeterBorder.png similarity index 100% rename from ExtraTextures/UI/ChargeMeterBorder.png rename to UI/DraedonsArsenal/ChargeMeterBorder.png diff --git a/UI/ChargeMeterUI.cs b/UI/DraedonsArsenal/ChargeMeterUI.cs similarity index 96% rename from UI/ChargeMeterUI.cs rename to UI/DraedonsArsenal/ChargeMeterUI.cs index e482e2881b..7c26e07d4d 100644 --- a/UI/ChargeMeterUI.cs +++ b/UI/DraedonsArsenal/ChargeMeterUI.cs @@ -7,7 +7,7 @@ using ReLogic.Content; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonsArsenal { // TODO -- This can be made into a ModSystem with simple OnModLoad and Unload hooks. public class ChargeMeterUI @@ -22,8 +22,8 @@ namespace CalamityMod.UI internal static void Load() { - edgeTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/ChargeMeterBorder", AssetRequestMode.ImmediateLoad).Value; - barTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/ChargeMeter", AssetRequestMode.ImmediateLoad).Value; + edgeTexture = ModContent.Request("CalamityMod/UI/DraedonsArsenal/ChargeMeterBorder", AssetRequestMode.ImmediateLoad).Value; + barTexture = ModContent.Request("CalamityMod/UI/DraedonsArsenal/ChargeMeter", AssetRequestMode.ImmediateLoad).Value; Reset(); } diff --git a/ExtraTextures/UI/ChargerWeaponSlot.png b/UI/DraedonsArsenal/ChargerWeaponSlot.png similarity index 100% rename from ExtraTextures/UI/ChargerWeaponSlot.png rename to UI/DraedonsArsenal/ChargerWeaponSlot.png diff --git a/UI/ChargingStationUI.cs b/UI/DraedonsArsenal/ChargingStationUI.cs similarity index 99% rename from UI/ChargingStationUI.cs rename to UI/DraedonsArsenal/ChargingStationUI.cs index 1111ebc762..9a6da56ad6 100644 --- a/UI/ChargingStationUI.cs +++ b/UI/DraedonsArsenal/ChargingStationUI.cs @@ -12,7 +12,7 @@ using Terraria.UI; using Terraria.Audio; using Terraria.GameContent; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonsArsenal { public class ChargingStationUI { @@ -208,7 +208,7 @@ namespace CalamityMod.UI public static void DrawWeaponSlot(SpriteBatch spriteBatch, Item item, Vector2 drawPosition) { - Texture2D slotBackgroundTex = ModContent.Request("CalamityMod/ExtraTextures/UI/ChargerWeaponSlot").Value; + Texture2D slotBackgroundTex = ModContent.Request("CalamityMod/UI/DraedonsArsenal/ChargerWeaponSlot").Value; spriteBatch.Draw(slotBackgroundTex, drawPosition, null, Color.White, 0f, slotBackgroundTex.Size() * 0.5f, IconScale, SpriteEffects.None, 0f); if (!item.IsAir) diff --git a/UI/LabHologramProjectorUI.cs b/UI/DraedonsArsenal/LabHologramProjectorUI.cs similarity index 99% rename from UI/LabHologramProjectorUI.cs rename to UI/DraedonsArsenal/LabHologramProjectorUI.cs index 3f674ce10d..613f3dd0fe 100644 --- a/UI/LabHologramProjectorUI.cs +++ b/UI/DraedonsArsenal/LabHologramProjectorUI.cs @@ -9,7 +9,7 @@ using Terraria.DataStructures; using Terraria.Audio; using Terraria.GameContent; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonsArsenal { public class LabHologramProjectorUI { diff --git a/UI/PowerCellFactoryUI.cs b/UI/DraedonsArsenal/PowerCellFactoryUI.cs similarity index 99% rename from UI/PowerCellFactoryUI.cs rename to UI/DraedonsArsenal/PowerCellFactoryUI.cs index e6a0ef9b4a..80901a7140 100644 --- a/UI/PowerCellFactoryUI.cs +++ b/UI/DraedonsArsenal/PowerCellFactoryUI.cs @@ -10,7 +10,7 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.Audio; -namespace CalamityMod.UI +namespace CalamityMod.UI.DraedonsArsenal { public class PowerCellFactoryUI { diff --git a/ExtraTextures/UI/PowerCellSlot_Empty.png b/UI/DraedonsArsenal/PowerCellSlot_Empty.png similarity index 100% rename from ExtraTextures/UI/PowerCellSlot_Empty.png rename to UI/DraedonsArsenal/PowerCellSlot_Empty.png diff --git a/ExtraTextures/UI/PowerCellSlot_Filled.png b/UI/DraedonsArsenal/PowerCellSlot_Filled.png similarity index 100% rename from ExtraTextures/UI/PowerCellSlot_Filled.png rename to UI/DraedonsArsenal/PowerCellSlot_Filled.png diff --git a/UI/EnchantmentMetersUI.cs b/UI/EnchantmentMetersUI.cs index f056772cab..e203de7fe1 100644 --- a/UI/EnchantmentMetersUI.cs +++ b/UI/EnchantmentMetersUI.cs @@ -20,8 +20,8 @@ namespace CalamityMod.UI if (player.Calamity().dischargingItemEnchant) { float dischargeFactor = heldItem.Calamity().DischargeExhaustionRatio; - Texture2D barBorderTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/EphemeralBarBorder").Value; - Texture2D barTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/EphemeralBar").Value; + Texture2D barBorderTexture = ModContent.Request("CalamityMod/UI/MiscTextures/EphemeralBarBorder").Value; + Texture2D barTexture = ModContent.Request("CalamityMod/UI/MiscTextures/EphemeralBar").Value; int barCutoff = (int)(barTexture.Height * (1f - dischargeFactor)); Rectangle barFrame = new Rectangle(0, barCutoff, barTexture.Width, barTexture.Height - barCutoff); diff --git a/ExtraTextures/UI/HealthMana/BarBloodOrange.png b/UI/HealthManaTextures/BarBloodOrange.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarBloodOrange.png rename to UI/HealthManaTextures/BarBloodOrange.png diff --git a/ExtraTextures/UI/HealthMana/BarDragonfruit.png b/UI/HealthManaTextures/BarDragonfruit.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarDragonfruit.png rename to UI/HealthManaTextures/BarDragonfruit.png diff --git a/ExtraTextures/UI/HealthMana/BarElderberry.png b/UI/HealthManaTextures/BarElderberry.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarElderberry.png rename to UI/HealthManaTextures/BarElderberry.png diff --git a/ExtraTextures/UI/HealthMana/BarMiracleFruit.png b/UI/HealthManaTextures/BarMiracleFruit.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarMiracleFruit.png rename to UI/HealthManaTextures/BarMiracleFruit.png diff --git a/ExtraTextures/UI/HealthMana/BarOriginal.png b/UI/HealthManaTextures/BarOriginal.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarOriginal.png rename to UI/HealthManaTextures/BarOriginal.png diff --git a/ExtraTextures/UI/HealthMana/BarOriginal2.png b/UI/HealthManaTextures/BarOriginal2.png similarity index 100% rename from ExtraTextures/UI/HealthMana/BarOriginal2.png rename to UI/HealthManaTextures/BarOriginal2.png diff --git a/ExtraTextures/UI/HealthMana/HeartBloodOrange.png b/UI/HealthManaTextures/HeartBloodOrange.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartBloodOrange.png rename to UI/HealthManaTextures/HeartBloodOrange.png diff --git a/ExtraTextures/UI/HealthMana/HeartDragonfruit.png b/UI/HealthManaTextures/HeartDragonfruit.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartDragonfruit.png rename to UI/HealthManaTextures/HeartDragonfruit.png diff --git a/ExtraTextures/UI/HealthMana/HeartElderberry.png b/UI/HealthManaTextures/HeartElderberry.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartElderberry.png rename to UI/HealthManaTextures/HeartElderberry.png diff --git a/ExtraTextures/UI/HealthMana/HeartMiracleFruit.png b/UI/HealthManaTextures/HeartMiracleFruit.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartMiracleFruit.png rename to UI/HealthManaTextures/HeartMiracleFruit.png diff --git a/ExtraTextures/UI/HealthMana/HeartOriginal.png b/UI/HealthManaTextures/HeartOriginal.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartOriginal.png rename to UI/HealthManaTextures/HeartOriginal.png diff --git a/ExtraTextures/UI/HealthMana/HeartOriginal2.png b/UI/HealthManaTextures/HeartOriginal2.png similarity index 100% rename from ExtraTextures/UI/HealthMana/HeartOriginal2.png rename to UI/HealthManaTextures/HeartOriginal2.png diff --git a/ExtraTextures/UI/HealthMana/ManaCometShard.png b/UI/HealthManaTextures/ManaCometShard.png similarity index 100% rename from ExtraTextures/UI/HealthMana/ManaCometShard.png rename to UI/HealthManaTextures/ManaCometShard.png diff --git a/ExtraTextures/UI/HealthMana/ManaEtherealCore.png b/UI/HealthManaTextures/ManaEtherealCore.png similarity index 100% rename from ExtraTextures/UI/HealthMana/ManaEtherealCore.png rename to UI/HealthManaTextures/ManaEtherealCore.png diff --git a/ExtraTextures/UI/HealthMana/ManaOriginal.png b/UI/HealthManaTextures/ManaOriginal.png similarity index 100% rename from ExtraTextures/UI/HealthMana/ManaOriginal.png rename to UI/HealthManaTextures/ManaOriginal.png diff --git a/ExtraTextures/UI/HealthMana/ManaPhantomHeart.png b/UI/HealthManaTextures/ManaPhantomHeart.png similarity index 100% rename from ExtraTextures/UI/HealthMana/ManaPhantomHeart.png rename to UI/HealthManaTextures/ManaPhantomHeart.png diff --git a/ExtraTextures/UI/AcidRainIcon.png b/UI/MiscTextures/AcidRainIcon.png similarity index 100% rename from ExtraTextures/UI/AcidRainIcon.png rename to UI/MiscTextures/AcidRainIcon.png diff --git a/ExtraTextures/UI/AstralArcanumCircles.png b/UI/MiscTextures/AstralArcanumCircles.png similarity index 100% rename from ExtraTextures/UI/AstralArcanumCircles.png rename to UI/MiscTextures/AstralArcanumCircles.png diff --git a/ExtraTextures/UI/BossHPComboBar.png b/UI/MiscTextures/BossHPComboBar.png similarity index 100% rename from ExtraTextures/UI/BossHPComboBar.png rename to UI/MiscTextures/BossHPComboBar.png diff --git a/ExtraTextures/UI/BossHPMainBar.png b/UI/MiscTextures/BossHPMainBar.png similarity index 100% rename from ExtraTextures/UI/BossHPMainBar.png rename to UI/MiscTextures/BossHPMainBar.png diff --git a/ExtraTextures/UI/BossHPSeperatorBar.png b/UI/MiscTextures/BossHPSeperatorBar.png similarity index 100% rename from ExtraTextures/UI/BossHPSeperatorBar.png rename to UI/MiscTextures/BossHPSeperatorBar.png diff --git a/ExtraTextures/UI/BossRushIcon.png b/UI/MiscTextures/BossRushIcon.png similarity index 100% rename from ExtraTextures/UI/BossRushIcon.png rename to UI/MiscTextures/BossRushIcon.png diff --git a/ExtraTextures/UI/DefenseDamage.png b/UI/MiscTextures/DefenseDamage.png similarity index 100% rename from ExtraTextures/UI/DefenseDamage.png rename to UI/MiscTextures/DefenseDamage.png diff --git a/ExtraTextures/UI/DefenseDamageHover.png b/UI/MiscTextures/DefenseDamageHover.png similarity index 100% rename from ExtraTextures/UI/DefenseDamageHover.png rename to UI/MiscTextures/DefenseDamageHover.png diff --git a/ExtraTextures/UI/EphemeralBar.png b/UI/MiscTextures/EphemeralBar.png similarity index 100% rename from ExtraTextures/UI/EphemeralBar.png rename to UI/MiscTextures/EphemeralBar.png diff --git a/ExtraTextures/UI/EphemeralBarBorder.png b/UI/MiscTextures/EphemeralBarBorder.png similarity index 100% rename from ExtraTextures/UI/EphemeralBarBorder.png rename to UI/MiscTextures/EphemeralBarBorder.png diff --git a/ExtraTextures/UI/NPCAlertDisplay.png b/UI/MiscTextures/NPCAlertDisplay.png similarity index 100% rename from ExtraTextures/UI/NPCAlertDisplay.png rename to UI/MiscTextures/NPCAlertDisplay.png diff --git a/ExtraTextures/UI/StealthMeter.png b/UI/MiscTextures/StealthMeter.png similarity index 100% rename from ExtraTextures/UI/StealthMeter.png rename to UI/MiscTextures/StealthMeter.png diff --git a/ExtraTextures/UI/StealthMeterBar.png b/UI/MiscTextures/StealthMeterBar.png similarity index 100% rename from ExtraTextures/UI/StealthMeterBar.png rename to UI/MiscTextures/StealthMeterBar.png diff --git a/ExtraTextures/UI/StealthMeterBarFull.png b/UI/MiscTextures/StealthMeterBarFull.png similarity index 100% rename from ExtraTextures/UI/StealthMeterBarFull.png rename to UI/MiscTextures/StealthMeterBarFull.png diff --git a/ExtraTextures/UI/StealthMeterStrikeIndicator.png b/UI/MiscTextures/StealthMeterStrikeIndicator.png similarity index 100% rename from ExtraTextures/UI/StealthMeterStrikeIndicator.png rename to UI/MiscTextures/StealthMeterStrikeIndicator.png diff --git a/ExtraTextures/UI/ModeIndicatorLock.png b/UI/ModeIndicator/ModeIndicatorLock.png similarity index 100% rename from ExtraTextures/UI/ModeIndicatorLock.png rename to UI/ModeIndicator/ModeIndicatorLock.png diff --git a/ExtraTextures/UI/ModeIndicatorOutline.png b/UI/ModeIndicator/ModeIndicatorOutline.png similarity index 100% rename from ExtraTextures/UI/ModeIndicatorOutline.png rename to UI/ModeIndicator/ModeIndicatorOutline.png diff --git a/UI/ModeIndicatorUI.cs b/UI/ModeIndicator/ModeIndicatorUI.cs similarity index 98% rename from UI/ModeIndicatorUI.cs rename to UI/ModeIndicator/ModeIndicatorUI.cs index 21ed9608da..c331e33b77 100644 --- a/UI/ModeIndicatorUI.cs +++ b/UI/ModeIndicator/ModeIndicatorUI.cs @@ -19,7 +19,7 @@ using Terraria.UI.Chat; using System.Text.RegularExpressions; using static Terraria.GameContent.FontAssets; -namespace CalamityMod.UI +namespace CalamityMod.UI.ModeIndicator { public class ModeIndicatorUI { @@ -140,7 +140,7 @@ namespace CalamityMod.UI spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, Main.UIScaleMatrix); - Texture2D outlineTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicatorOutline").Value; + Texture2D outlineTexture = ModContent.Request("CalamityMod/UI/MiscTextures/ModeIndicatorOutline").Value; spriteBatch.Draw(outlineTexture, DrawCenter, null, Color.White * opacity, 0f, outlineTexture.Size() * 0.5f, MainIconScale, SpriteEffects.None, 0f); } @@ -309,7 +309,7 @@ namespace CalamityMod.UI float progress = menuOpen ? 1 - menuOpenTransitionTime / (float)MenuAnimLenght : menuOpenTransitionTime / (float)MenuAnimLenght; Vector2 basePosition = DrawCenter + (barLenght / (float)(tiers + 1f)) * Vector2.UnitY; - Texture2D outlineTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicatorOutline").Value; + Texture2D outlineTexture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicatorOutline").Value; text = ""; bool modeHovered = false; @@ -364,7 +364,7 @@ namespace CalamityMod.UI public static void DrawLock(SpriteBatch spriteBatch) { - Texture2D lockTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/ModeIndicatorLock").Value; + Texture2D lockTexture = ModContent.Request("CalamityMod/UI/ModeIndicator/ModeIndicatorLock").Value; float rotationShift = lockClickTime == 0 ? 0f : (float)Math.Sin((1 - lockClickTime / (float)LockAnimLenght) * MathHelper.TwoPi * 2f) * 0.5f * (lockClickTime / (float)LockAnimLenght); spriteBatch.Draw(lockTexture, DrawCenter + Vector2.UnitY * 12 * MainIconScale, null, Color.White, 0f + rotationShift, lockTexture.Size() * 0.5f, LockShakeScale * MainIconScale, SpriteEffects.None, 0f); } diff --git a/ExtraTextures/UI/ModeIndicator_Death.png b/UI/ModeIndicator/ModeIndicator_Death.png similarity index 100% rename from ExtraTextures/UI/ModeIndicator_Death.png rename to UI/ModeIndicator/ModeIndicator_Death.png diff --git a/ExtraTextures/UI/ModeIndicator_Malice.png b/UI/ModeIndicator/ModeIndicator_Malice.png similarity index 100% rename from ExtraTextures/UI/ModeIndicator_Malice.png rename to UI/ModeIndicator/ModeIndicator_Malice.png diff --git a/ExtraTextures/UI/ModeIndicator_None.png b/UI/ModeIndicator/ModeIndicator_None.png similarity index 100% rename from ExtraTextures/UI/ModeIndicator_None.png rename to UI/ModeIndicator/ModeIndicator_None.png diff --git a/ExtraTextures/UI/ModeIndicator_Rev.png b/UI/ModeIndicator/ModeIndicator_Rev.png similarity index 100% rename from ExtraTextures/UI/ModeIndicator_Rev.png rename to UI/ModeIndicator/ModeIndicator_Rev.png diff --git a/ExtraTextures/UI/ModeIndicator_WhereMalice.png b/UI/ModeIndicator/ModeIndicator_WhereMalice.png similarity index 100% rename from ExtraTextures/UI/ModeIndicator_WhereMalice.png rename to UI/ModeIndicator/ModeIndicator_WhereMalice.png diff --git a/ExtraTextures/UI/AdrenalineBar.png b/UI/Rippers/AdrenalineBar.png similarity index 100% rename from ExtraTextures/UI/AdrenalineBar.png rename to UI/Rippers/AdrenalineBar.png diff --git a/ExtraTextures/UI/AdrenalineBarBorder.png b/UI/Rippers/AdrenalineBarBorder.png similarity index 100% rename from ExtraTextures/UI/AdrenalineBarBorder.png rename to UI/Rippers/AdrenalineBarBorder.png diff --git a/ExtraTextures/UI/AdrenalineBarBorderFull.png b/UI/Rippers/AdrenalineBarBorderFull.png similarity index 100% rename from ExtraTextures/UI/AdrenalineBarBorderFull.png rename to UI/Rippers/AdrenalineBarBorderFull.png diff --git a/ExtraTextures/UI/AdrenalineDisplay_Ectoheart.png b/UI/Rippers/AdrenalineDisplay_Ectoheart.png similarity index 100% rename from ExtraTextures/UI/AdrenalineDisplay_Ectoheart.png rename to UI/Rippers/AdrenalineDisplay_Ectoheart.png diff --git a/ExtraTextures/UI/AdrenalineDisplay_ElectrolyteGelPack.png b/UI/Rippers/AdrenalineDisplay_ElectrolyteGelPack.png similarity index 100% rename from ExtraTextures/UI/AdrenalineDisplay_ElectrolyteGelPack.png rename to UI/Rippers/AdrenalineDisplay_ElectrolyteGelPack.png diff --git a/ExtraTextures/UI/AdrenalineDisplay_StarlightFuelCell.png b/UI/Rippers/AdrenalineDisplay_StarlightFuelCell.png similarity index 100% rename from ExtraTextures/UI/AdrenalineDisplay_StarlightFuelCell.png rename to UI/Rippers/AdrenalineDisplay_StarlightFuelCell.png diff --git a/ExtraTextures/UI/AdrenalineFullAnimation.png b/UI/Rippers/AdrenalineFullAnimation.png similarity index 100% rename from ExtraTextures/UI/AdrenalineFullAnimation.png rename to UI/Rippers/AdrenalineFullAnimation.png diff --git a/ExtraTextures/UI/RageBar.png b/UI/Rippers/RageBar.png similarity index 100% rename from ExtraTextures/UI/RageBar.png rename to UI/Rippers/RageBar.png diff --git a/ExtraTextures/UI/RageBarBorder.png b/UI/Rippers/RageBarBorder.png similarity index 100% rename from ExtraTextures/UI/RageBarBorder.png rename to UI/Rippers/RageBarBorder.png diff --git a/ExtraTextures/UI/RageDisplay_InfernalBlood.png b/UI/Rippers/RageDisplay_InfernalBlood.png similarity index 100% rename from ExtraTextures/UI/RageDisplay_InfernalBlood.png rename to UI/Rippers/RageDisplay_InfernalBlood.png diff --git a/ExtraTextures/UI/RageDisplay_MushroomPlasmaRoot.png b/UI/Rippers/RageDisplay_MushroomPlasmaRoot.png similarity index 100% rename from ExtraTextures/UI/RageDisplay_MushroomPlasmaRoot.png rename to UI/Rippers/RageDisplay_MushroomPlasmaRoot.png diff --git a/ExtraTextures/UI/RageDisplay_RedLightningContainer.png b/UI/Rippers/RageDisplay_RedLightningContainer.png similarity index 100% rename from ExtraTextures/UI/RageDisplay_RedLightningContainer.png rename to UI/Rippers/RageDisplay_RedLightningContainer.png diff --git a/ExtraTextures/UI/RageFullAnimation.png b/UI/Rippers/RageFullAnimation.png similarity index 100% rename from ExtraTextures/UI/RageFullAnimation.png rename to UI/Rippers/RageFullAnimation.png diff --git a/UI/RipperUI.cs b/UI/Rippers/RipperUI.cs similarity index 95% rename from UI/RipperUI.cs rename to UI/Rippers/RipperUI.cs index 1d5f7e7ff0..5b1aefd633 100644 --- a/UI/RipperUI.cs +++ b/UI/Rippers/RipperUI.cs @@ -9,7 +9,7 @@ using ReLogic.Content; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.UI +namespace CalamityMod.UI.Rippers { // TODO -- This can be made into a ModSystem with simple OnModLoad and Unload hooks. public static class RipperUI @@ -46,22 +46,22 @@ namespace CalamityMod.UI internal static void Load() { - rageBarTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageBar", AssetRequestMode.ImmediateLoad).Value; - rageBorderTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageBarBorder", AssetRequestMode.ImmediateLoad).Value; - rageAnimTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageFullAnimation", AssetRequestMode.ImmediateLoad).Value; + rageBarTex = ModContent.Request("CalamityMod/UI/Rippers/RageBar", AssetRequestMode.ImmediateLoad).Value; + rageBorderTex = ModContent.Request("CalamityMod/UI/Rippers/RageBarBorder", AssetRequestMode.ImmediateLoad).Value; + rageAnimTex = ModContent.Request("CalamityMod/UI/Rippers/RageFullAnimation", AssetRequestMode.ImmediateLoad).Value; - adrenBarTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineBar", AssetRequestMode.ImmediateLoad).Value; - adrenBorderTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineBarBorder", AssetRequestMode.ImmediateLoad).Value; - adrenBorderTexFull = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineBarBorderFull", AssetRequestMode.ImmediateLoad).Value; - adrenAnimTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineFullAnimation", AssetRequestMode.ImmediateLoad).Value; + adrenBarTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineBar", AssetRequestMode.ImmediateLoad).Value; + adrenBorderTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineBarBorder", AssetRequestMode.ImmediateLoad).Value; + adrenBorderTexFull = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineBarBorderFull", AssetRequestMode.ImmediateLoad).Value; + adrenAnimTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineFullAnimation", AssetRequestMode.ImmediateLoad).Value; - mushroomPlasmaTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageDisplay_MushroomPlasmaRoot", AssetRequestMode.ImmediateLoad).Value; - infernalBloodTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageDisplay_InfernalBlood", AssetRequestMode.ImmediateLoad).Value; - redLightningTex = ModContent.Request("CalamityMod/ExtraTextures/UI/RageDisplay_RedLightningContainer", AssetRequestMode.ImmediateLoad).Value; + mushroomPlasmaTex = ModContent.Request("CalamityMod/UI/Rippers/RageDisplay_MushroomPlasmaRoot", AssetRequestMode.ImmediateLoad).Value; + infernalBloodTex = ModContent.Request("CalamityMod/UI/Rippers/RageDisplay_InfernalBlood", AssetRequestMode.ImmediateLoad).Value; + redLightningTex = ModContent.Request("CalamityMod/UI/Rippers/RageDisplay_RedLightningContainer", AssetRequestMode.ImmediateLoad).Value; - electrolyteGelTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineDisplay_ElectrolyteGelPack", AssetRequestMode.ImmediateLoad).Value; - starlightFuelTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineDisplay_StarlightFuelCell", AssetRequestMode.ImmediateLoad).Value; - ectoheartTex = ModContent.Request("CalamityMod/ExtraTextures/UI/AdrenalineDisplay_Ectoheart", AssetRequestMode.ImmediateLoad).Value; + electrolyteGelTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineDisplay_ElectrolyteGelPack", AssetRequestMode.ImmediateLoad).Value; + starlightFuelTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineDisplay_StarlightFuelCell", AssetRequestMode.ImmediateLoad).Value; + ectoheartTex = ModContent.Request("CalamityMod/UI/Rippers/AdrenalineDisplay_Ectoheart", AssetRequestMode.ImmediateLoad).Value; pearlOffsetLeft = new Vector2(rageBorderTex.Width * 0.3333f - 6f, rageBorderTex.Height - 9f); pearlOffsetCenter = new Vector2(rageBorderTex.Width * 0.5f - 6f, rageBorderTex.Height - 9f); diff --git a/UI/StealthUI.cs b/UI/StealthUI.cs index d7c58e85cf..9a356294de 100644 --- a/UI/StealthUI.cs +++ b/UI/StealthUI.cs @@ -23,10 +23,10 @@ namespace CalamityMod.UI internal static void Load() { - edgeTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/StealthMeter", AssetRequestMode.ImmediateLoad).Value; - indicatorTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/StealthMeterStrikeIndicator", AssetRequestMode.ImmediateLoad).Value; - barTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/StealthMeterBar", AssetRequestMode.ImmediateLoad).Value; - fullBarTexture = ModContent.Request("CalamityMod/ExtraTextures/UI/StealthMeterBarFull", AssetRequestMode.ImmediateLoad).Value; + edgeTexture = ModContent.Request("CalamityMod/UI/MiscTextures/StealthMeter", AssetRequestMode.ImmediateLoad).Value; + indicatorTexture = ModContent.Request("CalamityMod/UI/MiscTextures/StealthMeterStrikeIndicator", AssetRequestMode.ImmediateLoad).Value; + barTexture = ModContent.Request("CalamityMod/UI/MiscTextures/StealthMeterBar", AssetRequestMode.ImmediateLoad).Value; + fullBarTexture = ModContent.Request("CalamityMod/UI/MiscTextures/StealthMeterBarFull", AssetRequestMode.ImmediateLoad).Value; Reset(); } diff --git a/Utilities/TileEntityUtils.cs b/Utilities/TileEntityUtils.cs index 5d2899b103..f3aef5f712 100644 --- a/Utilities/TileEntityUtils.cs +++ b/Utilities/TileEntityUtils.cs @@ -70,11 +70,11 @@ namespace CalamityMod // Draws the Power Cell item slot in a UI. Used by both the Power Cell Factory and Charging Station. internal static void DrawPowercellSlot(SpriteBatch spriteBatch, Item item, Vector2 drawPosition, float iconScale = 0.7f) { - Texture2D slotBackgroundTex = Request("CalamityMod/ExtraTextures/UI/PowerCellSlot_Empty").Value; + Texture2D slotBackgroundTex = Request("CalamityMod/UI/DraedonsArsenal/PowerCellSlot_Empty").Value; // This check is done twice because the draw order matters. We want to draw the background icon before any text. if (item.stack > 0) - slotBackgroundTex = Request("CalamityMod/ExtraTextures/UI/PowerCellSlot_Filled").Value; + slotBackgroundTex = Request("CalamityMod/UI/DraedonsArsenal/PowerCellSlot_Filled").Value; spriteBatch.Draw(slotBackgroundTex, drawPosition, null, Color.White, 0f, slotBackgroundTex.Size() * 0.5f, iconScale, SpriteEffects.None, 0f); if (item.stack > 0)