예제 #1
0
void myIwGxPrepareStars()
{
    Iw2DFinishDrawing();
    IwGxClear(IW_GX_DEPTH_BUFFER_F);
    //
    ssend_vertices = 0;
}
void PatteRunGameEngine::Render2D()
{
	std::list<CGridTile*>::iterator iter = g_pTiles.begin();
	while (iter != g_pTiles.end())
	{
		(*iter)->Render();
		iter++;
	}
	Iw2DFinishDrawing();

	if (g_iCounter < g_iLevel)
	{
	}
	else
	{
		g_pUser->Render();

		if (g_bDisplayCorrect)
		{
			IwGxLightingOn();
			IwGxFontSetFont(g_pFontHuge);
			IwGxFontSetCol(0xffffffff);
			IwGxFontSetAlignmentVer(IW_GX_FONT_ALIGN_MIDDLE);
			IwGxFontSetAlignmentHor(IW_GX_FONT_ALIGN_CENTRE);
			CIwRect rect(0, 0, Iw2DGetSurfaceWidth(), Iw2DGetSurfaceHeight());
			IwGxFontSetRect(rect);
			strcpy(g_szStatus, "CORRECT!");
			IwGxFontDrawText(g_szStatus);
		}
	}
}
예제 #3
0
void IGDirector::display() {
	if(scene != NULL)
		scene->display();
	Iw2DFinishDrawing();
}
예제 #4
0
void N2F::Iw3D::Iw2DHelper::PreFont()
{
	Iw2DFinishDrawing();

	return;
}