Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
DEMOPuts.c File Reference

Functions

static void DrawFontChar (int x, int y, int z, int xChar, int yChar)
 
static void LoadSheet (void *image, GXTexMapID texMapID)
 
void DEMOSetFontType (s32 attr)
 
void DEMOLoadFont (GXTexMapID texMap, GXTexMtx texMtx, DMTexFlt texFlt)
 
void DEMOSetupScrnSpc (s32 width, s32 height, f32 depth)
 
void DEMOInitCaption (s32 font_type, s32 width, s32 height)
 
void DEMOPuts (s16 x, s16 y, s16 z, char *string)
 
void DEMOPrintf (s16 x, s16 y, s16 z, char *fmt,...)
 
OSFontHeaderDEMOInitROMFont (void)
 
void DEMOSetROMFontSize (s16 size, s16 space)
 
void DEMOGetROMFontSize (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)
 
int DEMOGetRFTextHeight (char *string)
 

Variables

static GXTexObj fontTexObj
 
static s32 fontShift
 
static OSFontHeaderFontData
 
static void * LastSheet
 
static s16 FontSize
 
static s16 FontSpace
 

Function Documentation

◆ DEMODumpROMFont()

char * DEMODumpROMFont ( char * string)

◆ DEMOGetRFTextHeight()

int DEMOGetRFTextHeight ( char * string)

◆ DEMOGetRFTextWidth()

int DEMOGetRFTextWidth ( char * string)

◆ DEMOGetROMFontSize()

void DEMOGetROMFontSize ( s16 * size,
s16 * space )

◆ DEMOInitCaption()

void DEMOInitCaption ( s32 font_type,
s32 width,
s32 height )

◆ DEMOInitROMFont()

OSFontHeader * DEMOInitROMFont ( void )

◆ DEMOLoadFont()

void DEMOLoadFont ( GXTexMapID texMap,
GXTexMtx texMtx,
DMTexFlt texFlt )

◆ DEMOPrintf()

void DEMOPrintf ( s16 x,
s16 y,
s16 z,
char * fmt,
... )

◆ DEMOPuts()

void DEMOPuts ( s16 x,
s16 y,
s16 z,
char * string )

◆ DEMORFPrintf()

int DEMORFPrintf ( s16 x,
s16 y,
s16 z,
char * fmt,
... )

◆ DEMORFPuts()

int DEMORFPuts ( s16 x,
s16 y,
s16 z,
char * string )

◆ DEMORFPutsEx()

int DEMORFPutsEx ( s16 x,
s16 y,
s16 z,
char * string,
s16 maxWidth,
int length )

◆ DEMOSetFontType()

void DEMOSetFontType ( s32 attr)

◆ DEMOSetROMFontSize()

void DEMOSetROMFontSize ( s16 size,
s16 space )

◆ DEMOSetupScrnSpc()

void DEMOSetupScrnSpc ( s32 width,
s32 height,
f32 depth )

◆ DrawFontChar()

static void DrawFontChar ( int x,
int y,
int z,
int xChar,
int yChar )
static

◆ LoadSheet()

static void LoadSheet ( void * image,
GXTexMapID texMapID )
static

Variable Documentation

◆ FontData

OSFontHeader* FontData
static

◆ fontShift

s32 fontShift
static

◆ FontSize

s16 FontSize
static

◆ FontSpace

s16 FontSpace
static

◆ fontTexObj

GXTexObj fontTexObj
static

◆ LastSheet

void* LastSheet
static