Commit Graph

416 Commits (5c41ba020c4ffc46d0adbeb3b82c9ae623d14ef2)

Author SHA1 Message Date
Mr_Goldberg 2af93427fe
Initial Xinput ISteamInput/ISteamController support. 2019-09-10 14:54:54 -04:00
Mr_Goldberg 4db580d945
Add missing older steam api SteamUnifiedMessages() function. 2019-09-07 10:35:55 -04:00
Mr_Goldberg 58083e0863
Started work on a real avatars implementation.
Fix issue where since the image ids changed for
every get avatar call mudrunner would keep allocating
memory indefinitely.
2019-09-07 09:39:41 -04:00
Nemirtingas 6c09635600 Added the possibility to create new fonts.
Fonts cannot be created after a NewFrame call.
2019-09-05 09:00:02 +02:00
Nemirtingas e82579b82c Update steam_overlay.h 2019-09-04 17:40:22 +00:00
Nemirtingas 420e498f22 Update generate_game_infos.cpp 2019-09-04 17:39:23 +00:00
Nemirtingas 2db31928e9 Notifications 2019-09-04 19:31:31 +02:00
Nemirtingas 344674b889 revert of "Should fix the cursor until we draw our own cursor." 2019-09-03 19:22:08 +02:00
Nemirtingas 6ebc946607 Fixed overlay now showing on some games
In sanctum2, not writing in our own context makes the game crash.
2019-09-03 17:25:55 +02:00
Nemirtingas 1016e7f47f Fix lag on events
Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop.
Now the event loop returns 0 when there are no more events.
2019-09-03 17:25:42 +02:00
Nemirtingas 9fa4053551 Cleanup 2019-09-03 11:38:54 +02:00
Nemirtingas ecd753422b Updated Linux X11 & OLGX hooks.
Use LD_PRELOAD=$PWD/libsteam_api.so app_name to load overlay.
2019-09-03 11:38:37 +02:00
Nemirtingas d6f29ffffa Added logs for Linux_Detour 2019-09-03 11:38:28 +02:00
Nemirtingas bb8cfbda10 Updated ImGui event handle for X11 2019-09-03 11:37:36 +02:00
Nemirtingas 5af1d18a8f Fixed overlay thread joining on himself 2019-09-02 10:51:32 +02:00
Nemirtingas aeeb85da55 This should do something like this
(Working on portal2 ubuntu 18.04)
2019-09-02 10:51:16 +02:00
Nemirtingas 95e87eb832 Clean Linux Detour 2019-09-01 23:21:50 +02:00
Nemirtingas cfa04f2df8 Description is an empty string if not set 2019-09-01 22:19:36 +02:00
Nemirtingas 86b178f55b Fixed definition update not being called
Should update definition when inventory is requested and definition is not loaded
2019-09-01 21:33:29 +02:00
Nemirtingas b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
Nemirtingas 1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00
Nemirtingas dd13377be7 Added linux arch define 2019-09-01 20:47:46 +02:00
Nemirtingas 549dc7c50e This carries window exit 2019-09-01 20:47:13 +02:00
Nemirtingas c27ab3993c Linux renderer detection 2019-09-01 20:47:10 +02:00
Nemirtingas 86f94bc337 Linux hooks 2019-09-01 20:47:07 +02:00
Nemirtingas 8a6db1c401 ImGui X11 impl 2019-09-01 20:47:04 +02:00
Nemirtingas 0573c4eb94 Windows only part 2019-09-01 20:47:00 +02:00
Nemirtingas 495bc957cd Added some os detection
Need to detect linux x86 or x64
2019-09-01 20:46:55 +02:00
Nemirtingas 92ed36f499 Linux version of detour 2019-09-01 20:45:43 +02:00
Nemirtingas b6eb929383 Should fix the cursor until we draw our own cursor. 2019-08-27 21:15:58 +02:00
Nemirtingas 4f7e42a905 Call the true function before initializing hook. 2019-08-27 19:56:41 +02:00
Nemirtingas 3c265596a9 Removed DX12 until further notice. 2019-08-27 19:21:32 +02:00
Nemirtingas 622c435cb7 Fixed typo in DX12 & reorder hook call.
Should call the Present function before hooking DX cause DX also hook Present even if the hook is disabled by Renderer_Detector before initializing the DX hook.
2019-08-27 17:40:44 +02:00
Nemirtingas 78e57f0693 Cleanup
This is not part of the overlay.
2019-08-27 17:16:31 +02:00
Nemirtingas 36e8966223 Cleanup again 2019-08-27 16:29:20 +02:00
Nemirtingas 04847abeb7 Overlay & Hook cleanup. 2019-08-27 15:45:53 +02:00
Nemirtingas 44d583ee7d 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.
2019-08-27 15:38:07 +02:00
Nemirtingas da75aa3ae7 Added item definition to generate_game_infos
Thx psychonic.
2019-08-27 00:17:57 +02:00
Nemirtingas ff25f294f0 Fixed typo 2019-08-27 00:16:53 +02:00
Nemirtingas 45db63a738 Merge branch 'master' into overlay_h 2019-08-26 21:25:32 +02:00
Nemirtingas 519abbdd96 Merge branch 'master' into achievements_support 2019-08-26 21:19:17 +02:00
Mr_Goldberg 734ff89291
Gitlab ci fix. 2019-08-26 14:45:49 -04:00
Nemirtingas d9b9b990f3 Update settings_parser.cpp 2019-08-26 17:55:31 +00:00
Mr_Goldberg 22c32c46b6
Forgot this. 2019-08-26 13:49:18 -04:00
Nemirtingas 7a59f48000 Merge branch 'master' into achievements_support 2019-08-26 19:45:58 +02:00
Nemirtingas 9b178146c4 Cleaned a bit hooks and added sanity checks. 2019-08-26 19:36:07 +02:00
Nemirtingas 2365b50c38 Merge branch 'master' into overlay_h 2019-08-26 19:32:06 +02:00
Mr_Goldberg bca4bd6dc1
Added a way to configure stats and moved parser logic to other file. 2019-08-26 13:01:45 -04:00
Mr_Goldberg 1d920c538a
Christsnatcher .bat improvements. 2019-08-26 13:01:00 -04:00
Nemirtingas d0251b0b01 Some kind of DX12 hook 2019-08-26 16:46:56 +02:00