Nemirtingas
dd530e80b1
Now passing to hooks device object.
...
Added Base_Hook::get_lib_name to track what renderer is hooked for overlay.
Objects used to detect renderer type are now also used to hook the rendering functions. So we don't have to build another device.
Updated VTables for DX12.
2019-08-26 16:38:01 +02:00
Nemirtingas
f096a2d8a2
Use LoadLibrary instead of LoadModule
...
LoadLibrary increase the reference count to the library. So we make sure this library is still loaded when we shut down the hook.
2019-08-18 16:19:28 +02:00
Nemirtingas
2fe5e90294
Reworked booleans
2019-08-16 10:28:23 +02:00
Nemirtingas
d87760b78b
Created a define to not compile overlay.
2019-08-14 15:09:57 +02:00
Nemirtingas
56b4e6a7c7
Added preprocessor exclusion for linux
2019-08-14 14:55:31 +02:00
Nemirtingas
dda1e3210c
Fixed dual hook on last function call
2019-08-01 17:04:49 +02:00
Nemirtingas
2ba8cae64e
Added DirectX hooks
...
Warning: DX9 doesn't support resizing (TODO), DX12 has not beed tested and is not finished.
No OpenGL support for now.
2019-07-25 23:21:03 +02:00