Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rubberduckycooly
GitHub Repository: rubberduckycooly/Sonic-1-2-2013-Decompilation
Path: blob/main/RSDKv4/Debug.hpp
817 views
1
#ifndef DEBUG_H
2
#define DEBUG_H
3
4
#if RETRO_PLATFORM == RETRO_ANDROID
5
#include <android/log.h>
6
#endif
7
8
extern bool endLine;
9
void PrintLog(const char *msg, ...);
10
void PrintLog(const ushort *msg);
11
12
enum DevMenuMenus {
13
DEVMENU_MAIN,
14
DEVMENU_PLAYERSEL,
15
DEVMENU_STAGELISTSEL,
16
DEVMENU_STAGESEL,
17
DEVMENU_SCRIPTERROR,
18
#if !RETRO_USE_ORIGINAL_CODE
19
DEVMENU_MODMENU
20
#endif
21
};
22
23
void InitDevMenu();
24
void InitErrorMessage();
25
void ProcessStageSelect();
26
27
// Not in original, but the code was, and its cleaner this way
28
void SetTextMenu(int mode);
29
30
#endif //! DEBUG_H
31
32