Path: blob/master/SonicMania/Objects/AIZ/FernParallax.h
338 views
#ifndef OBJ_FERNPARALLAX_H1#define OBJ_FERNPARALLAX_H23#include "Game.h"45#if MANIA_USE_PLUS6// Object Class7struct ObjectFernParallax {8RSDK_OBJECT9uint16 aniFrames;10EntityBase entityBuffer[2];11};1213// Entity Class14struct EntityFernParallax {15RSDK_ENTITY16StateMachine(state); // unused17Animator animator;18uint8 aniID;19Vector2 parallaxFactor;20};2122// Object Struct23extern ObjectFernParallax *FernParallax;2425// Standard Entity Events26void FernParallax_Update(void);27void FernParallax_LateUpdate(void);28void FernParallax_StaticUpdate(void);29void FernParallax_Draw(void);30void FernParallax_Create(void *data);31void FernParallax_StageLoad(void);32#if GAME_INCLUDE_EDITOR33void FernParallax_EditorDraw(void);34void FernParallax_EditorLoad(void);35#endif36void FernParallax_Serialize(void);3738// Extra Entity Functions39#endif4041#endif //! OBJ_FERNPARALLAX_H424344