summaryrefslogtreecommitdiff
path: root/src/koopatlas/subplayer.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-11-10 17:15:51 +0100
committerTreeki <treeki@gmail.com>2012-11-10 17:15:51 +0100
commita1ca2b30e4f05037d2a0d60b821e2f8699ab8891 (patch)
tree2d8c5dcb8a0ec1c680e1e9b47d7a4880d6707277 /src/koopatlas/subplayer.h
parent22915e16efa62f3169227f6121326cb5af5315ba (diff)
downloadkamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.tar.gz
kamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.zip
pushed the very unfinished 4P
Diffstat (limited to 'src/koopatlas/subplayer.h')
-rw-r--r--src/koopatlas/subplayer.h38
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
+