Path: blob/master/SonicMania/Objects/GHZ/CorkscrewPath.h
338 views
#ifndef OBJ_CORKSCREWPATH_H1#define OBJ_CORKSCREWPATH_H23#include "Game.h"45// Object Class6struct ObjectCorkscrewPath {7RSDK_OBJECT8TABLE(int32 frameTable[24], { 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 });9uint16 aniFrames; // probably editor-only10};1112// Entity Class13struct EntityCorkscrewPath {14RSDK_ENTITY15int32 period;16int32 xSize; // length to the (left/right) edges from the center17int32 amplitude;18int32 activePlayers;19Animator animator; // also probably editor-only20};2122// Object Struct23extern ObjectCorkscrewPath *CorkscrewPath;2425// Standard Entity Events26void CorkscrewPath_Update(void);27void CorkscrewPath_LateUpdate(void);28void CorkscrewPath_StaticUpdate(void);29void CorkscrewPath_Draw(void);30void CorkscrewPath_Create(void *data);31void CorkscrewPath_StageLoad(void);32#if GAME_INCLUDE_EDITOR33void CorkscrewPath_EditorDraw(void);34void CorkscrewPath_EditorLoad(void);35#endif36void CorkscrewPath_Serialize(void);3738// Extra Entity Functions3940#endif //! OBJ_CORKSCREWPATH_H414243