summaryrefslogtreecommitdiff
path: root/src/koopatlas/subplayer.h
blob: d9b1b203f4a506719d31ed12351b0faf525e27f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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