-
Notifications
You must be signed in to change notification settings - Fork 36
/
debug.fdh
74 lines (50 loc) · 2.23 KB
/
debug.fdh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//hash:40743ca5
//automatically generated by Makegen
/* located in game.cpp */
//---------------------[referenced from debug.cpp]-------------------//
bool game_save(Profile *p);
/* located in playerstats.cpp */
//---------------------[referenced from debug.cpp]-------------------//
void AddXP(int xp, bool quiet);
/* located in input.cpp */
//---------------------[referenced from debug.cpp]-------------------//
bool justpushed(int k);
/* located in debug.cpp */
//---------------------[referenced from debug.cpp]-------------------//
void DrawDebug(void);
void DrawBoundingBoxes();
void DrawAttrPoints();
static void draw_pointlist(Object *o, SIFPointList *points);
void debug(const char *fmt, ...);
void debug_draw(void);
void debug_clear();
const char *DescribeObjectType(int type);
int ObjectNameToType(const char *name_in);
const char *DescribeDir(int dir);
const char *strhex(int value);
void DrawDebugMarks(void);
void AddDebugMark(int x, int y, int x2, int y2, char type, uchar r, uchar g, uchar b);
void DebugPixel(int x, int y, uchar r, uchar g, uchar b);
void DebugCrosshair(int x, int y, uchar r, uchar g, uchar b);
void crosshair(int x, int y);
void DebugPixelNonCSF(int x, int y, uchar r, uchar g, uchar b);
void DebugCrosshairNonCSF(int x, int y, uchar r, uchar g, uchar b);
void debugVline(int x, uchar r, uchar g, uchar b);
void debugHline(int y, uchar r, uchar g, uchar b);
void debugbox(int x1, int y1, int x2, int y2, uchar r, uchar g, uchar b);
void debugtile(int x, int y, uchar r, uchar g, uchar b);
/* located in graphics/font.cpp */
//---------------------[referenced from debug.cpp]-------------------//
int GetFontWidth(const char *text, int spacing, bool is_shaded);
int GetFontHeight();
int font_draw_shaded(int x, int y, const char *text, int spacing, NXFont *font);
/* located in sound/sound.cpp */
//---------------------[referenced from debug.cpp]-------------------//
void sound(int snd);
/* located in common/stat.cpp */
//---------------------[referenced from debug.cpp]-------------------//
void stat(const char *fmt, ...);
/* located in common/misc.cpp */
//---------------------[referenced from debug.cpp]-------------------//
char *stprintf(const char *fmt, ...);
bool strbegin(const char *bigstr, const char *smallstr);