-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_menu.h
More file actions
32 lines (22 loc) · 766 Bytes
/
Copy pathmain_menu.h
File metadata and controls
32 lines (22 loc) · 766 Bytes
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
#ifndef __MAIN_MENU_H__
#define __MAIN_MENU_H__
#include "common.h"
#define MAIN_MENU_ELEMENT_START 0
#define MAIN_MENU_ELEMENT_OPTIONS 1
#define MAIN_MENU_ELEMENT_CREDITS 2
#define MAIN_MENU_ELEMENT_EXIT 3
#define MAIN_MENU_ELEMENTS 4
#define MAIN_MENU_TIME_TO_DEMO 5
typedef struct MainMenu_t
{
int currentIndex;
int timeToDemo;
}*pMainMenu_t;
void MM_Init( pMainMenu_t , int );
void MM_HandleInput( pMainMenu_t );
void MM_AdvanceSelection( pMainMenu_t );
void MM_RetreatSelection( pMainMenu_t );
void MM_MakeSelection( pMainMenu_t );
r_boolean MM_Run( pMainMenu_t );
void MM_RenderMenu( pMainMenu_t );
#endif