Path: blob/master/SonicMania/Objects/AIZ/SchrodingersCapsule.h
338 views
#ifndef OBJ_SCHRODINGERSCAPSULE_H1#define OBJ_SCHRODINGERSCAPSULE_H23#include "Game.h"45#if MANIA_USE_PLUS6// Object Class7struct ObjectSchrodingersCapsule {8RSDK_OBJECT9uint16 aniFrames;10uint16 sfxExplosion2;11uint16 sfxExplosion3;12};1314// Entity Class15struct EntitySchrodingersCapsule {16RSDK_ENTITY17StateMachine(state);18int32 timer;19int32 buttonPos;20// both of these 2 below go unused, but based on the similarities to Global/EggPrison, its likely to be these21int32 notSolid;22int32 checkTileCollisions;23Hitbox hitboxSolid;24Hitbox hitboxButton;25Hitbox hitboxButtonTrigger;26Animator mainAnimator;27Animator glassAnimator;28Animator buttonAnimator;29Animator mightyAnimator;30Animator rayAnimator;31};3233// Object Struct34extern ObjectSchrodingersCapsule *SchrodingersCapsule;3536// Standard Entity Events37void SchrodingersCapsule_Update(void);38void SchrodingersCapsule_LateUpdate(void);39void SchrodingersCapsule_StaticUpdate(void);40void SchrodingersCapsule_Draw(void);41void SchrodingersCapsule_Create(void *data);42void SchrodingersCapsule_StageLoad(void);43#if GAME_INCLUDE_EDITOR44void SchrodingersCapsule_EditorDraw(void);45void SchrodingersCapsule_EditorLoad(void);46#endif47void SchrodingersCapsule_Serialize(void);4849// Extra Entity Functions50void SchrodingersCapsule_State_Init(void);51void SchrodingersCapsule_State_HandleBounds(void);52void SchrodingersCapsule_State_Activated(void);53void SchrodingersCapsule_State_Explode(void);54void SchrodingersCapsule_State_SetupActClear(void);5556#endif5758#endif //! OBJ_SCHRODINGERSCAPSULE_H596061