2017-03-07 20:57:09 +01:00
|
|
|
/* **************************************
|
2018-07-09 19:26:13 +02:00
|
|
|
* Includes *
|
2017-03-07 20:57:09 +01:00
|
|
|
* **************************************/
|
|
|
|
|
2017-09-08 18:39:22 +02:00
|
|
|
#include "Menu.h"
|
2018-07-09 19:26:13 +02:00
|
|
|
#include "System.h"
|
2017-03-07 20:57:09 +01:00
|
|
|
|
|
|
|
/* **************************************
|
2018-07-09 19:26:13 +02:00
|
|
|
* Defines *
|
2017-03-07 20:57:09 +01:00
|
|
|
* **************************************/
|
|
|
|
|
2018-07-09 19:26:13 +02:00
|
|
|
/* **************************************
|
|
|
|
* Global variables *
|
|
|
|
* **************************************/
|
2017-09-08 18:39:22 +02:00
|
|
|
|
2018-07-09 19:26:13 +02:00
|
|
|
/* **************************************
|
|
|
|
* Functions definition *
|
|
|
|
* **************************************/
|
2017-09-08 18:39:22 +02:00
|
|
|
|
2018-07-09 19:26:13 +02:00
|
|
|
/*****************************************************************//**
|
|
|
|
*
|
|
|
|
* \brief Initializes the device and game parameters.
|
|
|
|
*
|
|
|
|
* \return Error code (always 0), but is never returned.
|
|
|
|
*
|
|
|
|
*********************************************************************/
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
/* Initialize system and game parameters. */
|
|
|
|
SystemInit();
|
|
|
|
|
|
|
|
/* Main loop. */
|
|
|
|
for (;;)
|
|
|
|
{
|
|
|
|
/* Execute gameplay. */
|
|
|
|
MainMenu();
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This must never be reached. */
|
|
|
|
return 0;
|
2017-03-07 20:57:09 +01:00
|
|
|
}
|