Path: blob/master/SonicMania/Objects/SSZ/Constellation.h
338 views
#ifndef OBJ_CONSTELLATION_H1#define OBJ_CONSTELLATION_H23#include "Game.h"45typedef enum {6CONSTELLATION_SONIC,7CONSTELLATION_VASE,8CONSTELLATION_BERRIES,9CONSTELLATION_LYRE,10CONSTELLATION_HELMET,11} ConstellationShapes;1213// Object Class14struct ObjectConstellation {15RSDK_OBJECT16uint16 aniFrames;17TileLayer *background1;18};1920// Entity Class21struct EntityConstellation {22RSDK_ENTITY23uint8 shape;24Vector2 originPos;25int32 unused;26ScrollInfo *scrollInfo;27Animator animator;28};2930// Object Struct31extern ObjectConstellation *Constellation;3233// Standard Entity Events34void Constellation_Update(void);35void Constellation_LateUpdate(void);36void Constellation_StaticUpdate(void);37void Constellation_Draw(void);38void Constellation_Create(void *data);39void Constellation_StageLoad(void);40#if GAME_INCLUDE_EDITOR41void Constellation_EditorDraw(void);42void Constellation_EditorLoad(void);43#endif44void Constellation_Serialize(void);4546// Extra Entity Functions47void Constellation_SetupInfo(void);4849#endif //! OBJ_CONSTELLATION_H505152