Lines Matching refs:s16
325 void DEMOPuts( s16 x, s16 y, s16 z, char* string ) in DEMOPuts()
360 GXPosition3s16( (s16)(i*8+x ), (s16)(y ), z ); in DEMOPuts()
361 GXTexCoord2s16( (s16)(s ), (s16)(t ) ); in DEMOPuts()
362 GXPosition3s16( (s16)(i*8+x+8), (s16)(y ), z ); in DEMOPuts()
363 GXTexCoord2s16( (s16)(s+16 ), (s16)(t ) ); in DEMOPuts()
364 GXPosition3s16( (s16)(i*8+x+8), (s16)(y+8 ), z ); in DEMOPuts()
365 GXTexCoord2s16( (s16)(s+16 ), (s16)(t+16) ); in DEMOPuts()
366 GXPosition3s16( (s16)(i*8+x ), (s16)(y+8 ), z ); in DEMOPuts()
367 GXTexCoord2s16( (s16)(s ), (s16)(t+16) ); in DEMOPuts()
391 void DEMOPrintf( s16 x, s16 y, s16 z, char* fmt, ... ) in DEMOPrintf()
415 static s16 FontSize; // GX_S16, 4
416 static s16 FontSpace; // GX_S16, 4
472 FontSize = (s16) (FontData->cellWidth * 16); in DEMOInitROMFont()
488 void DEMOSetROMFontSize(s16 size, s16 space) in DEMOSetROMFontSize()
490 FontSize = (s16) (size * 16); in DEMOSetROMFontSize()
491 FontSpace = (s16) (space * 16); in DEMOSetROMFontSize()
504 void DEMOGetROMFontSize(s16* size, s16* space) in DEMOGetROMFontSize()
508 *size = (s16) (FontSize / 16); in DEMOGetROMFontSize()
512 *space = (s16) (FontSpace / 16); in DEMOGetROMFontSize()
518 s16 posLeft = (s16) x; in DrawFontChar()
519 s16 posRight = (s16) (posLeft + FontSize); in DrawFontChar()
520 s16 posTop = (s16) (y - (FontData->ascent * FontSize / FontData->cellWidth)); in DrawFontChar()
521 s16 posBottom = (s16) (y + (FontData->descent * FontSize / FontData->cellWidth)); in DrawFontChar()
523 s16 texLeft = (s16) xChar; in DrawFontChar()
524 s16 texRight = (s16) (xChar + FontData->cellWidth); in DrawFontChar()
525 s16 texTop = (s16) yChar; in DrawFontChar()
526 s16 texBottom = (s16) (yChar + FontData->cellHeight); in DrawFontChar()
529 GXPosition3s16(posLeft , posTop , (s16) z); in DrawFontChar()
532 GXPosition3s16(posRight, posTop , (s16) z); in DrawFontChar()
535 GXPosition3s16(posRight, posBottom, (s16) z); in DrawFontChar()
538 GXPosition3s16(posLeft , posBottom, (s16) z); in DrawFontChar()
594 int DEMORFPuts(s16 x, s16 y, s16 z, char* string) in DEMORFPuts()
646 int DEMORFPutsEx(s16 x, s16 y, s16 z, char* string, s16 maxWidth, int length) in DEMORFPutsEx()
713 int DEMORFPrintf(s16 x, s16 y, s16 z, char* fmt, ...) in DEMORFPrintf()