 |
Blamite Game Engine - blam!
00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../../debug_ui.h"
44 ImGui::TextColored(
ImVec4(1.0, 0.0, 0.0, 1.0),
"this does not function and is not used, use the new config editor instead");
51 static int fps_limit = 60;
52 static bool bink_enabled =
true;
53 static bool use_switches =
true;
54 static bool use_mp =
true;
55 static bool use_solo =
true;
56 static bool old_folder_structure =
true;
57 static bool dedicated_server =
true;
58 static char dedicated_host[255] =
"343.host.elaztek.com";
59 static char dedicated_fallback_1[255] =
"i01.host.elaztek.com";
60 static char dedicated_fallback_2[255] =
"contingency.host.elaztek.com";
61 const char* ui[] = {
"default",
"classic",
"halo3",
"imgui" };
62 static int ui_active = 0;
63 static bool use_mp3 =
true;
64 static bool check_signatures =
true;
65 static bool use_esef =
true;
66 const char* launch_mode[] = {
"retail",
"alpha",
"beta",
"dev",
"press",
"safemode",
"debug",
"screen" };
67 static int launch_active = 0;
68 static char default_level[255] =
"levels/ui/mainmenu/mainmenu";
69 static char s_hsc_ver[255] =
"%latest%";
70 static bool havok_cloth_phys =
true;
71 static bool havok_impact_phys =
true;
72 const char* phys_mode[] = {
"havok",
"h2v",
"contingencycryengine",
"madness",
"none",
"spaaace" };
73 static int phys_active = 0;
74 static bool achi_enabled =
true;
75 static char voip_server[255] =
"voice.inf.elaztek.com";
76 static int voip_channel = 1;
77 static bool show_voip_window =
false;
78 static int poly_limit = 32767;
79 static bool r_wireframe =
false;
80 const char* render_preset[]{
"blam",
"halo",
"halo2",
"halo3",
"omaha",
"storm",
"osiris" };
81 static int render_preset_active = 0;
82 static bool r_fog =
true;
83 static char sys_font[255] =
"fixedsys";
84 static int conf_ver = 1;
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
IMGUI_API bool InputText(const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
Definition: imgui_widgets.cpp:3068
IMGUI_API void End()
Definition: imgui.cpp:6016
~ConfigEditorNew()
Empty destructor.
Definition: config_editor_new.hpp:35
IMGUI_API bool Combo(const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1)
Definition: imgui_widgets.cpp:1599
IMGUI_API bool DragInt(const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
Definition: imgui_widgets.cpp:2209
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
Class for a GUI config editor.
Definition: config_editor_new.hpp:24
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
BLAM HRESULT RunCommandLine(std::string command_line)
Executed the provided string as a console command.
Definition: console.cpp:268
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
#define IM_ARRAYSIZE(_ARR)
Definition: imgui.h:75
ConfigEditorNew()
Empty constructor.
Definition: config_editor_new.hpp:30
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
void Draw()
Draws the contents of the group.
Definition: config_editor_new.hpp:37
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
Definition: imgui_widgets.cpp:257
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644
IMGUI_API bool InputInt(const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
Definition: imgui_widgets.cpp:3031