Ninja Library - System Function

njExitPrint

Terminates debugging characters

FORMAT

void njExitPrint( void )

PARAMETER

None

RETURN

None

DESCRIPTION

Terminates the debugging characters. Opens the font data set with the njlnitPrint() function from the texture memory.

EXAMPLE

/* Normally perform within njUserExit() */
void njUserInit(void)
{
	sbInitSystem( NJD_RESOLUTION_640x480_NTSCI, NJD_FRAMEBUFFER_MODE_RGB555, 1 );
	njInitVertexBuffer( 800000, 0, 200000, 0 ,0);
	njInitPrint(NULL,0,0);
	:
}
Sint32 njUserMain(void)
{
	njPrint(NJM_LOCATION(10,10),"Count = %d",count); 
	:
}
void njUserExit(void)
{
	njExitPrint();
	:
}
/* Perform in the following way in case of mode change. */
njExitPrint();
njChangeSystem( NJD_RESOLUTION_640x480_NTSCI, NJD_FRAMEBUFFER_MODE_RGB555, 1 );
njInitVertexBuffer( 800000, 0, 200000, 0 ,0);
njInitPrint(NULL,0,0);

NOTE

When debugging characters are used, this function needs to be executed without fail before changing the graphic system. Always execute this before the mode is changed.

REFERENCE

njInitPrint()

njExitPrint
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999