2018-07-09 22:33:29 +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 22:33:29 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Defines
|
|
|
|
* ******************************************************************/
|
2017-03-07 20:57:09 +01:00
|
|
|
|
2018-07-09 22:33:29 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Types definition
|
|
|
|
* ******************************************************************/
|
2017-09-08 18:39:22 +02:00
|
|
|
|
2018-07-09 22:33:29 +02:00
|
|
|
/* *******************************************************************
|
|
|
|
* Global variables definition
|
|
|
|
* ******************************************************************/
|
|
|
|
|
|
|
|
/* *******************************************************************
|
|
|
|
* Local variables definition
|
|
|
|
* ******************************************************************/
|
|
|
|
|
|
|
|
/* *******************************************************************
|
|
|
|
* Local prototypes declaration
|
|
|
|
* ******************************************************************/
|
|
|
|
|
|
|
|
/* *******************************************************************
|
|
|
|
* Functions definition
|
|
|
|
* ******************************************************************/
|
2017-09-08 18:39:22 +02:00
|
|
|
|
2018-07-09 19:26:13 +02:00
|
|
|
/*****************************************************************//**
|
|
|
|
*
|
2018-07-09 22:33:29 +02:00
|
|
|
* \brief Initializes the device and game parameters and
|
|
|
|
* executes the game.
|
2018-07-09 19:26:13 +02:00
|
|
|
*
|
2018-07-09 22:33:29 +02:00
|
|
|
* \return Error code (always 0), but must never be returned.
|
2018-07-09 19:26:13 +02:00
|
|
|
*
|
|
|
|
*********************************************************************/
|
2018-07-09 22:33:29 +02:00
|
|
|
int main(void)
|
2018-07-09 19:26:13 +02:00
|
|
|
{
|
|
|
|
/* 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
|
|
|
}
|