diff options
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/subplayer.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/koopatlas/subplayer.h b/src/koopatlas/subplayer.h new file mode 100644 index 0000000..d9b1b20 --- /dev/null +++ b/src/koopatlas/subplayer.h @@ -0,0 +1,38 @@ +#ifndef __KOOPATLAS_SUBPLAYER_H +#define __KOOPATLAS_SUBPLAYER_H + +#include "koopatlas/core.h" +#include "poweruphax.h" +#include <playerAnim.h> + + +class daWMSubPlayer_c : public dActor_c { + public: + dPlayerModelHandler_c *modelHandler; + + int onCreate(); + int onDelete(); + int onDraw(); + + void update(daWMPlayer_c::state_s *st); + + int currentAnim; + float currentFrame; + float currentUnk; + float currentUpdateRate; + + bool step; + + int timer; + + mEf::es2 effect; + dHammerSuitRenderer_c hammerSuit; + + void startAnimation(int id, float frame, float unk, float updateRate); + + static daWMSubPlayer_c *build(); + static daWMSubPlayer_c *instance; +}; + +#endif + |