Commit Graph

591 Commits (5ce4ac84290651b1ad010f20651dd9f4b9227a92)

Author SHA1 Message Date
vergeten 70a519e4e5 Very rough update to the CMakeLists.txt adding steamclient, steamnetworkingsockets and lobby_connect targets and fallbacks defines for the protobuf libraries and protoc executable 2019-08-12 13:53:23 +00:00
Nemirtingas 9f3e3a95da Cleaned hooks
I don't even know why I thought it was a good idea to hook dispatchMessage.
2019-08-07 11:11:31 +02:00
Nemirtingas d3ded5842d Added invite/join checks
Don't show "Invite" button if current user doesn't have a lobby.
Don't show "Join" button if friend doesn't have a lobby.
Added a button to open chat with a right click.
Close the popup when you click a button.
2019-08-06 13:46:43 +02:00
Nemirtingas 03d02b497b Merge branch 'master' into overlay_h 2019-08-06 12:14:51 +02:00
Mr_Goldberg 07af5737b4
Merge branch 'DLC-comments' of gitlab.com:Lyberta/goldberg_emulator 2019-08-05 18:34:50 -04:00
Nemirtingas 2930f12420 Merge branch 'master' into overlay_h 2019-08-04 21:00:43 +02:00
Mr_Goldberg 35860efa3a
Only set g_pSteamClientGameServer in steam gameserver init functions. 2019-08-04 14:36:28 -04:00
Lyberta b41517cd91 Added hash comments to DLC.txt 2019-08-04 14:10:22 +00:00
Nemirtingas f30b0c9fb2 Merge branch 'master' into overlay_h 2019-08-04 11:11:40 +02:00
Mr_Goldberg 35c59044fd
SteamGameServerClient should return NULL if the gameserver is not initialized. 2019-08-03 19:00:31 -04:00
Mr_Goldberg bf4847452e
SteamAPI_Shutdown actually does something now. 2019-08-03 18:58:23 -04:00
Mr_Goldberg f4ab249f36
Add a way to configure which leaderboards are seen by the game. 2019-08-03 18:55:08 -04:00
Nemirtingas d2a75db930 Moved colored implementation to their own functions
To minimise source code modifications, colored input text has been moved to their own functions.
The ImFont is still modified tho.
2019-08-03 14:37:03 +02:00
Nemirtingas 804355fa54 Fix input select going out of bound 2019-08-03 13:44:33 +02:00
Nemirtingas 4f9e67d700 Support for chat message (WIP) 2019-08-03 12:58:48 +02:00
Nemirtingas 2a373bbf79 Now I set the invite instead of adding it.
You should send a lobby invite or a rich invite, but not both.
2019-08-02 23:01:24 +02:00
Nemirtingas 73fa7b50b5 Moved some code to functions. 2019-08-02 15:26:16 +02:00
Nemirtingas 8fe7c2267a User must now accept invite 2019-08-02 13:02:20 +02:00
Nemirtingas 156bee1564 Invitation & Chat support (WIP) 2019-08-02 11:16:30 +02:00
Nemirtingas 300832ebb3 I think i should protect this 2019-08-02 09:09:32 +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 3a0d9c55c1 Added support for dynamic d3dcompile load
If you really want to use d3dcompile, then I think its better to find the most recent d3dcompile you have on your computer and load its D3DCompile function.
This process is now automatically handled. Just define  the right Preprocessor.
2019-08-02 09:06:59 +02:00
Nemirtingas a1037e3bf2 size() returns a size_t. 2019-08-01 19:08:09 +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 dda1e3210c Fixed dual hook on last function call 2019-08-01 17:04:49 +02:00
Nemirtingas 890f19c20a Fixing cross compiling with clang-cl 2019-08-01 15:58:24 +02:00
Nemirtingas d646f61582 Removed numeric (don't use iota anymore)
Also placed the include on the top of cpp file.
Need to look into directinput and xinput hooks.
2019-08-01 15:56:56 +02:00
Nemirtingas a08c8102a9 Use already defined functions to invite user to game. 2019-08-01 15:56:50 +02:00
Nemirtingas 884f147e1b Merge branch 'master' into overlay_h 2019-08-01 15:56:43 +02:00
Nemirtingas e6826d8ead Basic & Ugly implementation of overlay.
Overlay still WIP, don't look too much into the code.
I will do it better soon.
2019-08-01 15:47:47 +02:00
Nemirtingas 631bcf9edf Updated hooks. 2019-08-01 15:47:43 +02:00
Nemirtingas 6328b59b0b Added opengl hook 2019-08-01 15:47:38 +02:00
Mr_Goldberg 7939796680
Fix build. 2019-07-31 10:25:05 -04:00
Mr_Goldberg 26c5b7949f
Implemented some ugc remote storage functions related to fileshare. 2019-07-31 10:01:55 -04:00
Mr_Goldberg 42fd868099
Remove useless files. 2019-07-28 09:04:14 -04:00
Mr_Goldberg 8723dad025
Update to sdk 1.46 2019-07-28 09:02:09 -04:00
Nemirtingas a60a106daf Implementing overlay into existing code. 2019-07-25 23:33:28 +02:00
Nemirtingas bf9d85755c Added overlay base 2019-07-25 23:33:07 +02:00
Nemirtingas 3d3c8b26cd Added ImGui precompiled shaders
(And removed dependency to d3dcompile)
2019-07-25 23:32:52 +02:00
Nemirtingas ead81a704b Added missing ImGui headers 2019-07-25 23:31:24 +02:00
Nemirtingas cb28b22fd3 Don't support gamepad (remove directinput dependency) 2019-07-25 23:27:54 +02:00
Nemirtingas faf13e77b6 Added 64bits support to ImGui 2019-07-25 23:27:09 +02:00
Nemirtingas 176c9eb7dd Added ImGui base code
I'll implement overlay with ImGui
2019-07-25 23:25:46 +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
Mr_Goldberg bb9c516775
Fix crash in crazy taxi. 2019-07-20 14:45:50 -04:00
Mr_Goldberg 55835de708
Untested version of GetInstalledDepots. 2019-07-20 14:45:37 -04:00
Nemirtingas d2fba40cb4 Small improvements
Its always better to reserve memory when we can for a vector. Also, STL implements a lot of algorithms, its better to use them in case someday you need to change it to something alike. Like reversing the copy, use transform instead, etc...
2019-07-18 22:21:55 +02:00
Mr_Goldberg 514f2ddbd9
Some small cleanups. 2019-07-17 15:55:12 -04:00
Mr_Goldberg 2a659043d3
Fix build. 2019-07-17 13:54:23 -04:00