Path: blob/master/SonicMania/Objects/UFO/UFO_Message.h
338 views
#ifndef OBJ_UFO_MESSAGE_H1#define OBJ_UFO_MESSAGE_H23#include "Game.h"45typedef enum {6UFO_MESSAGE_CATCHUFO,7UFO_MESSAGE_ESCAPETIME,8UFO_MESSAGE_COURSEOUT,9UFO_MESSAGE_TIMEOVER,10} UFO_MessageTypes;1112// Object Class13struct ObjectUFO_Message {14RSDK_OBJECT15uint16 aniFrames;16};1718// Entity Class19struct EntityUFO_Message {20RSDK_ENTITY21StateMachine(state);22int32 displayTime;23int32 timer;24Animator leftAnimator;25Animator rightAnimator;26int32 unused1;27int32 unused2;28};2930// Object Struct31extern ObjectUFO_Message *UFO_Message;3233// Standard Entity Events34void UFO_Message_Update(void);35void UFO_Message_LateUpdate(void);36void UFO_Message_StaticUpdate(void);37void UFO_Message_Draw(void);38void UFO_Message_Create(void *data);39void UFO_Message_StageLoad(void);40#if GAME_INCLUDE_EDITOR41void UFO_Message_EditorDraw(void);42void UFO_Message_EditorLoad(void);43#endif44void UFO_Message_Serialize(void);4546// Extra Entity Functions47void UFO_Message_State_Appear(void);48void UFO_Message_State_ShowMsg(void);49void UFO_Message_State_Exit(void);5051#endif //! OBJ_UFO_MESSAGE_H525354