Path: blob/master/SonicMania/Objects/Helpers/DrawHelpers.h
338 views
#ifndef OBJ_DRAWHELPERS_H1#define OBJ_DRAWHELPERS_H23#include "Game.h"45// Object Class6struct ObjectDrawHelpers {7RSDK_OBJECT8};910// Entity Class11struct EntityDrawHelpers {12RSDK_ENTITY13};1415// Object Entity16extern ObjectDrawHelpers *DrawHelpers;1718// Standard Entity Events19void DrawHelpers_Update(void);20void DrawHelpers_LateUpdate(void);21void DrawHelpers_StaticUpdate(void);22void DrawHelpers_Draw(void);23void DrawHelpers_Create(void *data);24void DrawHelpers_StageLoad(void);25#if GAME_INCLUDE_EDITOR26void DrawHelpers_EditorDraw(void);27void DrawHelpers_EditorLoad(void);28#endif29void DrawHelpers_Serialize(void);3031// Extra Entity Functions32void DrawHelpers_DrawHitboxOutline(int32 x, int32 y, Hitbox *hitbox, uint8 direction, uint32 color);33void DrawHelpers_DrawArrowAdditive(int32 x1, int32 y1, int32 x2, int32 y2, uint32 color);34void DrawHelpers_DrawIsocelesTriangle(int32 x1, int32 y1, int32 x2, int32 y2, int32 edgeSize, uint32 color, uint32 inkEffect, uint32 alpha);35void DrawHelpers_DrawCross(int32 x, int32 y, int32 sizeX, int32 sizeY, uint32 color);3637// Custom Helpers I added for editor stuff38void DrawHelpers_DrawArrow(int32 x1, int32 y1, int32 x2, int32 y2, uint32 color, uint32 inkEffect, uint32 alpha);39void DrawHelpers_DrawRectOutline(int32 x, int32 y, int32 sizeX, int32 sizeY, uint32 color);40void DrawHelpers_DrawArenaBounds(int32 left, int32 top, int32 right, int32 bottom, uint8 sideMasks, uint32 color);4142#endif //! OBJ_DRAWHELPERS_H434445