d_lyt_meter_drink with regswaps in one function (#83)

This commit is contained in:
robojumper
2024-10-28 05:03:08 +01:00
committed by GitHub
parent 6b9d1737d4
commit 1d17e35316
9 changed files with 713 additions and 84 deletions
+6
View File
@@ -99,6 +99,12 @@ public:
setFrame(actualEnd - (ratio * actualEnd));
}
inline f32 getNextFrame() const {
f32 end = mEndFrame;
f32 f = mCurrFrame + 1.0f;
return f >= end ? 0.0f : f;
}
private:
inline bool notLooping() const {
return (mFlags & FLAG_NO_LOOP) != 0;