w
w
This commit is contained in:
commit
7bd33ca73b
98 files changed
+56670
No files matched your search
@@ -0,0 +1,41 @@
|
||||
#include "ESP.h"
|
||||
|
||||
#include "helpers.h"
|
||||
|
||||
ESPModule::ESPModule()
|
||||
: BaseModule("ESPModule", "ESP Features", ModuleCategory::ESP) {
|
||||
}
|
||||
|
||||
void ESPModule::RegisterTab() {
|
||||
}
|
||||
|
||||
void ESPModule::Render() {
|
||||
if (!ImGui::CollapsingHeader(Tr("ESP Features"), ImGuiTreeNodeFlags_DefaultOpen)) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool enabled = Enabled();
|
||||
if (ImGui::Checkbox(Tr("ON / OFF"), &enabled)) {
|
||||
SetEnabled(enabled);
|
||||
}
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::TextUnformatted("Display Types");
|
||||
ImGui::Checkbox(Tr("Show Monsters"), &show_monsters_);
|
||||
ImGui::Checkbox(Tr("Show NPC"), &show_npc_);
|
||||
ImGui::Checkbox(Tr("Show Friendly"), &show_friendly_);
|
||||
ImGui::Checkbox(Tr("Show Puzzles"), &show_puzzles_);
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::TextUnformatted("Display Info");
|
||||
ImGui::Checkbox(Tr("Show Distance"), &show_distance_);
|
||||
ImGui::Checkbox(Tr("Show Name"), &show_name_);
|
||||
ImGui::Checkbox(Tr("Show Type"), &show_type_);
|
||||
}
|
||||
|
||||
void ESPModule::Update() {
|
||||
if (!Enabled()) {
|
||||
return;
|
||||
}
|
||||
// Runtime drawing in target process would happen from Present hook path.
|
||||
}
|
||||
Reference in new issue
Block a user