Tiny3D
Loading...
Searching...
No Matches
t3ddebug.h File Reference

Go to the source code of this file.

Macros

#define T3D_DEBUG_CHAR_C_LEFT   "\x7b"
 
#define T3D_DEBUG_CHAR_C_RIGHT   "\x7c"
 
#define T3D_DEBUG_CHAR_C_UP   "\x7d"
 
#define T3D_DEBUG_CHAR_C_DOWN   "\x7e"
 
#define T3D_DEBUG_CHAR_A   "\x7f"
 
#define T3D_DEBUG_CHAR_B   "\x80"
 

Functions

 __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.
 
void t3d_debug_print (float x, float y, const char *str)
 Prints a string at the given position.
 
void t3d_debug_printf (float x, float y, const char *fmt,...)
 Prints a formatted string at the given position.
 

Detailed Description

Function Documentation

◆ __attribute__()

__attribute__ ( (deprecated) )

Initializes the debug print system, make sure to have 'font.ia4.png' in your FS.

Deprecated
Use 'rdpq_text_register_font' with one of the built-in fonts instead E.g.: 'rdpq_text_register_font(FONT_BUILTIN_DEBUG_MONO, rdpq_font_load_builtin(FONT_BUILTIN_DEBUG_MONO));'

◆ t3d_debug_print()

void t3d_debug_print ( float x,
float y,
const char * str )

Prints a string at the given position.

Deprecated
Use 'rdpq_text_print' instead

◆ t3d_debug_print_start()

void t3d_debug_print_start ( )

Prepares the RDP for debug printing.

Deprecated
Can be removed. Check if a sync is needed before removing

◆ t3d_debug_printf()

void t3d_debug_printf ( float x,
float y,
const char * fmt,
... )

Prints a formatted string at the given position.

Deprecated
Use 'rdpq_text_printf' instead