-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.h
59 lines (43 loc) · 1.28 KB
/
Menu.h
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
55
56
57
58
59
//------------------------------------------------------------------------------
// File: Menu.h
// Desc: Front end menu system
//
// Created: 24 September 2005 16:53:08
//
// (c)2005 Neil Wakefield, Lionhead Studios Ltd
//------------------------------------------------------------------------------
#ifndef INCLUSIONGUARD_MENU_H
#define INCLUSIONGUARD_MENU_H
//------------------------------------------------------------------------------
// Included files:
//------------------------------------------------------------------------------
#include <d3dx9.h>
//------------------------------------------------------------------------------
// Prototypes and declarations:
//------------------------------------------------------------------------------
class Menu
{
public:
Menu();
~Menu();
bool Initialise();
bool Shutdown();
bool Process();
bool Render();
private:
bool ProcessInput();
enum MENU_SELECTION
{
MENU_SELECTION_GAME,
MENU_SELECTION_SCORE,
MENU_SELECTION_QUIT,
};
unsigned int LastUpdateTime;
MENU_SELECTION MenuSelection;
unsigned int LogoText;
unsigned int GameText;
unsigned int ScoreText;
unsigned int QuitText;
unsigned int CopyrightText;
};
#endif //INCLUSIONGUARD_MENU_H