* 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.
Removed the unnecessary reinitialization of ManagedTargets in ModLoad because it removed some of the rendertargets on the mod that loaded before OnModLoad
(cherry picked from commit 70e56bd445884a4f5b914cafadef1cc6f628eaf6)
- 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
- 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"
- 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.
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.
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
- 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.
- 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