-
Notifications
You must be signed in to change notification settings - Fork 1
/
Raven_UserOptions.h
59 lines (36 loc) · 1.09 KB
/
Raven_UserOptions.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
#ifndef USER_OPTIONS
#define USER_OPTIONS
//-----------------------------------------------------------------------------
//
// Name: Raven_UserOptions.h
//
// Author: Mat Buckland (www.ai-junkie.com)
//
// Desc: singleton class to control a number of menu options
//-----------------------------------------------------------------------------
#define UserOptions Raven_UserOptions::Instance()
class Raven_UserOptions
{
private:
Raven_UserOptions();
//copy ctor and assignment should be private
Raven_UserOptions(const Raven_UserOptions&);
Raven_UserOptions& operator=(const Raven_UserOptions&);
public:
static Raven_UserOptions* Instance();
bool m_bShowGraph;
bool m_bShowNodeIndices;
bool m_bShowPathOfSelectedBot;
bool m_bShowTargetOfSelectedBot;
bool m_bShowOpponentsSensedBySelectedBot;
bool m_bOnlyShowBotsInTargetsFOV;
bool m_bShowGoalsOfSelectedBot;
bool m_bShowGoalAppraisals;
bool m_bShowWeaponAppraisals;
bool m_bSmoothPathsQuick;
bool m_bSmoothPathsPrecise;
bool m_bShowBotIDs;
bool m_bShowBotHealth;
bool m_bShowScore;
};
#endif