Commit Graph

13 Commits (757dc479e47555a6b0530b8d665ac1e6aeb52e25)

Author SHA1 Message Date
Nemirtingas 5d4b4371f3 Fixed everything that I've forgot 2019-08-16 19:21:30 +02:00
Nemirtingas d06fbba104 Added error handling when hook fails 2019-08-16 19:10:12 +02:00
Nemirtingas 7b53134512 Initialize overlay after full initialization of UI. 2019-08-16 18:30:55 +02:00
Nemirtingas 40615d07a7 Reworked how renderers are hooked.
Some games doesn't initialise Steam before initalizing their Renderer (even if the doc says to) . So instead of waiting for the game to initialize it, hook to the rendering functions and deduce which implementation should be used.
2019-08-16 10:36:44 +02:00
Nemirtingas 4d3c355fcc Renammed hook_<renderer> to start_hook 2019-08-16 10:31:29 +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 7137fae413 Added error checks for renderer hooks
Added errors checks but there are no error correction, If it fails your won't have any overlay at all.
2019-08-02 09:07:53 +02:00
Nemirtingas e674cd96e5 DX9 Hook info comment 2019-08-01 19:07:19 +02:00
Nemirtingas c293c1ae05 Fixed game shutdown hang.
Should watch the other implementations if they need the same treat or not.
2019-08-01 17:05:41 +02:00
Nemirtingas 631bcf9edf Updated hooks. 2019-08-01 15:47:43 +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