Path: blob/master/SonicMania/Objects/PGZ/Ink.h
338 views
#ifndef OBJ_INK_H1#define OBJ_INK_H23#include "Game.h"45typedef enum {6INK_C,7INK_M,8INK_Y,9} InkTypes;1011// Object Class12struct ObjectInk {13RSDK_OBJECT14uint8 playerColors[PLAYER_COUNT];15uint16 aniFrames;16Hitbox hitboxBottleL;17Hitbox hitboxBottleR;18Hitbox hitboxBottleBottom;19};2021// Entity Class22struct EntityInk {23RSDK_ENTITY24uint8 type;25uint8 inkedPlayers;26Animator bottleAnimator;27Animator contentAnimator;28Animator splashAnimator;29};3031// Object Struct32extern ObjectInk *Ink;3334// Standard Entity Events35void Ink_Update(void);36void Ink_LateUpdate(void);37void Ink_StaticUpdate(void);38void Ink_Draw(void);39void Ink_Create(void *data);40void Ink_StageLoad(void);41#if GAME_INCLUDE_EDITOR42void Ink_EditorDraw(void);43void Ink_EditorLoad(void);44#endif45void Ink_Serialize(void);4647// Extra Entity Functions4849#endif //! OBJ_INK_H505152