Tiny3D
Loading...
Searching...
No Matches
t3ddebug.h
Go to the documentation of this file.
1
6#ifndef TINY3D_T3DDEBUG_H
7#define TINY3D_T3DDEBUG_H
8
9#ifdef __cplusplus
10extern "C"
11{
12#endif
13
19__attribute__((deprecated)) void t3d_debug_print_init();
20
26
31void t3d_debug_print(float x, float y, const char* str);
32
37void t3d_debug_printf(float x, float y, const char* fmt, ...);
38
39#define T3D_DEBUG_CHAR_C_LEFT "\x7b"
40#define T3D_DEBUG_CHAR_C_RIGHT "\x7c"
41#define T3D_DEBUG_CHAR_C_UP "\x7d"
42#define T3D_DEBUG_CHAR_C_DOWN "\x7e"
43#define T3D_DEBUG_CHAR_A "\x7f"
44#define T3D_DEBUG_CHAR_B "\x80"
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif // TINY3D_T3DDEBUG_H
void t3d_debug_print(float x, float y, const char *str)
Prints a string at the given position.
Definition t3ddebug.c:31
void t3d_debug_printf(float x, float y, const char *fmt,...)
Prints a formatted string at the given position.
Definition t3ddebug.c:50
__attribute__((deprecated)) void t3d_debug_print_init()
Initializes the debug print system, make sure to have 'font.ia4.png' in your FS.
void t3d_debug_print_start()
Prepares the RDP for debug printing.
Definition t3ddebug.c:17