Path: blob/master/SonicMania/Objects/Cutscene/FXTrail.h
338 views
#ifndef OBJ_FXTRAIL_H1#define OBJ_FXTRAIL_H23#include "Game.h"45// Extras lol6#define FXTRAIL_TRACK_COUNT 778// Object Class9struct ObjectFXTrail {10RSDK_OBJECT11};1213// Entity Class14struct EntityFXTrail {15RSDK_ENTITY16Entity *parent;17Vector2 currentPos;18Vector2 statePos[FXTRAIL_TRACK_COUNT];19int32 currentRotation;20int32 stateRotation[FXTRAIL_TRACK_COUNT];21uint8 currentDirection;22uint8 stateDirection[FXTRAIL_TRACK_COUNT];23uint8 currentVisible;24uint8 stateVisible[FXTRAIL_TRACK_COUNT];25Animator currentAnim;26Animator stateAnim[FXTRAIL_TRACK_COUNT];27Animator *animatorPtr;28int32 baseAlpha;29};3031// Object Struct32extern ObjectFXTrail *FXTrail;3334// Standard Entity Events35void FXTrail_Update(void);36void FXTrail_LateUpdate(void);37void FXTrail_StaticUpdate(void);38void FXTrail_Draw(void);39void FXTrail_Create(void *data);40void FXTrail_StageLoad(void);41#if GAME_INCLUDE_EDITOR42void FXTrail_EditorDraw(void);43void FXTrail_EditorLoad(void);44#endif45void FXTrail_Serialize(void);4647// Extra Entity Functions4849#endif //! OBJ_FXTRAIL_H505152