mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Improvements to GameConsole quality * Add post-build events for renaming release executables to allow debugging "Debug" and "Release" from the same install * Segmentate codeblocks for easier reading and scrolling
28 lines
884 B
C
28 lines
884 B
C
#pragma once
|
|
#include <d3d11.h>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Initialization
|
|
void SetupImGui();
|
|
void SetupDXSwapChain();
|
|
void DrawImGui();
|
|
void DestroyRenderTarget();
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Internals
|
|
void PrintDXAddress();
|
|
void InstallDXHooks();
|
|
void RemoveDXHooks();
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Handlers
|
|
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
|
extern HRESULT __stdcall Present(IDXGISwapChain* pSwapChain, UINT nSyncInterval, UINT nFlags);
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Globals
|
|
extern DWORD g_dThreadId;
|
|
extern BOOL g_bShowMenu;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|