Commit Graph
711 Commits
Author SHA1 Message Date
Flowaria 77d815c0af Replace ClearTempTiles ILHook to OnWorldLoad Hook 2025-12-01 13:26:19 +09:00
Flowaria 00351469c9 Split BlendMerge Drawing Into Two different Type 2025-11-30 08:19:35 +09:00
Cameron Ewell 250d70b9cd Fix copy pasted flag comments 2025-11-29 17:03:00 -05:00
Flowaria 711f1d4d7f Added SetFlags 2025-11-29 17:03:00 -05:00
Flowaria 3a1424fa5e Added Flag0-3 2025-11-29 17:03:00 -05:00
Flowaria d0f42a1dbe Fixed Inverted Condition 2025-11-29 17:03:00 -05:00
Flowaria 1cd8fcb686 ExtraGrass Tiles are now use Cached HasSpecialPoint condition 2025-11-29 17:03:00 -05:00
Flowaria d9bb3be6e2 Reorganize BlendMerge Specific TileData into General Usage 2025-11-29 17:03:00 -05:00
Flowaria 812a698a3d Fixed Lava Rendering OOB when other mod adds ModWaterStyle 2025-11-27 17:09:41 +09:00
GinYuH fe51f248c9 a pile of new piles 2025-11-26 19:15:27 -08:00
Flowaria ceb5b4b1d1 Added ILFailure Util Extension 2025-11-26 14:21:11 -05:00
Flowaria ed22b65bed Added Shorthand Property for CalamityMod.Instance.Logger 2025-11-26 14:21:11 -05:00
Flowaria 9df9b42e90 BlendMerge - TileFrame Micro-optimization 2025-11-26 20:47:59 +09:00
Flowaria 827687ba5a Replacing Manual ResizeArrays Hook into tModLoader Provided one 2025-11-26 03:48:34 +09:00
Flowaria 4f968329f6 oops swapped 2025-11-24 22:01:59 -05:00
Flowaria fc80f49289 Fixing Alpha Multiplier Issue 2025-11-24 22:01:59 -05:00
Flowaria 2e48b0d544 BlendMerge - Draw code rewrite 2025-11-24 22:01:59 -05:00
Cameron Ewell 45b1bbe7dd Merge: Enchanted Blade Staff
Confusingly, it summons minions.
2025-11-24 21:40:10 -05:00
Flowaria 8a8b5f432a Add Proper Error Message for RegisterMerge Fail by Missing TileBlendTexture 2025-11-23 21:29:12 +09:00
Memes e9d236803e Obtainment Method. 2025-11-22 23:14:47 +01:00
CongratsIsTrash f7c7007617 Removed IsSicknessDebuff and IsFireDebuff buff ID sets in favor of checking DebuffData 2025-11-21 20:55:43 -05:00
CongratsIsTrash 0d4a286be0 Removed Dreadstone and Underworld pillars 2025-11-20 23:21:10 -05:00
Flowaria 809fea87ff Dictionary -> ConcurrentDictionary 2025-11-21 11:59:08 +09:00
CongratsIsTrash e619b1426e Giant Hive now generates randomly underground
The large surface living mahogany tree still exists, separate from the hive
2025-11-20 18:16:18 -05:00
CongratsIsTrash 36350bc25c Restored Sans Undertale with different dedication 2025-11-20 13:16:59 -05:00
CongratsIsTrash 2c27c5528e Removed remaining instances from repo 2025-11-20 13:10:44 -05:00
fryzahh 570da6961b Fixed pixelated assets being offset by camera movements
* Pixelated assets are now drawn to render targets during Main.CheckMonoliths instead of Main.PreDraw. The latter drew them to early and caused them to be offset incorrectly whenever the camera moved
2025-11-17 21:31:58 -04:00
fryzahh 9c11d520d6 General cleanup and fixes
* 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.
2025-11-15 21:30:02 -04:00
fryzahh 4c5ca67c3c Merge branch '1.4.4' into graphical-system-additions 2025-11-15 16:45:19 -04: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 7e85c118e3 Remove Unreasonable Health check on IsAnEnemy, Replace to NPCSets 2025-11-15 14:44:57 +09:00
GinYuH f92ab14147 added sunken sea fishing fish
welcome back coralskin foolfish
2025-11-12 00:27:16 -08:00
Stephen ThiebaudandLion8cake 4a427eb3f1 fix: adjust lighting logic for lava waterfalls to color properly
Co-authored-by: Lion8cake <Lion8cake@hotmail.com>
2025-11-12 00:00:15 -06:00
Stephen Thiebaud bb58efd571 fix: don't draw liquid behind tiles when edge renderer is active 2025-11-11 21:50:07 -06:00
Stephen Thiebaud 4fdb31f350 fix: naively refuse to run blend merging logic during worldgen to prevent rcs 2025-11-11 20:35:11 -06:00
Stephen Thiebaud 454ef0ce50 feat: simplify effect value access where applicable 2025-11-11 18:11:03 -06:00
Stephen Thiebaud 311e17931f feat: use Asset<Effect> over Effect 2025-11-11 18:06:48 -06:00
fryzahh d16a9a3899 Merge branch '1.4.4' into graphical-system-additions 2025-11-09 22:46:00 -04:00
fryzahh 4b962167cf Pixelated dust variants
* 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.
2025-11-09 16:36:38 -04:00
Nathanael Overton c561b71521 Souls of Flight + Essence of Sunlight always drop inside world 2025-11-08 18:50:53 -05:00
CongratsIsTrash 0086085a64 Removed AutoreusableSpear set 2025-11-06 11:25:33 -05:00
fryzahh d95113418e ParticleAutoDrawingOverride + code cleanup, credits and bugfix
* 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.
2025-11-05 11:48:22 -04:00
doze-zoze ea1816a420 scal background changes 2025-11-03 22:05:12 -05:00
doze-zoze cf35837176 requested changes 2025-10-31 17:32:26 -04:00
Doze-Zoze 8a61f5370c burrower 2025-10-31 17:32:26 -04:00
CongratsIsTrash 338169600a Actually OreTypes isn't used anymore 2025-10-31 16:30:36 -04:00
doze-zoze 0add54d04e fixed debug "&& false" 2025-10-31 15:55:04 -04:00
doze-zoze 04c5403701 DespawnAction now returns a bool to remove the box 2025-10-31 15:55:04 -04:00
doze-zoze 5519278130 no longer uses index 0 for boss arena checks, and unloads on world unload 2025-10-31 15:55:04 -04:00
doze-zoze a465d9e654 code cleanups 2025-10-31 15:55:04 -04:00