Imported dolphin/demo except for one function
This commit is contained in:
parent
ae3ebb8331
commit
36a05264a5
11 changed files with 1866 additions and 0 deletions
27
include/dolphin/demo/DEMOPuts.h
Normal file
27
include/dolphin/demo/DEMOPuts.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue