Skip to content

Commit 3259d01

Browse files
committed
fixed Watermark
1 parent b5e8d71 commit 3259d01

File tree

3 files changed

+9
-24
lines changed

3 files changed

+9
-24
lines changed

DragonBurn/Features/BombTimer.h

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ namespace bmb
7272
ImGuiWindowFlags flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize;
7373
ImGui::SetNextWindowPos({ (ImGui::GetIO().DisplaySize.x - 200.0f) / 2.0f, 80.0f }, ImGuiCond_Once);
7474
ImGui::SetNextWindowSize({ windowWidth, 0 }, ImGuiCond_Once);
75+
ImGui::GetStyle().WindowRounding = 8.0f;
7576
ImGui::Begin("Bomb Timer", nullptr, flags);
7677

7778
float remaining = (40000 - (int64_t)time + plantTime) / (float)1000;

DragonBurn/Features/Misc.cpp

+7-24
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,18 @@ namespace Misc
2222

2323
// globalvars GV;
2424
ImGuiWindowFlags windowFlags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_AlwaysAutoResize;
25-
ImGui::SetNextWindowBgAlpha(0.6f);
25+
ImGui::SetNextWindowBgAlpha(0.8f);
26+
ImGui::GetStyle().WindowRounding = 8.0f;
2627
ImGui::Begin("Watermark", nullptr, windowFlags);
2728

28-
// Cheat FPS
29-
static auto FrameRate = 1.0f;
30-
FrameRate = ImGui::GetIO().Framerate;
31-
32-
// Current Time
33-
struct tm ptm;
34-
getCurrentTime(&ptm);
35-
36-
// Player Ping
37-
int playerPing;
38-
ProcessMgr.ReadMemory(LocalPlayer.Controller.Address + 0x718, playerPing);
39-
4029
// Player Pos
4130
Vec3 Pos = LocalPlayer.Pawn.Pos;
4231

43-
// Player Angle
44-
Vec2 Angle = LocalPlayer.Pawn.ViewAngle;
45-
46-
ImGui::Text("DragonBurn");
47-
ImGui::Text("%d FPS | %d ms | %02d:%02d:%02d",
48-
FrameRate != 0.0f ? static_cast<int>(FrameRate) : 0,
49-
playerPing,
50-
ptm.tm_hour, ptm.tm_min, ptm.tm_sec);
51-
ImGui::Text("Pos: %.2f, %.2f, %.2f", Pos.x, Pos.y, Pos.z);
52-
ImGui::Text("Angle: %.2f, %.2f", Angle.x, Angle.y);
53-
ImGui::Text("Vel: %.2f", LocalPlayer.Pawn.Speed);
32+
ImGui::Text(" DragonBurn");
33+
ImGui::Text(" External CS2 cheat");
34+
ImGui::Text(" Vel: %.2f", LocalPlayer.Pawn.Speed);
35+
ImGui::Text(" Pos: %.1f, %.1f, %.1f ", Pos.x, Pos.y, Pos.z);
36+
ImGui::Text(" ");
5437

5538
ImGui::End();
5639
}

DragonBurn/Features/SpectatorList.h

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace SpecList
3131
ImGuiWindowFlags flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize;
3232
ImGui::SetNextWindowPos({ 10.0f, ImGui::GetIO().DisplaySize.y/2-200}, ImGuiCond_Once);
3333
ImGui::SetNextWindowSize({ windowWidth, 0 }, ImGuiCond_Once);
34+
ImGui::GetStyle().WindowRounding = 8.0f;
3435

3536
if (ImGui::Begin("Spectators", NULL, flags))
3637
{

0 commit comments

Comments
 (0)