Commit Graph
7 Commits
Author SHA1 Message Date
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
Mishiro Usui af20562f17 Fix an issue with prov drawing when prov is null 2023-12-26 19:36:16 +00:00
Toasty 49b7cd58b5 Fix obscure crash with miracle blight renderer (again) (#17)
- Fixed weird index out of range error.
- Cleaned up my code from #3 readability, and to better implement the guarding checks from #12
2023-12-18 14:59:44 -05:00
Mishiro Usui a101937ad6 Fixed npcs/projectiles not spawning in mp 2023-12-08 17:57:47 +00:00
Toasty c9edee954a Added an interface to allow for shader visuals to be dyed. (#14)
- Added IDyeableShaderRenderer.
- Moved the current 4 energy shields to use this interface.
- Removed Sponge and Rover drive team coloring, and the assosiated tooltips as a result of the above.
2023-12-07 23:57:09 -05: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