* Mini improvements * Fix some splits * Remove last comma from enums * Fix symbols * Fix some headers and missing prototypes * Replace most of f32 with float * Replace most of Point3d with Vec * Add missing esprite include with guard * Add HuSetVecF to ext_math behind a guard * More includes
27 lines
911 B
C
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
|