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
Ozzatron
dfde4a9e1b
Replaced all line endings with LF
2022-04-02 15:52:15 -04:00
Ozzatron
1cded2a64a
Replaced all tabs with spaces everywhere
2022-04-02 15:15:08 -04:00
Ozzatron
a6d9bb54b9
Removed all unnecessary usings in the entire mod
2022-04-02 15:08:04 -04:00
Ozzatron
ad0f23a8cd
Multiple critical fixes to new cooldowns. Most of this took hours of fighting the C# language itself.
...
1 - Cooldown netcode doesn't run in single player.
2 - Fixed the fact that cooldowns never actually got added to the registry.
3 - Changed CooldownInstance from a struct to a class.
4 - Added a constructor which defines CooldownInstance classes directly from netcode packets.
5 - Created a useless base Cooldown class which makes C#'s type checker happy. Do not use Cooldown directly; always use Cooldown<T>.
2022-03-10 11:11:26 -05:00
Ozzatron
1ebe5a8e89
Comprehensive organizational overhaul of cooldown system complete, including netcode.
...
Netcode needs to be tested.
2022-03-09 00:02:13 -05:00
Ozzatron
3f04f286d6
All cooldown handlers come with their IDs as static fields
2022-03-09 00:02:13 -05:00
Ozzatron
5c2e5897a9
All cooldowns wrangled to the new data structure format
2022-03-09 00:02:13 -05:00
Ozzatron
a142d6fef8
design example: abyssal diving suit
2022-03-09 00:02:13 -05:00
Ozzatron
56c16f40fb
split out CooldownHandler as behavior defining. WIP
2022-03-09 00:02:13 -05:00
Ozzatron
c55944f716
broken holding commit until I eventually get back to this
2022-03-09 00:02:13 -05:00