Path: blob/master/SonicMania/Objects/UFO/UFO_Decoration.h
338 views
#ifndef OBJ_UFO_DECORATION_H1#define OBJ_UFO_DECORATION_H23#include "Game.h"45typedef enum {6UFO_DECOR_TREE,7UFO_DECOR_FLOWER1,8UFO_DECOR_FLOWER2,9UFO_DECOR_FLOWER3,10UFO_DECOR_PILLAR1,11UFO_DECOR_PILLAR2,12UFO_DECOR_BIRD,13UFO_DECOR_FISH,14} UFO_DecorationTypes;1516// Object Class17struct ObjectUFO_Decoration {18RSDK_OBJECT19Animator unusedAnimator1;20int32 drawType;21uint16 aniFrames; // unused22uint16 modelIndices[8];23uint16 sceneIndex;24};2526// Entity Class27struct EntityUFO_Decoration {28RSDK_ENTITY29int32 unused1;30int32 type;31int32 size;32int32 height;33Matrix unusedMatrix1;34Matrix matTransform;35Matrix matWorld;36Matrix matNormal;37Animator animator;38};3940// Object Struct41extern ObjectUFO_Decoration *UFO_Decoration;4243// Standard Entity Events44void UFO_Decoration_Update(void);45void UFO_Decoration_LateUpdate(void);46void UFO_Decoration_StaticUpdate(void);47void UFO_Decoration_Draw(void);48void UFO_Decoration_Create(void *data);49void UFO_Decoration_StageLoad(void);50#if GAME_INCLUDE_EDITOR51void UFO_Decoration_EditorDraw(void);52void UFO_Decoration_EditorLoad(void);53#endif54void UFO_Decoration_Serialize(void);5556// Extra Entity Functions5758#endif //! OBJ_UFO_DECORATION_H596061