diff options
author | Treeki <treeki@gmail.com> | 2012-01-15 21:31:34 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-01-15 21:31:34 +0100 |
commit | 83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a (patch) | |
tree | 5d48147b1f8e23992fe4a921adcec83da45969cd /src/koopatlas/player.h | |
parent | 0dabea30d98d175e5d7e0655c10757db99ac8295 (diff) | |
download | kamek-83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a.tar.gz kamek-83729d2427ebb9a8563dce8ca3c8c19fb9f71c4a.zip |
initial commit of the Koopatlas engine
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/player.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/koopatlas/player.h b/src/koopatlas/player.h new file mode 100644 index 0000000..d5fcc33 --- /dev/null +++ b/src/koopatlas/player.h @@ -0,0 +1,25 @@ +#include "koopatlas/core.h" + +class daWMPlayer_c : public dActor_c { + public: + dPlayerModelHandler_c *modelHandler; + + int onCreate(); + int onDelete(); + int onExecute(); + int onDraw(); + + int current_param; + + int currentAnim; + float currentFrame; + float currentUnk; + float currentUpdateRate; + + void startAnimation(int id, float frame, float unk, float updateRate); + + static daWMPlayer_c *build(); + static daWMPlayer_c *instance; +}; + + |