refactor: Renderer (#694)

* Simplified SwapCHain, Device and DeviceContext pointers
* Added DX and WndProc callback registration
* Cleaned up GUI code
* Optimised Mouse Toggle
This commit is contained in:
Yimura
2022-12-16 18:55:55 +01:00
committed by GitHub
parent 8704597202
commit f2f3c28048
15 changed files with 219 additions and 131 deletions

View File

@ -52,16 +52,5 @@ namespace big
static void player_kick();
static void player_toxic();
static void player_misc();
// later calls will be drawn over earlier calls
static void always()
{
esp::draw();
context_menu();
gta_data();
notifications();
}
};
}

View File

@ -12,7 +12,7 @@ namespace big
if (g_gta_data_service->cache_needs_update())
{
g_gui.m_opened = true;
g_gui->toggle(true);
ImGui::OpenPopup("Game Cache");
}