diff options
author | Treeki <treeki@gmail.com> | 2012-11-10 17:15:51 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-11-10 17:15:51 +0100 |
commit | a1ca2b30e4f05037d2a0d60b821e2f8699ab8891 (patch) | |
tree | 2d8c5dcb8a0ec1c680e1e9b47d7a4880d6707277 /src/koopatlas/player.h | |
parent | 22915e16efa62f3169227f6121326cb5af5315ba (diff) | |
download | kamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.tar.gz kamek-a1ca2b30e4f05037d2a0d60b821e2f8699ab8891.zip |
pushed the very unfinished 4P
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/player.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/koopatlas/player.h b/src/koopatlas/player.h index 7b60f60..70d6bf5 100644 --- a/src/koopatlas/player.h +++ b/src/koopatlas/player.h @@ -15,8 +15,6 @@ class daWMPlayer_c : public dActor_c { int onExecute(); int onDraw(); - int current_param; - int currentAnim; float currentFrame; float currentUnk; @@ -39,6 +37,24 @@ class daWMPlayer_c : public dActor_c { static daWMPlayer_c *build(); static daWMPlayer_c *instance; + + struct state_s { + Vec pos, scale; + S16Vec rot; + const char *repeatedEffect, *nowEffect; + int repeatedSound, nowSound; + int anim; + float animFrame, animUnk, animUpdateRate; + float jumpOffset; + }; + + bool stateHistoryBuilt; + static const int SUBPLAYER_DISTANCE = 15; + static const int STATE_COUNT = (SUBPLAYER_DISTANCE * 3) + 1; + state_s stateHistory[STATE_COUNT]; + + int nextNowSound; + const char *nextNowEffect; }; #endif |