Lines Matching refs:s16
342 void DEMOPuts( s16 x, s16 y, s16 z, char* string ) in DEMOPuts()
377 GXPosition3s16( (s16)(i*8+x ), (s16)(y ), z ); in DEMOPuts()
378 GXTexCoord2s16( (s16)(s ), (s16)(t ) ); in DEMOPuts()
379 GXPosition3s16( (s16)(i*8+x+8), (s16)(y ), z ); in DEMOPuts()
380 GXTexCoord2s16( (s16)(s+16 ), (s16)(t ) ); in DEMOPuts()
381 GXPosition3s16( (s16)(i*8+x+8), (s16)(y+8 ), z ); in DEMOPuts()
382 GXTexCoord2s16( (s16)(s+16 ), (s16)(t+16) ); in DEMOPuts()
383 GXPosition3s16( (s16)(i*8+x ), (s16)(y+8 ), z ); in DEMOPuts()
384 GXTexCoord2s16( (s16)(s ), (s16)(t+16) ); in DEMOPuts()
408 void DEMOPrintf( s16 x, s16 y, s16 z, char* fmt, ... ) in DEMOPrintf()
435 static s16 FontSize; // GX_S16, 4
436 static s16 FontSpace; // GX_S16, 4
492 FontSize = (s16) (FontData->cellWidth * 16); in DEMOInitROMFont()
508 void DEMOSetROMFontSize(s16 size, s16 space) in DEMOSetROMFontSize()
510 FontSize = (s16) (size * 16); in DEMOSetROMFontSize()
511 FontSpace = (s16) (space * 16); in DEMOSetROMFontSize()
524 void DEMOGetROMFontSize(s16* size, s16* space) in DEMOGetROMFontSize()
528 *size = (s16) (FontSize / 16); in DEMOGetROMFontSize()
532 *space = (s16) (FontSpace / 16); in DEMOGetROMFontSize()
538 s16 posLeft = (s16) x; in DrawFontChar()
539 s16 posRight = (s16) (posLeft + FontSize); in DrawFontChar()
540 s16 posTop = (s16) (y - (FontData->ascent * FontSize / FontData->cellWidth)); in DrawFontChar()
541 s16 posBottom = (s16) (y + (FontData->descent * FontSize / FontData->cellWidth)); in DrawFontChar()
543 s16 texLeft = (s16) xChar; in DrawFontChar()
544 s16 texRight = (s16) (xChar + FontData->cellWidth); in DrawFontChar()
545 s16 texTop = (s16) yChar; in DrawFontChar()
546 s16 texBottom = (s16) (yChar + FontData->cellHeight); in DrawFontChar()
549 GXPosition3s16(posLeft , posTop , (s16) z); in DrawFontChar()
552 GXPosition3s16(posRight, posTop , (s16) z); in DrawFontChar()
555 GXPosition3s16(posRight, posBottom, (s16) z); in DrawFontChar()
558 GXPosition3s16(posLeft , posBottom, (s16) z); in DrawFontChar()
614 int DEMORFPuts(s16 x, s16 y, s16 z, char* string) in DEMORFPuts()
666 int DEMORFPutsEx(s16 x, s16 y, s16 z, char* string, s16 maxWidth, int length) in DEMORFPutsEx()
733 int DEMORFPrintf(s16 x, s16 y, s16 z, char* fmt, ...) in DEMORFPrintf()