Commit Graph
56 Commits
Author SHA1 Message Date
Big E 581e7ebfa8 + Main.dedServ check in BaseRenderer 2025-12-30 22:14:39 -05:00
Flowaria 054016348f Remove HolyInfernoRenderer 2025-12-29 23:46:35 -05:00
Flowaria 57c1eea33b Remove DeerclopsShadowRenderer; Moved to rev+ DeerclopsAI itself 2025-12-29 22:34:59 -05:00
Flowaria 7547c5ba9d Fully Remove MiracleBlight Renderer 2025-12-29 16:12:43 -05:00
Stephen Thiebaud 041a52e096 feat: deprecate baserenderer 2025-12-28 12:56:33 -05:00
Stephen Thiebaud fda6dca5af feat: remove basically every direct call to setrendertarget 2025-12-28 12:56:33 -05:00
Stephen Thiebaud f84d82fc01 fix: clear scoped targets to match swapto behavior 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 955756808d feat: replace every usage of swapto 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 2af9c2209f fix: repair every immediately-obviously-safe rt reference 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 8c05732838 feat: initial removal of every reference to managedrendertarget 2025-12-28 12:56:33 -05:00
Stephen Thiebaud b1e5333d7c fix: some race conditions and collection issues 2025-12-28 12:56:33 -05:00
Big E 293a51ebfc + Removed the unused DoGDeathAnimationRenderer 2025-12-26 14:27:21 -05:00
Big E 770efcea10 + Improved DoG Death Dissolve (note: DoGDeathAnimationRenderer can be removed) 2025-12-25 21:38:14 -05:00
Flowaria 104ced20da Added GeneralDrawLayerSystem 2025-12-16 17:48:41 -05:00
Flowaria 4a83165899 Fixing Faulty RasterizerState and Matrix 2025-12-15 16:41:49 +09:00
Flowaria ccb69d5d53 Restore RendererManager 2025-12-15 14:02:54 +09:00
Stephen Thiebaud 90ad505cff correct begin calls now 2025-12-10 01:54:48 -06:00
Stephen Thiebaud 69be1d1f12 convert safebegin calls to sbscope but don't fix begin parameters yet 2025-12-10 01:48:41 -06:00
Stephen Thiebaud a21ff327f6 add end call 2025-12-10 01:06:09 -06:00
Stephen Thiebaud 5ec165c185 restore everything I think 2025-12-10 01:04:54 -06:00
Stephen Thiebaud f237ac77ad port existing uses 2025-12-10 00:52:39 -06:00
Dreitone 6eaf814a7b temporarily prevent 'renderers' from running 2025-12-09 01:29:30 -06:00
Dreitone a65579270e temporarily scopeify a safebegin call 2025-12-08 02:29:10 -06:00
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
Flowaria 135595e229 Replace DyeableShader ILHook to GlobalItem Hook 2025-12-01 13:21:19 +09:00
fryzahh b33a70fd08 GeneralDrawLayer generalization + TempParticle start
* Split up GeneralDrawLayer.BeforeTiles into BeforeAllTiles and BeforeSolidTiles.
* Moved screen renderers, metaballs and pixelated primitive drawing to use GeneralDrawLayer and subsequentially removed their own draw layer enums.
* Moved screen renderers, metaballs, particles, pixelated primitive drawing and pixelated drawers draw calls to MechanicalILChanges.
* Added TempParticle and TempParticleManager, used for defining temporary particle handlers in any file for short-term, fully-modifiable particle effects
* Removed ParticleAutoDrawingOverride and added a "CustomShader" property and "PrepareCustomShader" method to Particle.cs. These should be used in conjunction when wanting to apply shader effects to particles. If anything more precise is needed, use the new TempParticleManager class.
2025-11-15 16:41:52 -04:00
Flowaria aa3a152484 Possible NullRef Fix for DoG Death Anim Renderer 2025-10-26 14:08:34 -04:00
Doze-Zoze 2059138597 requested changes 2025-09-30 13:02:05 -05: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
CongratsIsTrash 66d5d9fe45 Fixed Provi Holy Inferno shader not being updated for new enrage condition 2025-04-17 21:47:15 -04: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 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
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 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 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
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