marioparty4/include/dolphin/demo/DEMOPuts.h
2025-04-01 05:14:15 +02:00

27 lines
911 B
C

#ifndef _DOLPHIN_DEMOPUTS
#define _DOLPHIN_DEMOPUTS
#include <dolphin/gx.h>
typedef enum {
DMTF_POINTSAMPLE,
DMTF_BILERP
} DMTexFlt;
typedef enum { DM_FT_OPQ, DM_FT_RVS, DM_FT_XLU } DMFontType;
void DEMOSetFontType(DMFontType attr);
void DEMOLoadFont(enum _GXTexMapID texMap, enum _GXTexMtx texMtx, DMTexFlt texFlt);
void DEMOSetupScrnSpc(long width, long height, float depth);
void DEMOInitCaption(long font_type, long width, long height);
void DEMOPuts(s16 x, s16 y, s16 z, char *string);
void DEMOPrintf(s16 x, s16 y, s16 z, char *fmt, ...);
struct OSFontHeader *DEMOInitROMFont();
void DEMOSetROMFontSize(s16 size, s16 space);
int DEMORFPuts(s16 x, s16 y, s16 z, char *string);
int DEMORFPutsEx(s16 x, s16 y, s16 z, char *string, s16 maxWidth, int length);
int DEMORFPrintf(s16 x, s16 y, s16 z, char *fmt, ...);
char *DEMODumpROMFont(char *string);
int DEMOGetRFTextWidth(char *string);
#endif