diff --git a/DragonBurn/Features/BombTimer.h b/DragonBurn/Features/BombTimer.h index 28bfb27..098f34a 100644 --- a/DragonBurn/Features/BombTimer.h +++ b/DragonBurn/Features/BombTimer.h @@ -72,6 +72,7 @@ namespace bmb ImGuiWindowFlags flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize; ImGui::SetNextWindowPos({ (ImGui::GetIO().DisplaySize.x - 200.0f) / 2.0f, 80.0f }, ImGuiCond_Once); ImGui::SetNextWindowSize({ windowWidth, 0 }, ImGuiCond_Once); + ImGui::GetStyle().WindowRounding = 8.0f; ImGui::Begin("Bomb Timer", nullptr, flags); float remaining = (40000 - (int64_t)time + plantTime) / (float)1000; diff --git a/DragonBurn/Features/Misc.cpp b/DragonBurn/Features/Misc.cpp index d04309e..b8c0e9c 100644 --- a/DragonBurn/Features/Misc.cpp +++ b/DragonBurn/Features/Misc.cpp @@ -22,35 +22,18 @@ namespace Misc // globalvars GV; ImGuiWindowFlags windowFlags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_AlwaysAutoResize; - ImGui::SetNextWindowBgAlpha(0.6f); + ImGui::SetNextWindowBgAlpha(0.8f); + ImGui::GetStyle().WindowRounding = 8.0f; ImGui::Begin("Watermark", nullptr, windowFlags); - // Cheat FPS - static auto FrameRate = 1.0f; - FrameRate = ImGui::GetIO().Framerate; - - // Current Time - struct tm ptm; - getCurrentTime(&ptm); - - // Player Ping - int playerPing; - ProcessMgr.ReadMemory(LocalPlayer.Controller.Address + 0x718, playerPing); - // Player Pos Vec3 Pos = LocalPlayer.Pawn.Pos; - // Player Angle - Vec2 Angle = LocalPlayer.Pawn.ViewAngle; - - ImGui::Text("DragonBurn"); - ImGui::Text("%d FPS | %d ms | %02d:%02d:%02d", - FrameRate != 0.0f ? static_cast(FrameRate) : 0, - playerPing, - ptm.tm_hour, ptm.tm_min, ptm.tm_sec); - ImGui::Text("Pos: %.2f, %.2f, %.2f", Pos.x, Pos.y, Pos.z); - ImGui::Text("Angle: %.2f, %.2f", Angle.x, Angle.y); - ImGui::Text("Vel: %.2f", LocalPlayer.Pawn.Speed); + ImGui::Text(" DragonBurn"); + ImGui::Text(" External CS2 cheat"); + ImGui::Text(" Vel: %.2f", LocalPlayer.Pawn.Speed); + ImGui::Text(" Pos: %.1f, %.1f, %.1f ", Pos.x, Pos.y, Pos.z); + ImGui::Text(" "); ImGui::End(); } diff --git a/DragonBurn/Features/SpectatorList.h b/DragonBurn/Features/SpectatorList.h index a3ba2d8..0987dd9 100644 --- a/DragonBurn/Features/SpectatorList.h +++ b/DragonBurn/Features/SpectatorList.h @@ -31,6 +31,7 @@ namespace SpecList ImGuiWindowFlags flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize; ImGui::SetNextWindowPos({ 10.0f, ImGui::GetIO().DisplaySize.y/2-200}, ImGuiCond_Once); ImGui::SetNextWindowSize({ windowWidth, 0 }, ImGuiCond_Once); + ImGui::GetStyle().WindowRounding = 8.0f; if (ImGui::Begin("Spectators", NULL, flags)) {