mirror of
https://github.com/zeldaret/ss
synced 2026-08-02 08:31:51 -04:00
More cursor
This commit is contained in:
+4
-10
@@ -227,6 +227,10 @@ struct AnmGroupBase_c {
|
||||
return mpFrameCtrl->getAnimDuration();
|
||||
}
|
||||
|
||||
inline f32 getLastFrame() const {
|
||||
return mpFrameCtrl->getAnimDuration() - 1.0f;
|
||||
}
|
||||
|
||||
inline f32 getFrame() const {
|
||||
return mpFrameCtrl->getFrame();
|
||||
}
|
||||
@@ -292,20 +296,10 @@ struct AnmGroupBase_c {
|
||||
syncAnmFrame();
|
||||
}
|
||||
|
||||
inline void setRatio(f32 ratio) {
|
||||
mpFrameCtrl->setRatio(ratio);
|
||||
syncAnmFrame();
|
||||
}
|
||||
|
||||
inline f32 getRatio() const {
|
||||
return mpFrameCtrl->getRatio();
|
||||
}
|
||||
|
||||
inline void setBackwardsRatio(f32 ratio) {
|
||||
mpFrameCtrl->setBackwardsRatio(ratio);
|
||||
syncAnmFrame();
|
||||
}
|
||||
|
||||
inline f32 getNextFrame() const {
|
||||
return mpFrameCtrl->getNextFrame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user