-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDebugMenuUI.hpp
More file actions
130 lines (115 loc) · 3.28 KB
/
DebugMenuUI.hpp
File metadata and controls
130 lines (115 loc) · 3.28 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#pragma once
#include <memory>
#include "game/debug_menu.hpp"
#define RAIMIHOOK_VER_STR NGL_TEXT_WITH_COLOR("RaimiHook Version: 12", "DB7D09FF")
#define DEBUG_MENU_PAUSE_TYPE 8
struct DebugMenuEntries
{
// Toggles
bool GodMode = false;
bool UnlockFPS = false;
bool NewGoblinBoost = false;
bool FreezeTimer = false;
bool DisablePedestrians = false;
bool DisableTraffic = false;
bool DisableTrafficFlow = false;
bool DisableInterface = false;
bool BlacksuitRage = false;
bool InfiniteCombo = false;
bool InstantKill = false;
bool AlternativeCutsceneAngles = false;
bool Freecam = false;
bool FreecamPause = false;
bool ChangeFOV = false;
bool ShowBenchmarkingInfo = false;
// Other entries
std::shared_ptr<debug_menu_entry> GameTimeSelect = nullptr;
std::shared_ptr<debug_menu_entry> GlassHouseLevelSelect = nullptr;
std::shared_ptr<debug_menu_entry> WarpButton = nullptr;
std::shared_ptr<debug_menu_entry> CameraModeSelect = nullptr;
std::shared_ptr<debug_menu_entry> FovSlider = nullptr;
std::shared_ptr<debug_menu_entry> XInputStatusLabel = nullptr;
std::shared_ptr<debug_menu_entry> MovementSpeedSelect = nullptr;
std::shared_ptr<debug_menu_entry> CurrentTimerMinutesSelect = nullptr;
std::shared_ptr<debug_menu_entry> CurrentTimerSecondsSelect = nullptr;
std::shared_ptr<debug_menu_entry> CurrentTimerRSelect = nullptr;
std::shared_ptr<debug_menu_entry> CurrentTimerGSelect = nullptr;
std::shared_ptr<debug_menu_entry> CurrentTimerBSelect = nullptr;
std::shared_ptr<debug_menu_entry> HeroPositionLabel = nullptr;
std::shared_ptr<debug_menu_entry> TimeScaleSelect = nullptr;
std::shared_ptr<debug_menu_entry> PerfInfoSelect = nullptr;
};
static const char* s_Heroes[] =
{
"ch_spiderman",
"ch_blacksuit",
"ch_playergoblin",
"ch_peter"
};
static const char* const s_Cutscenes[] =
{
"STORY_INSTANCE_CUT_MC01",
"STORY_INSTANCE_CUT_MB04",
"STORY_INSTANCE_CUT_ME10",
};
static const char* const s_WorldTimes[] =
{
"12:00 AM",
"1:00 AM",
"2:00 AM",
"3:00 AM",
"4:00 AM",
"5:00 AM",
"6:00 AM",
"7:00 AM",
"8:00 AM",
"9:00 AM",
"10:00 AM",
"11:00 AM",
"12:00 PM",
"1:00 PM",
"2:00 PM",
"3:00 PM",
"4:00 PM",
"5:00 PM",
"6:00 PM",
"7:00 PM",
"8:00 PM",
"9:00 PM",
"10:00 PM",
"11:00 PM",
};
static const int s_GlassHouseLevels[] =
{
-1, 0, 1
};
static const float s_MovementSpeeds[] =
{
0,
25, 50,
75, 100,
150, 200
};
static const char* const s_CameraModes[] =
{
"Chase",
"User"
};
static const float s_TimeScaleOptions[] =
{
0.1f, 0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f,
5.0f, 5.5f, 6.0f, 6.5f, 7.0f, 7.5f, 8.0f, 8.5f, 9.0f, 9.5f,
10.0f, 10.5f, 11.0f, 11.5f, 12.0f, 12.5f, 13.0f, 13.5f, 14.0f, 14.5f,
15.0f, 15.5f, 16.0f, 16.5f, 17.0f, 17.5f, 18.0f, 18.5f, 19.0f, 19.5f,
20.0f, 20.5f, 21.0f, 21.5f, 22.0f, 22.5f, 23.0f, 23.5f, 24.0f, 24.5f,
25.0f, 25.5f, 26.0f, 26.5f, 27.0f, 27.5f, 28.0f, 28.5f, 29.0f, 29.5f,
30.0f, 30.5f, 31.0f, 31.5f, 32.0f, 32.5f, 33.0f, 33.5f, 34.0f, 34.5f,
35.0f, 35.5f, 36.0f, 36.5f, 37.0f, 37.5f, 38.0f, 38.5f, 39.0f, 39.5f,
40.0f, 40.5f, 41.0f, 41.5f, 42.0f, 42.5f, 43.0f, 43.5f, 44.0f, 44.5f,
45.0f, 45.5f, 46.0f, 46.5f, 47.0f, 47.5f, 48.0f, 48.5f, 49.0f, 49.5f,
50.0f
};
extern std::shared_ptr<debug_menu> s_DebugMenu;
extern DebugMenuEntries s_DebugMenuEntries;
void CreateDebugMenu();
void UpdateDebugMenuInfoLabels();