Path: blob/master/SonicMania/Objects/SPZ/PopcornKernel.h
338 views
#ifndef OBJ_POPCORNKERNEL_H1#define OBJ_POPCORNKERNEL_H23#include "Game.h"45// Object Class6struct ObjectPopcornKernel {7RSDK_OBJECT8uint16 aniFrames;9};1011// Entity Class12struct EntityPopcornKernel {13RSDK_ENTITY14StateMachine(state);15int32 unused1;16int32 angleVel;17int32 gravityStrength;18int32 maxY;19Vector2 bounds;20Animator animator;21};2223// Object Struct24extern ObjectPopcornKernel *PopcornKernel;2526// Standard Entity Events27void PopcornKernel_Update(void);28void PopcornKernel_LateUpdate(void);29void PopcornKernel_StaticUpdate(void);30void PopcornKernel_Draw(void);31void PopcornKernel_Create(void *data);32void PopcornKernel_StageLoad(void);33#if GAME_INCLUDE_EDITOR34void PopcornKernel_EditorDraw(void);35void PopcornKernel_EditorLoad(void);36#endif37void PopcornKernel_Serialize(void);3839// Extra Entity Functions40void PopcornKernel_State_BounceAround(void);41void PopcornKernel_State_RiseUp(void);42void PopcornKernel_State_FallDown(void);4344#endif //! OBJ_POPCORNKERNEL_H454647