2023-11-01 13:27:28 -04:00
|
|
|
#include "addr_utils.hpp"
|
2023-10-24 10:16:45 -04:00
|
|
|
#include "screen.h"
|
2023-11-04 17:35:37 -04:00
|
|
|
#include "debug_output.h"
|
2023-10-24 10:16:45 -04:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2023-11-04 17:35:37 -04:00
|
|
|
gameInitialized = true;
|
|
|
|
|
2023-10-24 10:16:45 -04:00
|
|
|
Con_DrawConsole(0);
|
|
|
|
DevGui_Draw(0);
|
|
|
|
|
|
|
|
if (show_watermark->current.enabled) {
|
|
|
|
CG_DrawWaterMark();
|
|
|
|
}
|
|
|
|
}
|