Path: blob/master/SonicMania/Objects/MMZ/MMZWheel.h
338 views
#ifndef OBJ_MMZWHEEL_H1#define OBJ_MMZWHEEL_H23#include "Game.h"45typedef enum {6MMZWHEEL_MOTION_STIFF,7MMZWHEEL_MOTION_SMOOTH,8} MMZWheelMotionTypes;910// Object Class11struct ObjectMMZWheel {12RSDK_OBJECT13uint16 aniFrames;14};1516// Entity Class17struct EntityMMZWheel {18RSDK_ENTITY19int32 amplitude;20uint8 childCount;21int32 speed;22uint8 motionType;23Vector2 center;24Vector2 offset;25int32 unused;26Animator animator;27};2829// Object Struct30extern ObjectMMZWheel *MMZWheel;3132// Standard Entity Events33void MMZWheel_Update(void);34void MMZWheel_LateUpdate(void);35void MMZWheel_StaticUpdate(void);36void MMZWheel_Draw(void);37void MMZWheel_Create(void *data);38void MMZWheel_StageLoad(void);39#if GAME_INCLUDE_EDITOR40void MMZWheel_EditorDraw(void);41void MMZWheel_EditorLoad(void);42#endif43void MMZWheel_Serialize(void);4445// Extra Entity Functions4647#endif //! OBJ_MMZWHEEL_H484950