#ifndef OBJ_CONTINUEPLAYER_H #define OBJ_CONTINUEPLAYER_H #include "Game.h" typedef enum { CONTPLR_ANI_IDLE_SONIC, CONTPLR_ANI_REACT_SONIC, CONTPLR_ANI_IDLE_TAILS, CONTPLR_ANI_REACT_TAILS, CONTPLR_ANI_IDLE_KNUX, CONTPLR_ANI_REACT_KNUX, #if MANIA_USE_PLUS CONTPLR_ANI_IDLE_MIGHTY, CONTPLR_ANI_REACT_MIGHTY, CONTPLR_ANI_IDLE_RAY, CONTPLR_ANI_REACT_RAY, #endif CONTPLR_ANI_IDLE_AI, CONTPLR_ANI_ICON, } ContinuePlayerAniIDs; // Object Class struct ObjectContinuePlayer { RSDK_OBJECT uint16 aniFrames; uint16 playerAniFrames; uint16 tailAniFrames; uint16 sfxRoll; uint16 sfxCharge; uint16 sfxRelease; }; // Entity Class struct EntityContinuePlayer { RSDK_ENTITY StateMachine(state); bool32 isPlayer2; int32 timer; int32 unused1; int32 unused2; Animator animator; uint16 aniFrames; }; // Object Struct extern ObjectContinuePlayer *ContinuePlayer; // Standard Entity Events void ContinuePlayer_Update(void); void ContinuePlayer_LateUpdate(void); void ContinuePlayer_StaticUpdate(void); void ContinuePlayer_Draw(void); void ContinuePlayer_Create(void *data); void ContinuePlayer_StageLoad(void); #if RETRO_INCLUDE_EDITOR void ContinuePlayer_EditorDraw(void); void ContinuePlayer_EditorLoad(void); #endif void ContinuePlayer_Serialize(void); // Extra Entity Functions void ContinuePlayer_HandleDashAnim(void); void ContinuePlayer_State_Idle(void); void ContinuePlayer_State_ChargeDash(void); void ContinuePlayer_State_DashRelease(void); #endif //! OBJ_CONTINUEPLAYER_H