 |
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.
6 #include "../../debug_ui.h"
47 std::ifstream engine_conf(
"engine.config");
49 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");
56 static bool read_only =
false;
57 static char text[1024 * 16] =
58 "#################################"
59 "\n# Blamite Engine Configuration #"
60 "\n# (c) Elaztek Studios 2016 #"
61 "\n#################################"
63 "\nbink - enabled : true"
64 "\nuseSwitches : true"
67 "\nuseLegacyFileStructure : false"
68 "\nuseDedicated : true"
69 "\ndedicatedHost : 343.host.elaztek.com"
70 "\ndedicatedFallback : i01.host.elaztek.com"
71 "\ndedicatedFallback2 : contingency.host.elaztek.com"
74 "\ncheckSignatures : true"
75 "\nenableElaztekExtended : true"
76 "\nlaunchMode : retail"
77 "\ninit - level : mainmenu"
78 "\ns_hsc_ver : 15267.10.13.16.0467.blamite"
79 "\nhavok_cloth_phys :"
80 "\nhavok_impact_phys :"
81 "\nhavok_physics_engine :"
82 "\nachi_enabled : true"
83 "\nvoice_server : ts.elaztek.com"
84 "\nvoice_default_channel : 57"
85 "\nshow_ts_window : false"
86 "\npoly_limit : 32767"
87 "\nr_wireframe : false"
88 "\nrender_preset : blam"
90 "\nsys_font : fixedsys - embedded"
@ ImGuiInputTextFlags_ReadOnly
Definition: imgui.h:769
void Draw()
Draws the window.
Definition: config_editor.hpp:40
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
IMGUI_API float GetTextLineHeight()
Definition: imgui.cpp:6837
IMGUI_API void End()
Definition: imgui.cpp:6016
~ConfigEditor()
Empty destructor.
Definition: config_editor.hpp:35
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
An incomplete configuration editor, using raw text.
Definition: config_editor.hpp:24
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
@ ImGuiInputTextFlags_AllowTabInput
Definition: imgui.h:765
#define IM_ARRAYSIZE(_ARR)
Definition: imgui.h:75
IMGUI_API bool InputTextMultiline(const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
Definition: imgui_widgets.cpp:3074
ConfigEditor()
Empty constructor.
Definition: config_editor.hpp:30
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
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