mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-16 08:58:24 +01:00
Added class Renderer_Detector.
Hook_Manager now only manages hooks. Renderer_Detector is used to detect the game's renderer. There will be 2 version of it. 1 for windows and 1 for Linux.
This commit is contained in:
parent
ff25f294f0
commit
44d583ee7d
19 changed files with 865 additions and 759 deletions
|
|
@ -16,12 +16,12 @@ private:
|
|||
static DX9_Hook* _inst;
|
||||
|
||||
// Variables
|
||||
bool hooked;
|
||||
bool initialized;
|
||||
bool uses_present;
|
||||
|
||||
// Functions
|
||||
DX9_Hook();
|
||||
virtual ~DX9_Hook();
|
||||
|
||||
void resetRenderState();
|
||||
void prepareForOverlay(IDirect3DDevice9* pDevice);
|
||||
|
|
@ -45,6 +45,8 @@ private:
|
|||
//decltype(Direct3DCreate9Ex)* Direct3DCreate9Ex;
|
||||
|
||||
public:
|
||||
virtual ~DX9_Hook();
|
||||
|
||||
bool start_hook();
|
||||
static DX9_Hook* Inst();
|
||||
virtual const char* get_lib_name() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue