 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../debug_ui.h"
5 #include <Strings/components/utils/io/io.h>
21 bool devtools_bar =
true;
22 bool main_menu =
true;
24 bool window_wrap =
false;
29 window_wrap = show_in_window;
57 ImGui::BeginMainMenuBar();
63 ImGui::Begin(
"Old Menu", &
show, ImGuiWindowFlags_MenuBar | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoResize);
66 ImGui::BeginMenuBar();
72 if (ImGui::BeginMenu(
"File"))
74 ImGui::MenuItem(
"Open .map file", NULL);
75 ImGui::MenuItem(
"Return to mainmenu", NULL);
76 if (ImGui::MenuItem(
"Open game dir", NULL)) BlamStrings::Utils::IO::OpenGameDirectory();
78 ImGui::MenuItem(
"Exit", NULL,
duigvs(
"exit_via_menu"));
81 if (ImGui::BeginMenu(
"Tools"))
83 ImGui::MenuItem(
"Memory Editor", NULL);
84 ImGui::MenuItem(
"Object Info", NULL);
85 ImGui::MenuItem(
"Cheats", NULL);
86 ImGui::MenuItem(
"Logger", NULL,
duigvs(
"logger"));
88 ImGui::MenuItem(
"Render Stack Editor", NULL,
duigvs(
"render_stack_editor"));
93 if (ImGui::BeginMenu(
"Network Tools"))
95 ImGui::MenuItem(
"Chat", NULL,
duigvs(
"chat_window"));
96 ImGui::MenuItem(
"Network Poker", NULL);
97 ImGui::MenuItem(
"Test Master Server Connection", NULL,
duigvs(
"ip_test"));
98 ImGui::MenuItem(
"Advanced", NULL);
101 if (ImGui::BeginMenu(
"Config"))
103 ImGui::MenuItem(
"Engine Configuration (Raw)", NULL,
duigvs(
"config_editor"));
104 ImGui::MenuItem(
"Engine Configuration", NULL,
duigvs(
"config_editor_new"));
105 ImGui::MenuItem(
"Theme Selector", NULL,
duigvs(
"theme_selector"));
108 if (ImGui::BeginMenu(
"Test"))
110 ImGui::MenuItem(
"Crash Test", NULL,
duigvs(
"crash_test_ui"));
111 ImGui::MenuItem(
"Access Key Dialog", NULL,
duigvs(
"license_startup_prompt"));
112 ImGui::MenuItem(
"Win32 Dialog", NULL);
113 ImGui::MenuItem(
"Forceload .map", NULL);
116 ImGui::MenuItem(
"DX11 Example Window", NULL,
duigvs(
"dx11_window"));
118 ImGui::MenuItem(
"Discord Rich Presence", NULL,
duigvs(
"discord_rpc_ui"));
120 ImGui::MenuItem(
"Direct2D Test Window", NULL,
duigvs(
"d2d_test"));
123 if (ImGui::BeginMenu(
"Debug"))
125 ImGui::MenuItem(
"Show Coordinates", NULL);
126 ImGui::MenuItem(
"Show Runtime Counter", NULL);
128 ImGui::MenuItem(
"Show Network Info", NULL,
duigvs(
"network_stats"));
129 ImGui::MenuItem(
"Show Usage Info", NULL);
130 ImGui::MenuItem(
"Show Stats", NULL,
duigvs(
"stats"));
135 if (ImGui::BeginMenu(
"Help"))
137 ImGui::MenuItem(
"ImGui User Guide", NULL,
duigvs(
"imgui_user_guide"));
139 ImGui::MenuItem(
"About ImGui", NULL,
duigvs(
"imgui_info"));
140 ImGui::MenuItem(
"About Blamite", NULL,
duigvs(
"engine_info"));
147 ImGui::EndMainMenuBar();
155 ImGui::Text(
"can't imagine why you'd need it, but here it is");
Class for the default ImGUI DX11 sample window.
Definition: dx11_window.hpp:13
BLAM void TakeScreenshot()
Captures the current frame and saves it to a file.
Definition: screenshot.cpp:100
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
This is the ImGUI-based implementation of the stats widget.
Definition: stats.hpp:23
BLAM ImGUIDrawingGroup * GetDrawListItem(std::string key)
Retrieves a drawing group with the specified ID.
Definition: drawing_list.cpp:30
Legacy namespace to contain data for the legacy ImGUI console.
Definition: debug_ui.h:434
@ Text
Master text object that wraps around both BitmapText and DWText.
Definition: render_stack.h:73
BLAM bool * RenderTargetClearing()
Retrieves whether or not to enable render target clearing.
Definition: render_manage.cpp:608
#define duigvs(x)
Macro for Blam::DebugUI::GetVisibility().
Definition: debug_ui.h:19