Commit Graph
69 Commits
Author SHA1 Message Date
Ozzatron ad52b361a5 Merge branch '1.4.4' into Starfleet-Starmada-Reworks 2025-10-04 17:42:44 -04:00
Doze-Zoze 2059138597 requested changes 2025-09-30 13:02:05 -05:00
Xyk 7061f12c18 More Progress 2025-09-05 01:02:14 -07:00
Xyk 1708bfa844 Starfleet Basic Function 2025-09-04 15:14:06 -07:00
fryzahh c3ee433cd1 DoGSky touchups + misc fixes and changes
- Made some visual improvements to DoG's CustomSky, involving the creation of two new shaders, DoGRealityCrackShader and DoGRiftAuraShader
- - Descriptions for each can be found in CalamityShaders
- Ambient sky entities are now disabled while DoG's CustomSky is active
- The code for the distortion rift's lightning effect should now no longer run at all times and only when DoG's CustomSky is active
- DoG no longer has its death animation shader applied to all segments individually. Instead, all segments are now drawn to a render target, which is what the shader is then applied to via a new BaseRenderer class, DoGDeathAnimationRenderer. This was done to prevent all of DoG's sprites from suddenly rendering in full brightness during his death animation
- - Additionally, DoGDisintegration's code has been cleaned up
- Fixed DoG not spawning out of the correct teleport rift projectile on GFB due to not properly accommodating for fake rifts when searching for the correct teleport location
- Improved the visuals of DoGTeleportRift and decreased the visual intensity of fake rifts
- DoG's teleport rift indicator icon will no longer appear on GFB due to the inclusion of fake rifts as a mechanic on that seed. There are many differences between the real rift and fake rifts which should make up for this
2025-07-31 00:46:56 -04:00
fryzahh eb2811ea9e DoGTeleportRift visual redo
- Redid the visuals of DoGTeleportRift entirely
- Moved all visual management for DoG's fight from DoGWorldVisualChangesManager to DoGVisualsManager. Additionally, also made the class its own file rather than being attached to DoGSky's file.
- Created a new foreground Distortion target for DoGDistortionMetaball and DoGRiftCrack
- Adjusted CircularOpacityShader
- Changed the display name of DoGTeleportRift from "Rift" to "DoG Distortion Rift"
2025-07-06 12:02:05 -04:00
fryzahh 10fcee19a0 DoGSky full revamp
- Entirely revamped DoGSky and cleaned up some of its older code
- - Moved DoGSky and DoGShaderData from CalamityMod/NPCs/DevourerofGods to CalamityMod/Skies
- - Added three new shaders which are used in the new sky, DoGDistortionWindsShader, DoGBackgroundFogShader and CircularOpacityShader
- - Removed MonolithDistortionScene and adjusted DoGBackgroundScene to account for both monoliths when activating background visuals
- - Added a new field to PrimitiveSettings which allows primitives to render with the same unscaled perspective matrices used for pixelating them. This was a necessary addition as the new DoGSky utilizes the primitive drawing system for a special visual effect and wasn't scaling correctly with the rest of the background due to the normal perspective matrices for primitives using the game's zoom setting to scale them accordingly. Backgrounds and any associated effects do not scale with zoom, for further context.
2025-06-30 18:17:39 -04:00
GinYuH 275fccfede Sylvestaff 2025-05-28 18:48:13 -07:00
CongratsIsTrash 66d5d9fe45 Fixed Provi Holy Inferno shader not being updated for new enrage condition 2025-04-17 21:47:15 -04:00
Xyk 38bf9f0273 The Dash Changes
Changed:
Tabi, Master Ninja Gear, Statis Ninja Belt, Statis Void Sash, Leviathan Ambergris, and Slagsplitter Pauldron

- The Tabi line of dashes are now significantly faster on inital dash, but decelerate quickly. They also have a lower dash cooldown than normal. This allows for quick and fast dodge movements without a long lasting dash/dash cooldown

- Statis dashes no longer use Magilum, but increase acceleration on their own by 1.6x/1.85x and also increase move speed by 10%/20%

- Redid dash visuals for Slagsplitter Pauldron, Statis Ninja Belt, Statis Void Sash, and Leviathan Ambergris.

- Added visibility toggle for Slagsplitter Pauldron, Statis Void Sash, and Leviathan Ambergris.

- Leviathan Ambergris now increases initial dash velocity by 200% and makes you decelerate while dashing, allowing for quicker dashes that don't aren't longer than before and don't increase the time between dashing. Also significantly buffed it's damage because of changes described below.

