Path: blob/master/SonicMania/Objects/SPZ/Funnel.h
338 views
#ifndef OBJ_FUNNEL_H1#define OBJ_FUNNEL_H23#include "Game.h"45// Object Class6struct ObjectFunnel {7RSDK_OBJECT8Hitbox hitboxFunnel;9uint16 unused;10uint16 sfxFunnel;11uint16 sfxPimPom;12uint16 aniFrames;13};1415// Entity Class16struct EntityFunnel {17RSDK_ENTITY18StateMachine(state);19uint8 activePlayers;20int32 playerAngle[PLAYER_COUNT];21int32 playerXVel[PLAYER_COUNT];22int32 playerScoreTimer[PLAYER_COUNT];23int32 playerYVel[PLAYER_COUNT];24int32 playerTimers[PLAYER_COUNT];25Animator animator;26};2728// Object Struct29extern ObjectFunnel *Funnel;3031// Standard Entity Events32void Funnel_Update(void);33void Funnel_LateUpdate(void);34void Funnel_StaticUpdate(void);35void Funnel_Draw(void);36void Funnel_Create(void *data);37void Funnel_StageLoad(void);38#if GAME_INCLUDE_EDITOR39void Funnel_EditorDraw(void);40void Funnel_EditorLoad(void);41#endif42void Funnel_Serialize(void);4344// Extra Entity Functions45void Funnel_State_None(void);4647#endif //! OBJ_FUNNEL_H484950