Blamite Game Engine - API  00406.12.10.23.1457.blamite
The API for the Blamite Game Engine.
bitfield.cpp File Reference
#include "bitfield.h"
#include "components/3rdparty/imgui/imgui.h"
#include "components/ui/imgui/imgui_widgets/widgets.h"
#include "components/diagnostics/logger/logger.h"
#include "components/content/tags/tags.h"
#include "components/content/tags/fields.h"

Macros

#define BLAM_BITFIELD_SHOW_FLAG_CONTROL(index)
 

Macro Definition Documentation

◆ BLAM_BITFIELD_SHOW_FLAG_CONTROL

#define BLAM_BITFIELD_SHOW_FLAG_CONTROL (   index)
Value:
if (options.size() > index) { \
bool flag##index##_value = prop_address->flag##index##; \
ImGui::Checkbox(options.at(##index##).c_str(), &flag##index##_value); \
prop_address->flag##index## = flag##index##_value; }