- Redid how Slagsplitter Pauldron and Leviathan Ambergris do their hits. It is now a single projectile that sticks to the player spawned on dash start that disappears on dash end and deals damage. Also reduced explosion damage on Pauldron but increased direct damage.
2025-03-31 19:37:23 -07:00
CongratsIsTrash 69e4f473b0 Replaced every instance of Main.player[Main.myPlayer] with Main.LocalPlayer 2025-01-26 22:17:36 -05:00
CongratsIsTrash dc90e31dc0 Replaced every instance of Main.netMode == NetmodeID.Server with Main.dedServ
And every Main.netMode != NetmodeID.Server with !Main.dedServ
2024-12-30 15:57:16 -05:00
Flowaria 55ddd37918 Specify Culling State while Drawing RenderTarget 2024-11-15 00:03:47 +09:00
Flowaria 187ccbf41c Moved few more condition to CalDrawParameterNPC 2024-10-16 21:45:30 +09:00
Flowaria 7ff2646c31 Introduce CalamityDrawParameterNPC 2024-10-16 21:35:39 +09:00
Shade b0e6a4b65f Fixed the WoF crashes, probably not the best solution but it will do 2024-10-15 20:15:35 -06:00
Flowaria a428a3056e PrimitiveRenderer as ModSystem 2024-09-30 03:37:06 -04:00
Flowaria c575ab8ba8 Energy Shield is now also visible on flipped gravity 2024-09-21 03:33:00 +09:00
Flowaria 171ecb147e Fixed "reference fields" warning on DyeableShaderRenderer 2024-09-17 21:45:57 +09:00
Flowaria 5f637f72d4 Potential Fix for "Game Crash After WoF Defeated" 2024-09-15 12:45:38 +09:00
Flowaria 47ed656f5b Fixed MiracleBlightRenderer SpriteBatch Exception 2024-09-15 09:30:05 +09:00
Flowaria cbd1446bde Energy Shield now properly draws per player 2024-09-13 19:46:34 -04:00
Flowaria 66a1f5c311 Added TODO comment 2024-09-13 19:46:34 -04:00
Flowaria a8729bd4e4 Rewrite Rendering Code for ProfanedShield 2024-09-13 19:46:34 -04:00
Xyk 1012e6d8e2 Finishing Touches 2024-09-13 17:22:35 -04:00
Xyk a5dd5f6d5f Part 1 2024-09-13 17:22:35 -04:00
Xyk 44a2b8fa48 Dragon's Breath Re-implementation and more metaball removal
Adjusted/Removed metaballs from blood boiler and photoviscerator
Completley recoded Dragons Breath, now as a holdout
2024-09-02 02:14:02 -07:00
Xyk a86106caf5 Metaball death and right click fixes
Replaced the metaballs used by Photoviscerator with particles because metaballs now have screen bleed for some reason and I hate it.

