|
Melee Modding Library
2.0.0
A C library for modding Super Smash Bros Melee
|
Print output. More...
#include "gctypes.h"Go to the source code of this file.
Functions | |
| int | sprintf (char *str, const char *format,...) |
| write formatted data to string More... | |
| void | print (const char *str) |
| print a string to the output streamThis function prints a string to an output stream displayed on the designated window (tournament mode - replaces debug menu). More... | |
| void | clear () |
| clear the output stream More... | |
| void | error (const char *errMessage) |
| print error messagePrint an error message More... | |
| void | display () |
| display print stream More... | |
Print output.
| int sprintf | ( | char * | str, |
| const char * | format, | ||
| ... | |||
| ) |
write formatted data to string
Composes a string with the same text that would be printed if format was used on printf, but instead of being printed, the content is stored as a C string in the buffer pointed by str.
The size of the buffer should be large enough to contain the entire resulting string
| str | - Pointer to a buffer where the resulting C string is stored |
| format | - C string |
| void clear | ( | ) |
clear the output stream
This function clears any text on the output stream
| void display | ( | ) |
display print stream
Create the display where print sends output, should never be called by user. The user should create a branch to this symbol at 0x801a633c overwriting instruction 0x7c7f1b78 (SSBM v1.02)
1.8.11