Path: blob/master/SonicMania/Objects/MMZ/PlaneSeeSaw.h
338 views
#ifndef OBJ_PLANESEESAW_H1#define OBJ_PLANESEESAW_H23#include "Game.h"45// Object Class6struct ObjectPlaneSeeSaw {7RSDK_OBJECT8uint16 aniFrames;9uint16 sfxSpring;10uint16 sfxFlipper;11};1213// Entity Class14struct EntityPlaneSeeSaw {15RSDK_ENTITY16StateMachine(state);17int32 unused;18int32 seeSawPos;19Animator platformAnimator;20Animator swingAnimator;21Animator weightAnimator;22};2324// Object Struct25extern ObjectPlaneSeeSaw *PlaneSeeSaw;2627// Standard Entity Events28void PlaneSeeSaw_Update(void);29void PlaneSeeSaw_LateUpdate(void);30void PlaneSeeSaw_StaticUpdate(void);31void PlaneSeeSaw_Draw(void);32void PlaneSeeSaw_Create(void *data);33void PlaneSeeSaw_StageLoad(void);34#if GAME_INCLUDE_EDITOR35void PlaneSeeSaw_EditorDraw(void);36void PlaneSeeSaw_EditorLoad(void);37#endif38void PlaneSeeSaw_Serialize(void);3940// Extra Entity Functions41void PlaneSeeSaw_State_WaitForPlayer(void);42void PlaneSeeSaw_State_PlayerPushDown(void);43void PlaneSeeSaw_State_Launch(void);4445void PlaneSeeSaw_PlayerState_ToBG(void);46void PlaneSeeSaw_PlayerState_ToFG(void);4748#endif //! OBJ_PLANESEESAW_H495051