Path: blob/master/SonicMania/Objects/LRZ/HPZEmerald.h
338 views
#ifndef OBJ_HPZEMERALD_H1#define OBJ_HPZEMERALD_H23#include "Game.h"45typedef enum {6HPZEMERALD_MASTER,7HPZEMERALD_EMERALD_LOW,8HPZEMERALD_EMERALD_HIGH,9} HPZEmeraldTypes;1011// Object Class12struct ObjectHPZEmerald {13RSDK_OBJECT14uint16 aniFrames;15};1617// Entity Class18struct EntityHPZEmerald {19RSDK_ENTITY20StateMachine(state); // unused21uint8 type;22bool32 solid;23Vector2 startPos;24Hitbox *hitbox;25Animator emeraldAnimator;26Animator overlayAnimator;27};2829// Object Struct30extern ObjectHPZEmerald *HPZEmerald;3132// Standard Entity Events33void HPZEmerald_Update(void);34void HPZEmerald_LateUpdate(void);35void HPZEmerald_StaticUpdate(void);36void HPZEmerald_Draw(void);37void HPZEmerald_Create(void *data);38void HPZEmerald_StageLoad(void);39#if GAME_INCLUDE_EDITOR40void HPZEmerald_EditorDraw(void);41void HPZEmerald_EditorLoad(void);42#endif43void HPZEmerald_Serialize(void);4445// Extra Entity Functions4647#endif //! OBJ_HPZEMERALD_H484950