Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-Mania-Decompilation
Path: blob/master/SonicMania/Objects/Helpers/LogHelpers.h
338 views
1
#ifndef OBJ_LOGHELPERS_H
2
#define OBJ_LOGHELPERS_H
3
4
#include "Game.h"
5
6
// Object Class
7
struct ObjectLogHelpers {
8
RSDK_OBJECT
9
};
10
11
// Entity Class
12
struct EntityLogHelpers {
13
RSDK_ENTITY
14
};
15
16
// Object Entity
17
extern ObjectLogHelpers *LogHelpers;
18
19
// Standard Entity Events
20
void LogHelpers_Update(void);
21
void LogHelpers_LateUpdate(void);
22
void LogHelpers_StaticUpdate(void);
23
void LogHelpers_Draw(void);
24
void LogHelpers_Create(void *data);
25
void LogHelpers_StageLoad(void);
26
#if GAME_INCLUDE_EDITOR
27
void LogHelpers_EditorDraw(void);
28
void LogHelpers_EditorLoad(void);
29
#endif
30
void LogHelpers_Serialize(void);
31
32
// Extra Entity Functions
33
void LogHelpers_PrintText(const char *message);
34
#if MANIA_USE_PLUS
35
void LogHelpers_PrintString(String *message);
36
#endif
37
void LogHelpers_PrintInt32(const char *message, int32 value);
38
void LogHelpers_Print(const char *message, ...);
39
#if MANIA_USE_PLUS
40
void LogHelpers_PrintVector2(const char *message, Vector2 value);
41
#endif
42
43
#endif //! OBJ_LOGHELPERS_H
44
45