Path: blob/master/SonicMania/Objects/PGZ/PSZEggman.h
338 views
#ifndef OBJ_PSZEGGMAN_H1#define OBJ_PSZEGGMAN_H23#include "Game.h"45// Object Class6struct ObjectPSZEggman {7RSDK_OBJECT8uint16 controlFrames;9uint16 aniFrames;10};1112// Entity Class13struct EntityPSZEggman {14RSDK_ENTITY15StateMachine(state);16int32 timer;17Vector2 eggmanPos;18EntityPhantomRuby *ruby;19Animator eggmanAnimator;20Animator terminalAnimator;21Animator displayAnimator;22Animator scanlinesAnimator;23};2425// Object Struct26extern ObjectPSZEggman *PSZEggman;2728// Standard Entity Events29void PSZEggman_Update(void);30void PSZEggman_LateUpdate(void);31void PSZEggman_StaticUpdate(void);32void PSZEggman_Draw(void);33void PSZEggman_Create(void *data);34void PSZEggman_StageLoad(void);35#if GAME_INCLUDE_EDITOR36void PSZEggman_EditorDraw(void);37void PSZEggman_EditorLoad(void);38#endif39void PSZEggman_Serialize(void);4041// Extra Entity Functions42void PSZEggman_State_TurnRound(void);4344#endif //! OBJ_PSZEGGMAN_H454647