Commit Graph

40 Commits (db2a803cf7446aef6ce343ee271dca131e8645b5)

Author SHA1 Message Date
Mr_Goldberg db2a803cf7
A few improvements to the overlay merge request.
NO_OVERLAY define becomes EMU_OVERLAY which enables the overlay instead of disabling it.

disable_overlay.txt moved to steam_settings.
4 years ago
Nemirtingas 20c03cda75 Update steam_overlay.cpp 5 years ago
Nemirtingas 695954e13a Add software cursor to Linux overlay too 5 years ago
Nemirtingas ce79df1c26 Added customizable notification
Notification can have a type depending on what to show.
5 years ago
Nemirtingas c006555b01 Add infos on friend game
Add friend appid and check if the game is compatible.
5 years ago
Nemirtingas bce574dc43 Changed windows id and fixed chat layout 5 years ago
Nemirtingas d467248236 Forgot to initialize overlay's close button 5 years ago
Nemirtingas 8abb0c8bc2 Add close button for overlay 5 years ago
Nemirtingas 6c09635600 Added the possibility to create new fonts.
Fonts cannot be created after a NewFrame call.
5 years ago
Nemirtingas 2db31928e9 Notifications 5 years ago
Nemirtingas 344674b889 revert of "Should fix the cursor until we draw our own cursor." 5 years ago
Nemirtingas 1785ae6eaf Moved every platform specific code to their own folder 5 years ago
Nemirtingas 0573c4eb94 Windows only part 5 years ago
Nemirtingas b6eb929383 Should fix the cursor until we draw our own cursor. 5 years ago
Nemirtingas 04847abeb7 Overlay & Hook cleanup. 5 years ago
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.
5 years ago
Nemirtingas 9b178146c4 Cleaned a bit hooks and added sanity checks. 5 years ago
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.
5 years ago
Nemirtingas 5b0306dccc Moved window hooks to its own class
Every class has a job. Overlay is to show an overlay not to hook windows functions.
Hook_Manager's job is to manage hooks and should not contain a reference to the overlay. (It should not contains any reference to directX or OpenGL either but I'll see that later... Maybe)
This makes the overlay code much cleaner and "could" be used in Linux as well.
5 years ago
Nemirtingas fdeb5912d3 Try to Disable all inputs when overlay is on 5 years ago
Nemirtingas 1b37e837a1 Notification sound when something happen 5 years ago
Nemirtingas 2792793bf3 Only call overlay related functions if it is ready
Continue to receive friends notifications, so if the overlay becomes ready we already have the list of friends.
5 years ago
Nemirtingas 3516b98042 Replaced wildcard with sed. 5 years ago
Nemirtingas d87760b78b Created a define to not compile overlay. 5 years ago
Nemirtingas 3eeca9b50e Modified a bit overlay and added comments 5 years ago
Nemirtingas 2c74abd6ab Moved this docs to the tool's doc 5 years ago
Nemirtingas 56b4e6a7c7 Added preprocessor exclusion for linux 5 years ago
Nemirtingas 86fa3ab47a Comments
Explains what I could use to get steam's info. Its in plain http, could use a simple socket to read the json.
5 years ago
Nemirtingas 9f3e3a95da Cleaned hooks
I don't even know why I thought it was a good idea to hook dispatchMessage.
5 years ago
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.
5 years ago
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.
5 years ago
Nemirtingas 4f9e67d700 Support for chat message (WIP) 5 years ago
Nemirtingas 2a373bbf79 Now I set the invite instead of adding it.
You should send a lobby invite or a rich invite, but not both.
5 years ago
Nemirtingas 73fa7b50b5 Moved some code to functions. 5 years ago
Nemirtingas 8fe7c2267a User must now accept invite 5 years ago
Nemirtingas 156bee1564 Invitation & Chat support (WIP) 5 years ago
Nemirtingas 300832ebb3 I think i should protect this 5 years ago
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.
5 years ago
Nemirtingas a08c8102a9 Use already defined functions to invite user to game. 5 years ago
Nemirtingas e6826d8ead Basic & Ugly implementation of overlay.
Overlay still WIP, don't look too much into the code.
I will do it better soon.
5 years ago