Donetsk/hook_lib/screen.cpp
2023-10-24 16:16:45 +02:00

20 lines
554 B
C++

#include "screen.h"
void CG_DrawWaterMark()
{
float white[4] = { 1.0f, 1.0f, 1.0f, 0.2f };
// CL_DrawText(0x14EF2DEA0_g, "Fuck off activision you cunts", 0x7FFFFFFF, *reinterpret_cast<uintptr_t*>(0x14EEB0C68_g), 0, 400.0f, 1, 1, 0.80000001, 0.80000001, white, 7);
}
void CL_ScreenMP_DrawOverlay_Detour()
{
auto DevGui_Draw = reinterpret_cast<void(*)(int)>(0x1417E5CD0_g);
auto Con_DrawConsole = reinterpret_cast<void(*)(int)>(0x1415AE0B0_g);
Con_DrawConsole(0);
DevGui_Draw(0);
if (show_watermark->current.enabled) {
CG_DrawWaterMark();
}
}