diff options
author | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-10-31 18:06:53 +0000 |
---|---|---|
committer | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-10-31 18:06:53 +0000 |
commit | 573acc12b8b13f4dcb01d59c61f327a5a3f5bec7 (patch) | |
tree | 20a979f8c17cec2dd4a361955d5d68fa95811dbe | |
parent | 8a1e37d07f871f7a4f87dbad736164df900bba2b (diff) |
Adapt to share/flash changes
-rw-r--r-- | include/SSVOpenHexagon/Core/HGStatus.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/SSVOpenHexagon/Core/HGStatus.hpp b/include/SSVOpenHexagon/Core/HGStatus.hpp index 853022c9..06e79a63 100644 --- a/include/SSVOpenHexagon/Core/HGStatus.hpp +++ b/include/SSVOpenHexagon/Core/HGStatus.hpp @@ -24,6 +24,13 @@ public: using Clock = std::chrono::high_resolution_clock; using TimePoint = std::chrono::time_point<Clock>; + struct FlashColor + { + int r; + int g; + int b; + }; + private: double totalFrametimeAccumulator{}; // Total time (including pauses) double playedFrametimeAccumulator{}; // Played time (no pauses) @@ -43,6 +50,7 @@ public: float flashEffect{0}; float radius{75}; float fastSpin{0}; + float cameraShake{0}; bool hasDied{false}; StateChange mustStateChange{StateChange::None}; bool scoreInvalid{false}; |