Path: blob/master/SonicMania/Objects/FBZ/FoldingPlatform.h
338 views
#ifndef OBJ_FOLDINGPLATFORM_H1#define OBJ_FOLDINGPLATFORM_H23#include "Game.h"45// Object Class6struct ObjectFoldingPlatform {7RSDK_OBJECT8};910// Entity Class11struct EntityFoldingPlatform {12MANIA_PLATFORM_BASE1314uint16 interval;15uint16 intervalOffset;16int16 duration;17};1819// Object Struct20extern ObjectFoldingPlatform *FoldingPlatform;2122// Standard Entity Events23void FoldingPlatform_Update(void);24void FoldingPlatform_LateUpdate(void);25void FoldingPlatform_StaticUpdate(void);26void FoldingPlatform_Draw(void);27void FoldingPlatform_Create(void *data);28void FoldingPlatform_StageLoad(void);29#if GAME_INCLUDE_EDITOR30void FoldingPlatform_EditorDraw(void);31void FoldingPlatform_EditorLoad(void);32#endif33void FoldingPlatform_Serialize(void);3435// Extra Entity Functions36void FoldingPlatform_State_Appear(void);37void FoldingPlatform_State_Disappear(void);3839#endif //! OBJ_FOLDINGPLATFORM_H404142