Commit Graph
51 Commits
Author SHA1 Message Date
Flowaria a8729bd4e4 Rewrite Rendering Code for ProfanedShield 2024-09-13 19:46:34 -04:00
Flowaria 7df520126e Fixed Dye issue on various Minion Projectiles 2024-09-13 18:18:26 -04:00
Flowaria fa3e840959 Fixed: Critical Networking Issue while equipping Shield/Barrier Item (#59) 2024-08-25 12:50:15 -04:00
GinYuH ba50bb246f split client and server configs
rebased by Ozzatron 15AUG2024 to fix conflicts
2024-08-15 16:54:43 -04:00
Xyk 8bb09fe4b1 Merge branch '1.4.4' into Judgement-And-Order-Reworks 2024-06-05 13:53:17 -07:00
Altixal 4b59ed34d4 pointless util terminated 2024-04-08 06:55:08 +07:00
Xyk 182f37f51f Progress + Shrinking Afterimages
Added a function for shrinking afterimages on CalamityUtils.DrawAfterimagesCentered
2024-03-27 11:18:30 -07:00
mountaindrew10 58110c1ac3 Necroplasmic Beacon holdout glowmask and Grand Guardian in-world item rainbow glowmask. 2024-03-22 19:26:04 -05:00
mountaindrew10 cc15ef2485 1 - Fixed stupid glowmask offset issue.
2 - Edited Grand Guardian's handle to make it longer so the ridiculous-looking offset can be reduced.
3 - Added glowmasks for Majestic Guard and Grand Guardian.
2024-03-22 18:51:43 -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
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
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
mountaindrew10 66bb66fbf0 More optimizations. Skies are next. 2023-08-07 12:11:21 -05:00
mountaindrew10 7519a41842 A few more changes. 2023-08-05 10:54:26 -05:00
Altixal 9a47bb07aa the bull dash (or half of it) 2023-07-23 09:43:11 +07:00
NalydddNobel d703ba66dd Fix many off-center inventory item sprites 2023-05-24 21:27:53 -07:00
NalydddNobel 36bac33b19 Summary for DrawingUtils.DrawInventoryCustomScale 2023-03-16 20:10:47 -04:00
NalydddNobel 7671dbf7e6 (read desc) Better sprite scales on Bars, misc item draw helpers
-Updated internal code of bars to look nicer
-Removed usage of funky item animation system on bars
-Animated bars now rotate properly when draw in-world
-Added helper method for drawing basic custom scaled items
-Added helper methods for drawing

TODO:
-Check if animated items look correct when dropped in-world
-Adjust sprite scales on more items
-Get more sleep...
2023-03-16 20:10:47 -04:00
NalydddNobel a974abef45 Fixed tiles having unsturdy bottoms, and misc
-Astral Beacon, Draedon Turrets, Codebreaker, and SCaL's Altar should no longer let sand destroy them, and the naturally generated ones prevent block swap

-Cleaned up GiantPlanteraBulb.cs
--Glowmask now animates
--Should be much more sturdy, like the previous mentioned tiles
--No longer allows for tiles to be sloped below it
--No longer can break from Lava
--No longer is considered a tree trunk

-Added TileDrawOffset as a property in CalamityUtils. Can replace all times "Vector2 zero = ..." is pasted

-Added a few notes in code comments
2023-03-02 20:39:40 -08:00
Dominic 9a081011b4 Inquiry buttons + EnforceCutoffRegion utility 2022-10-13 12:32:06 -05:00
Dominic ec25881fcd Cleaned out more UI, along with the chains folder 2022-10-06 10:14:50 -04:00
Dominic 97590f1d16 Reworked Virid Vanguard 2022-10-03 11:49:08 -04:00
Dominic 10169858fc Start of bonk effect for Exoblade 2022-07-13 02:23:06 -05:00
IbanPlay 3253ca4e89 More fixes 2022-07-11 19:05:37 -04:00
IbanPlay 0bc7a82d44 Drainnn ganggg & sounds 2022-07-11 19:05:37 -04:00
IbanPlay 5ad6c9ce1b Prothesis 2022-07-11 19:05:37 -04:00
Dominic f03b7547dc Documentation and fixed zoom stuff 2022-05-20 15:26:55 -04:00
DominicKarma 063870af23 Created a fluid system 2022-05-20 15:26:55 -04:00
DominicKarma de17d3c7eb In-world draw effects for boss bags 2022-04-13 14:27:18 -05:00
Dominic cc4cd1865c Preparations for post-load stuff 2022-04-09 04:14:41 -05:00
Dominic c77a030391 Cleaned out all player draw layers 2022-04-03 18:02:41 -05:00
IbanPlay aa9b3d9dcc More bulk changes 2022-04-03 18:09:06 +02:00
Ozzatron cb7c2f9feb Immediate result of tModPorter 2022-04-02 20:51:23 -04:00
DominicKarma 1f8fc6e727 Optional blend state for EnterShaderRegion 2022-02-22 14:26:32 -06:00
Dominic c4583827f2 Reworked Mauler's AI and moved it to T3 Acid Rain 2022-02-14 14:18:09 -05:00
Dominic c1e35ee5ed Start of Rancor laserbeam 2021-10-15 20:54:05 -05:00
Dominic fd1393213a Start of Rancor 2021-10-15 19:51:08 -05:00
Dominic 1be70d356d Merge branch 'master' into post-scal-assets 2021-10-14 18:46:55 -05:00
DominicKarma 921739d2dc Added Auric Dye 2021-10-04 22:41:23 -05:00
DominicKarma 7c07e49f21 Gruesome Eminence bg update 2021-09-22 16:10:54 -05:00
DominicKarma 7053850ea9 Merge branch 'master' into post-scal-assets 2021-09-20 19:16:24 -05:00
DominicKarma 091becb5a1 Exhumed tooltips (subject to reworking) 2021-09-14 21:12:36 -05:00
DominicKarma 1a295c882d Merge branch 'master' into draedon-summoner 2021-08-08 23:01:49 -05:00
Dominic 6055236277 Mechanically cleaned out the health bar UI 2021-08-08 22:56:35 -04:00
Dominic 0f1fe18ecf Exo Palette array splitup 2021-07-17 06:20:53 -05:00
Dominic 7222901420 Persecuted enchantment 2021-06-15 10:06:45 -05:00
ben-tk 84d2325685 Updooted the Angelic Alliance 2021-06-04 17:33:01 -04:00
Ozzatron f82dfe34ec Reworked afterimage code and added a new form of afterimages for bullets. 2021-04-21 18:31:27 -04:00
Dominic 739a1a6090 Made every single DirectionTo safe 2021-04-12 22:21:23 -04:00
DominicKarma 3e30e7376a Start of Telluric Glare rework 2021-03-03 19:34:39 -05:00