Beispiel #1
0
//-----------------------------------------------------------
// program entry point
//-----------------------------------------------------------
int main( void )
//-----------------------------------------------------------
{
	// setup things
	setupInterrupts();
	setupGraphics();
	resetBall();

	// start main loop
	while( 1 )
	{
		// update game logic
		processLogic();

		// wait for new frame
		swiWaitForVBlank();

		// update graphics
		updateGraphics();
	}
	return 0;
}
void CPlayGameVorticon::processPauseDialogs()
{
	if(m_showPauseDialog)
	{
		showPausedGameDlg();
		return;
	}
	
	if(!mMessageBoxes.empty())
	{
		auto pMB = mMessageBoxes.front();
		pMB->processLogic();

		if( pMB->isFinished() )
		{
			mMessageBoxes.pop_front();
		}

		return;
	}


}