Made Hellborn and Photo both have right clicks that dont interact with menus, also had to increase their firerate to compensate since they got a bit slower because of this change
2024-09-01 20:28:38 -07:00
Flowaria fa3e840959 Fixed: Critical Networking Issue while equipping Shield/Barrier Item (#59) 2024-08-25 12:50:15 -04:00
mountaindrew10 80063aef94 More Deerclops distance on the border. 2024-06-29 17:17:24 -05:00
Ozzatron bb77d53b0c Fix numerous compilation errors caused by botched entity iterator merge. 2024-05-13 22:11:06 -04:00
Ozzatron 60688c4259 Merge of BasicallyIAmFox's Entity Iterators PR with 2.0.4.001
- Some entity iterators were intentionally excluded due to complex merge conflicts with fully reworked weapons.
- NOTABLE: ProjectileUtils generic homing code had its iterator excluded due to a behavioral change which was not easily resolved.
2024-05-13 21:42:17 -04:00
BasicallyIAmFox e2c261e69e Some of the projectile iterators 2024-05-08 18:07:24 +05:00
BasicallyIAmFox 12ea0ed131 More progress 2024-05-03 15:46:30 +05:00
Altixal cb9666a465 other remix stuff
- Empress debuffs will always be consistent with enrage status
- CalClone and Astrum Deus can be summoned at all times
- Other bosses have enrages matching remix night
- Cryogen's auroras are now consistent throughout the remix night

Note: most items remain the same because that's apparently how vanilla works
2024-04-04 04:11:21 +07:00
Dominic Karma 820898bd0c Fixing Primitive Width Function Distortions (#25)
* Change width storage definitions

* Update primitive shaders
2024-03-03 20:40:04 -05:00
Dominic Karma a0e10c0493 Fixing Primitive Width Function Distortions (#25)
* Change width storage definitions

* Update primitive shaders
2024-03-03 20:33:44 -05:00
tomat 953e7ddea6 Merge branch '1.4.4' into linting 2024-02-29 15:14:16 -08:00
Ozzatron 18958ee9e9 fix first-frame prim exception by fixing loading 2024-02-29 15:54:00 -05:00
Ozzatron b9b4b438d8 Fix offset function not being applied on unsmoothed primitive point sets. 2024-02-29 15:46:44 -05:00
Toasty e92c21a411 Follow up to #23, Primitive System performance increase. (#24)
- Increase performance via pooling, buffers, int -> short, and most linq removal.
2024-02-29 15:04:28 -05:00
Toasty 63649365d0 Follow up to #23, Primitive System performance increase. (#24)
- Increase performance via pooling, buffers, int -> short, and most linq removal.
2024-02-29 15:04:05 -05:00
tomat c80265a899 Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into linting
# Conflicts:
#	Graphics/Primitives/PrimitiveTrail.cs
#	NPCs/AcidRain/AcidEel.cs
#	NPCs/ExoMechs/Apollo/Apollo.cs
#	NPCs/ExoMechs/Ares/AresBody.cs
#	NPCs/ExoMechs/Artemis/Artemis.cs
#	NPCs/SupremeCalamitas/BrimstoneHeart.cs
#	Projectiles/Boss/ApolloChargeTelegraph.cs
#	Projectiles/Boss/AresTeslaOrb.cs
#	Projectiles/Boss/ArtemisChargeTelegraph.cs
#	Projectiles/Boss/ArtemisSpinLaserbeam.cs
#	Projectiles/Boss/CirrusPhotonRipperPrismTooth.cs
#	Projectiles/Boss/DraedonSummonLaser.cs
#	Projectiles/Boss/DyingSun.cs
#	Projectiles/DraedonsArsenal/PhaseslayerProjectile.cs
#	Projectiles/Enemy/GammRayBurst.cs
#	Projectiles/Magic/ApotheosisEnergy.cs
#	Projectiles/Magic/ArtAttackStar.cs
#	Projectiles/Magic/EternityHex.cs
#	Projectiles/Magic/FabBolt.cs
#	Projectiles/Magic/FabRay.cs
#	Projectiles/Magic/RainbowRocket.cs
#	Projectiles/Magic/WulfrumBolt.cs
#	Projectiles/Melee/Exobeam.cs
#	Projectiles/Melee/MarniteObliteratorProj.cs
#	Projectiles/Melee/PrismTooth.cs
#	Projectiles/Melee/RendingNeedle.cs
#	Projectiles/Melee/StygianShieldAttack.cs
#	Projectiles/Melee/TaintedBladeSlasher.cs
#	Projectiles/Melee/TerratomereBeam.cs
#	Projectiles/Melee/TerratomereBigSlash.cs
#	Projectiles/Melee/TerratomereHoldoutProj.cs
#	Projectiles/Melee/ViolenceSlashProjectile.cs
#	Projectiles/Melee/ViolenceThrownProjectile.cs
#	Projectiles/Ranged/ExoCrystalArrow.cs
#	Projectiles/Ranged/ExoLightningBolt.cs
#	Projectiles/Ranged/MeowCreature.cs
#	Projectiles/Ranged/PristineFire.cs
#	Projectiles/Ranged/SpeedBlasterShot.cs
#	Projectiles/Ranged/TelluricGlareArrow.cs
#	Projectiles/Ranged/TheMaelstromShark.cs
#	Projectiles/Rogue/DynamicPursuerElectricity.cs
#	Projectiles/Rogue/ScarletDevilProjectile.cs
#	Projectiles/Rogue/StormfrontLightning.cs
#	Projectiles/Rogue/WulfrumKnifeProj.cs
#	Projectiles/Summon/CosmilampBeam.cs
#	Projectiles/Summon/DaedalusLightning.cs
#	Projectiles/Summon/SmallAresArms/MinionTeslaOrb.cs
#	Projectiles/Summon/WulfrumDroid.cs
#	Projectiles/Summon/WulfrumEnergyBurst.cs
#	Projectiles/Summon/WulfrumFusionBolt.cs
#	Projectiles/Typeless/GemTechArmorGem.cs
#	Projectiles/Typeless/SuicideBomberDemon.cs
#	Projectiles/Typeless/WulfrumHook.cs
2024-02-28 22:29:35 -08:00
Toasty ff45607ee2 Primitive System Remake (#23)
* - Primitive system rewrite, start of converting old code to use the newer system.

* - Tweaks to the primitive manager to match the old one.
- Finished porting old uses of the primitives to the new ones.
- Improved XML documentation on the newer ones.

* Delete en-US.hjson

* Remove cosmic shiv auto-entry

* - Indentation fixes.

* - Remove interface access modifiers
2024-02-29 01:19:26 -05:00
Toasty ca86f74737 Primitive System Remake (#23)
* - Primitive system rewrite, start of converting old code to use the newer system.

* - Tweaks to the primitive manager to match the old one.
- Finished porting old uses of the primitives to the new ones.
- Improved XML documentation on the newer ones.

* Delete en-US.hjson

* Remove cosmic shiv auto-entry

* - Indentation fixes.

* - Remove interface access modifiers
2024-02-29 01:17:19 -05:00
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00
mountaindrew10 751f927e28 Refactoring and AI reorganization madness. 2024-02-27 04:14:26 -06:00
Mishiro Usui af20562f17 Fix an issue with prov drawing when prov is null 2023-12-26 19:36:16 +00:00
Toasty 49b7cd58b5 Fix obscure crash with miracle blight renderer (again) (#17)
- Fixed weird index out of range error.
- Cleaned up my code from #3 readability, and to better implement the guarding checks from #12
2023-12-18 14:59:44 -05:00
Toasty 0016f76ffe Fix obscure crash with miracle blight renderer (again) (#17)
- Fixed weird index out of range error.
- Cleaned up my code from #3 readability, and to better implement the guarding checks from #12
2023-12-18 14:59:20 -05:00