blob: 6b8f911797efadf6525b79c1ea3328ed93b67b81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* *******************************************************************
* 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;
}
|