Path: blob/master/SonicMania/Objects/ERZ/ERZOutro.h
338 views
#ifndef OBJ_ERZOUTRO_H1#define OBJ_ERZOUTRO_H23#include "Game.h"45// Object Class6struct ObjectERZOutro {7RSDK_OBJECT8int32 unused; // Might be "uint16 aniFrames" and was used inEditor but I do not know9Vector2 playerPos;10EntityFXRuby *fxRuby;11EntityPhantomKing *king;12EntityKleptoMobile *eggman;13EntityRubyPortal *rubyPortal;14EntityPhantomRuby *ruby;15int32 rubyPortalAcceleration;16int32 rubyPortalRadius;17int32 rubyPortalAngle;18bool32 savedGame;19};2021// Entity Class22struct EntityERZOutro {23MANIA_CUTSCENE_BASE24};2526// Object Struct27extern ObjectERZOutro *ERZOutro;2829// Standard Entity Events30void ERZOutro_Update(void);31void ERZOutro_LateUpdate(void);32void ERZOutro_StaticUpdate(void);33void ERZOutro_Draw(void);34void ERZOutro_Create(void *data);35void ERZOutro_StageLoad(void);36#if GAME_INCLUDE_EDITOR37void ERZOutro_EditorDraw(void);38void ERZOutro_EditorLoad(void);39#endif40void ERZOutro_Serialize(void);4142// Extra Entity Functions43void ERZOutro_SetEmeraldStates(void);44void ERZOutro_HandleRubyHover(void);4546bool32 ERZOutro_Cutscene_AttackEggman(EntityCutsceneSeq *host);47bool32 ERZOutro_Cutscene_AttackRecoil(EntityCutsceneSeq *host);48bool32 ERZOutro_Cutscene_LoseEmeralds(EntityCutsceneSeq *host);49bool32 ERZOutro_Cutscene_OpenPortal(EntityCutsceneSeq *host);50bool32 ERZOutro_Cutscene_EnterPortal(EntityCutsceneSeq *host);51bool32 ERZOutro_Cutscene_FadeOut(EntityCutsceneSeq *host);52bool32 ERZOutro_Cutscene_ShowEnding(EntityCutsceneSeq *host);5354#if MANIA_USE_PLUS55void ERZOutro_SaveFileCB(bool32 success);56#else57void ERZOutro_SaveFileCB(void);58#endif5960#endif //! OBJ_ERZOUTRO_H616263