 |
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"
48 for (
int i = 0; i < item->
items.size(); i++)
77 case GvarType::Boolean:
136 std::string text =
"UNSUPPORTED: " + item->
title +
" (" + global->
name +
")";
145 std::string text =
"UNDEFINED: " + item->
title +
" (" + item->
global_id +
")";
191 ImGui::TextColored(
ImVec4(1, 0, 0, 1),
"this debug menu is not supported, please use PgUp and use the primary debug menu");
194 for (
int i = 0; i < menu->
items.size(); i++)
200 for (
int x = 0;
x < menu->
items.at(i).items.size();
x++)
IMGUI_API bool TreeNode(const char *label)
Definition: imgui_widgets.cpp:5071
BLAM EngineGlobal * GetGlobal(std::string name)
Retrieves a global with the specified ID.
Definition: globals.cpp:193
float float_value
The float value of the global.
Definition: globals.h:80
@ Int
Represents an int.
Definition: globals.h:49
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
IMGUI_API void PopStyleColor(int count=1)
Definition: imgui.cpp:6341
@ Long
Represents a long.
Definition: globals.h:46
Namespace containing things relating to game engine globals.
Definition: globals.h:23
IMGUI_API void End()
Definition: imgui.cpp:6016
IMGUI_API float GetWindowContentRegionWidth()
Definition: imgui.cpp:6831
std::string name
The name of the global.
Definition: globals.h:67
short short_value
The short value of the global.
Definition: globals.h:77
IMGUI_API float GetTextLineHeightWithSpacing()
Definition: imgui.cpp:6843
@ Float
Definition: render_model.h:12
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
Structure containing data for a game engine global.
Definition: globals.h:64
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
long long_value
The long value of the global.
Definition: globals.h:78
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
@ Short
Represents a short.
Definition: globals.h:45
int int_value
The int value of the global.
Definition: globals.h:79
IMGUI_API void TreePop()
Definition: imgui_widgets.cpp:5380
@ ImGuiCol_Text
Definition: imgui.h:1027
IMGUI_API bool SliderFloat(const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2619
Legacy namespace to contain data for the legacy ImGUI console.
Definition: ui.h:14
config GlyphExtraSpacing x
Definition: README.txt:30
IMGUI_API bool SliderInt(const char *label, int *v, int v_min, int v_max, const char *format="%d")
Definition: imgui_widgets.cpp:2649
GvarType type
The type of the global.
Definition: globals.h:66
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
Definition: imgui_widgets.cpp:257
IMGUI_API bool InputFloat(const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0)
Definition: imgui_widgets.cpp:2975
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
bool boolean_value
The boolean value of the global.
Definition: globals.h:76
IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col)
Definition: imgui.cpp:6321