Elephant now redirects shots
EK now does not benefit from stealth damage
EK shots that go through the elephant are now counted as stealth strikes (I tested this out with stuff like Eglove and it wasn't any crazier than your average rogue weapon)
Also adds a function for getting the players melee size, and improves every facet of Basher, while functionally leaving it relatively the same.
Also removes it's poison and nerfs its damage a bit.
* Fixed an out of bounds error caused by TempParticleManager's update loop iterating through the maximum amount of particles that can exist at once rather than the maximum amount of particles that are currently active.
* Removed particleTypesByNames from GeneralParticleHandler.
* Renamed "Depth" to "ParallaxStrength" in TempParticle and other associated areas.
* Added Main.dedServ checks where necessary in TempParticleManager. Other general cleanup besides that.
* Added the "ReturnAll" method to TempParticleManager to allow users to forcibly return all active particles in the manager to the particle pool.
* 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.
* Added the following pixelated variants for their respective ModDust types:
* DiamondDustPixelated
* SquareDustPixelated
* SquashDustPixelated
* SquashDustHollowPixelated
* SquashDustTileTouchPixelated
* UnstableDustPixelated
* VoidDustPixelated
* VoidDustInvertedPixelated
* Added missing documentation comment for the new "pixelate" parameter in GeneralParticleHandler.SpawnParticle.
* Updated GeneralParticleHandler.SpawnParticle with an optional pixelate parameter. Set to true to have spawned particles be pixelated.
* Encapsulated GeneralParticleHandler's credits in a region.
* Cleaned up and reorganized Particle.cs.
* Added documentation comments for all fields and properties in Particle.cs.
* Added ParticleAutoDrawingOverride, which allows one to override the automatic drawing of a particular particle type and manually and efficiently control how each instance is drawn in the world.
* Subsequently added the OverrideAutomaticDrawing property to Particle.
* Multiple changes to GeneralParticleHander.cs:
* Removed the noteToEveryone field, but moved the text to a comment at the top of the class.
* Additionally, added credits to Luminance and their license notice since the new particle drawing logic was inspired by its system.
* Reorganized fields based on their protection level.
* Renamed "particles," "particleTypes" and "particleTextures" to "activeParticles," "particleIDsByTypes" and "particleTexturesByIDs" respectively.
* Added documentation for all internal fields
* Moved the GetTexture and FreeSpaceAvailable methods up with the rest of the public static methods for consistency.
* The "ActivePixelatedDrawer_" fields in are now cleared upon unloading the world instead of being set to null to prevent a null reference exception when leaving and reentering worlds.
* Added a global pixelated drawing system.
* Added LightDustPixelated.
* Added the GeneralDrawLayer enum, which is now used for layered drawing in both the pixelation and particle systems.
* Updated the particle system:
* Now supports drawing on multiple different layers now instead of just after everything else in the world has been drawn.
* Collapsed the three draw lists in favor of two dictionaries, which store lists of non-pixelated and pixelated particles respectively based on their BlendState.
* particlesToSpawnNextFrame is now a dictionary which stores Queues based on their draw layer.