Files
tp/include/JSystem/J3DGraphAnimator/J3DAnimation.h
T
lepelog 38eca47ad5 __sinit_d_com_inf_game_cpp OK (#140)
* mass mng header

* d_cc_d start

* c_cc_d ok

* tmp commit

* almost, reordering of vtable functions

* progress

* more progress

* cleanup, still non matching

* mark all of d_cc_d as nonmatching to OK

* c_cc_s

* c_cc_s OK

* d_cc_mass_s OK

* cleanup

* gameinfo __sinit, not OK

* a bit of cleanup

* format

* remove asm

Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-08-16 20:59:00 -04:00

37 lines
794 B
C++

#ifndef J3DANIMATION_H
#define J3DANIMATION_H
#include "dolphin/types.h"
class J3DFrameCtrl {
public:
J3DFrameCtrl() { this->init(0); }
void init(s16);
BOOL checkPass(f32);
void update();
virtual ~J3DFrameCtrl() {}
float getRate() const { return mRate; }
void setAttribute(u8 pAttr) { mAttribute = pAttr; }
void setEnd(s16 pEnd) { mEnd = pEnd; }
void setRate(float pRate) { mRate = pRate; }
void setStart(s16 pStart) {
mStart = pStart;
mFrame = pStart;
}
void setFrame(float pFrame) { mFrame = pFrame; }
void setLoop(s16 pLoop) { mLoop = pLoop; }
private:
/* vtable */;
u8 mAttribute;
bool mState;
s16 mStart;
s16 mEnd;
s16 mLoop;
float mRate;
float mFrame;
};
#endif /* J3DANIMATION_H */