mirror of
https://github.com/zeldaret/ss
synced 2026-09-09 03:40:36 -04:00
d_lyt_meter_drink with regswaps in one function (#83)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user