PocketEmpires/main.cpp

55 lines
1.7 KiB
C++

/* *******************************************************************
* Includes
* ******************************************************************/
#include "Menu.h"
#include "System.h"
/* *******************************************************************
* Defines
* ******************************************************************/
/* *******************************************************************
* Types definition
* ******************************************************************/
/* *******************************************************************
* Global variables definition
* ******************************************************************/
/* *******************************************************************
* Local variables definition
* ******************************************************************/
/* *******************************************************************
* Local prototypes declaration
* ******************************************************************/
/* *******************************************************************
* Functions definition
* ******************************************************************/
/*****************************************************************//**
*
* \brief Initializes the device and game parameters and
* executes the game.
*
* \return Error code (always 0), but must never be returned.
*
*********************************************************************/
int main(void)
{
/* Initialize system and game parameters. */
SystemInit();
/* Main loop. */
for (;;)
{
/* Execute gameplay. */
MainMenu();
}
/* This must never be reached. */
return 0;
}