summaryrefslogtreecommitdiff
path: root/src/koopatlas/player.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/player.h20
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