Commit Graph
41 Commits
Author SHA1 Message Date
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
Mishiro Usui a101937ad6 Fixed npcs/projectiles not spawning in mp 2023-12-08 17:57:47 +00:00
Toasty c9edee954a Added an interface to allow for shader visuals to be dyed. (#14)
- Added IDyeableShaderRenderer.
- Moved the current 4 energy shields to use this interface.
- Removed Sponge and Rover drive team coloring, and the assosiated tooltips as a result of the above.
2023-12-07 23:57:09 -05:00
Toastyandtomat 0869a528dc Renderer fixes (#12)
* - Pull #3 requests.
- Safety check for globals in miracle blight renderer to prevent MP crashes.

* - Fixed load crash.
- Fixed miracle blight effect getting very grainy when using the worldposition.
- RealCos -> cos, as cos is now fixed in mojoshader.
- Method rename for consistency.

* Discard changes to Properties/launchSettings.json

* Discard changes to NPCs/CalamityGlobalNPC.cs

* Discard changes to NPCs/CalamityGlobalNPC.cs

* Update CalamityGlobalNPC.cs

* Update RendererManager.cs

* - Rename for consistency.
- Cached renderers are cleared when unloading.

---------

Co-authored-by: tomat <xxlennygamerxx@gmail.com>
2023-12-07 23:56:48 -05:00
Mishiro Usui 565fb63eb1 Deerclops border fixes/adjustments 2023-12-01 20:04:31 +00:00
DominicKarma 8f4e8087b9 Replace BasicEffect with StandardPrimitiveShader (#8)
This is a knowing violation of branch protection rules for a high priority fix
2023-11-24 21:23:15 -05:00
Mishiro Usui 4c9621c7bf import cleanup 2023-11-24 17:31:44 +00:00
Mishiro Usui 3d97e725aa Provi border fade on death 2023-11-24 17:31:25 +00:00
Mishiro Usui 6514729ce8 Deerclops shadow border 2023-11-24 17:30:53 +00:00
Mishiro Usui a4cb45a321 Provi border variable adjustments for other mod support 2023-11-18 03:36:09 +00:00
Mishiro Usui 7b6c40eea1 We do a little swizzling (added night prov inferno)
Additionally moved the flame visual from burn intensity to holy inferno
2023-11-15 14:10:20 +00:00
Mishiro Usui 0ac77b44e7 Changed kvp to Tuple 2023-11-12 13:15:07 -05:00
Mishiro Usui 7597ecdb80 Added a visual border + inferno for providence 2023-11-12 13:15:07 -05:00
Xyk 3fdf33ce1f Visual flamethrower changes
Dead Suns wind particle reduction for performance and color change and to fit the sprite a bit more and not step on nanoblack's vibes quite as hard

Miracle blight made slightly less intense and added some white

Fixed the Metaballs on Blood boiler and Dragon's Breath the best I can.
2023-11-06 16:49:34 -08:00
Xyk 18724364a9 Photo Updates
Reworked Photo, no tooltip yet, more possible changes incoming
2023-11-06 01:17:12 -08:00
Ozzatron 96c7ce7c93 Fixed Blood Boiler and Dragon's Breath visuals with new metaballs 2023-11-05 00:33:47 -04:00
Ozzatron f2d54968fb Ported Blood Boiler and Dragon's Breath to Dom's Metaballs V2. Hopefully. 2023-11-04 18:57:23 -04:00
DominicKarma 0ab4933901 Remade the metaball system entirely (#4)
* Remade the metaball system entirely
* Rename additive metaball shader registration
2023-11-04 11:54:13 -04:00
Toasty a88be3282f Added a new drawer system, and fixed some miracle blight visual issues. (#3)
* - Added ManagedRenderTarget to better handle RenderTarget2Ds.
- Added a Graphics folder that contains the above.
- Made all existing RenderTarget2Ds use the above instead.
- Removed some old/reduntant loading code for metaballs.
- Moved PrimitiveTrail to the new Graphics folder.

* - Manually unload the event, as afaik TMod will not do this.

* - Added a drawer system, for making doing more advanced visual effects easier.
- Moved miracle blight's shader effect to use this instead of the old method.
- Ares Body is now vulnerable to miracle blight again, as the visual effect is disabled seperately.
2023-11-02 12:34:11 -04:00
Toasty 6bfe9987e3 Improved RenderTarget2D handling. (#1)
* - Added ManagedRenderTarget to better handle RenderTarget2Ds.
- Added a Graphics folder that contains the above.
- Made all existing RenderTarget2Ds use the above instead.
- Removed some old/reduntant loading code for metaballs.
- Moved PrimitiveTrail to the new Graphics folder.

* - Manually unload the event, as afaik TMod will not do this.
2023-11-01 15:47:58 -04:00