285 Commits

Author SHA1 Message Date
Detanup01
995414e117
Update steam_overlay.cpp
Please
2024-11-17 23:17:02 +01:00
Detanup01
0cd118075a
Update steam_overlay.cpp
Fix the fix ?
2024-11-17 23:05:21 +01:00
Detanup01
4868c03480
fix ToggleKey 2024-11-17 22:13:10 +01:00
Detanup01
1a907479ae
Update to latest overlay build
Updated to 1.61
2024-11-17 18:33:21 +01:00
a
4017266241 * deprecate lazy_load_achievements_icons in favor of paginated_achievements_icons
* new option `upload_achievements_icons_to_gpu` in `configs.main.ini` which controls whether the overlay should upload the achievements icons to the GPU and display them or not
* synchronize overlay proc with the periodic steam callback in a better way to avoid FPS drop
* prevent overlay flickering regression
* upload achievements icons to the GPU in the overlay proc periodically, this dramatically decreased the startup locking/halt time
* fix a potential deadlock scenario in the overlay as a result of synchonizing with 2 mutex objects
2024-08-21 23:56:52 +03:00
a
161bd8da33 * fix a bug when displaying progress notifications where the achieved icon was shown instead of the gray/locked one
* don't save/cache the achievement icon handle to allow lazy loading
* make the test achievement load either locked or unlocked icon randomly
* don't attempt to load the icon more than once
2024-08-18 05:02:20 +03:00
a
9ba2b1f04b fix a deadlock scenario in the overlay 2024-08-18 05:02:06 +03:00
a
6c78d51240 don't check for ready flag in networking callback, save the chat message and exit, when the ovrlay is ready it will display it 2024-08-18 05:01:59 +03:00
a
917eea288a don't load achievements icons in the overlay, already done in steam_user_stats 2024-08-18 05:01:53 +03:00
a
f581a892eb in the overlay, use the achievement icon handle directly instead of the icon filepath to load the icon resource 2024-08-18 05:00:34 +03:00
a
7e768c73fe deprecate searching for achievements icons in "achievement_images" folder when loading overlay icons 2024-08-18 05:00:06 +03:00
a
80bc1e2490 remove unused vulkan headers 2024-08-18 04:59:42 +03:00
otavepto
21cab8b378 compare language case-insensitive in overlay 2024-06-30 03:18:39 +03:00
qingchun
a423c4519d Remove Chinese translation spaces 2024-06-24 17:39:28 +03:00
qingchun
f61a2a48fe Update Chinese steam overlay translations 2024-06-24 17:39:28 +03:00
otavepto
b97f6fe97d print debug overlay args of Steam_Overlay::AddAchievementNotification() 2024-06-23 19:16:44 +03:00
otavepto
2bea12e199 display & save progress/max_progress as uint32 2024-06-23 19:16:44 +03:00
otavepto
d30a5bf081 use the dynamic notifications timing 2024-06-20 21:49:22 +03:00
otavepto
6653f91e88 set window size/pos at the relevant place, each window sets its own 2024-06-20 21:49:22 +03:00
otavepto
f29bde9551 show warning once + remove useless flag 2024-06-20 21:49:22 +03:00
otavepto
0f878aec4b MY EYES! 2024-06-20 02:57:39 +03:00
otavepto
00a9a34aab that was the reason for crashing on exit?! 2024-06-20 01:24:06 +03:00
otavepto
a48637dead just to be safe set overlay hook to empty func on exit 2024-06-20 00:36:04 +03:00
otavepto
d4deaef242 fix that mistake, we need the notification message/string to calc height dynamically 2024-06-19 15:09:19 +03:00
otavepto
9e15af4ec8 fix the conditions for progress indication + remove invalid code when resetting stats 2024-06-19 15:09:19 +03:00
otavepto
783f32c179 rename this file to .txt instead of .src 2024-06-16 19:09:01 +03:00
otavepto
f54eb15ebb that minor optimization! 2024-06-08 18:03:22 +03:00
otavepto
b89dfe6e44 don't exit early in Steam_Overlay::AddAchievementNotification(), allow the function to update the data but avoid posting notifications if not needed 2024-06-07 19:52:31 +03:00
otavepto
662a025a38 fix missing arg 2024-06-06 23:19:13 +03:00
otavepto
9ee40181b1 * allow test achievement to include a progress randomly
* allow showing the progress indicator in the achievement notifications, not only in the achievements list
* don't play sound when showing progress notifications
* disable progress notifications if the setting in the .ini was set
2024-06-06 23:19:13 +03:00
otavepto
7203e320ab separate function to apply color styles 2024-06-06 23:19:13 +03:00
otavepto
7201ac40b1 * add new button to the overlay "toggle user info" to show/hide user info + make it hidden by default
* make all popups toggleable, clicking the button another time will show or hide the popup depending on its last state
* reorder the placement of buttons
2024-06-06 23:19:13 +03:00
otavepto
5268683850 * make the overlay object oriented, that way when app shutdown then re-init steam api it would hold its own local state, avoiding racing troubles
* return early if the overlay was disabled without locking
* remove external checks for the disable_overlay flag, check for it inside the overlay code
2024-06-04 21:58:04 +03:00
otavepto
ba1de0165d refactor steam_client a little + create setters/getters instead of directly modifying fields 2024-06-02 05:16:22 +03:00
otavepto
765f3f210c const ref string instead of copy 2024-05-22 23:08:56 +03:00
schmurger
14374c8290 Fixed build 2024-05-21 19:29:20 +03:00
schmurger
4ae4e88627 Formatting fixes 2024-05-21 19:29:20 +03:00
schmurger
e30cc2957f Removed update_achievement_progress function 2024-05-21 19:29:20 +03:00
schmurger
6b26ca1b4c Fix build 2024-05-21 19:29:20 +03:00
schmurger
b0cffd485b Added realtime progress update 2024-05-21 19:29:20 +03:00
schmurger
4e8f2505b5 Add achievement progress 2024-05-21 19:29:20 +03:00
otavepto
27a8bba702 * corrected callbacks vs call results + a missing callback in UGC
* another missed spam in overlay
2024-05-07 06:22:34 +03:00
otavepto
6fbc37630b * special function for the overlay Steam_Friends::get_friend_rich_presence_silent to avoid spamming the debug log
* refactor private method name
2024-05-06 21:29:59 +03:00
otavepto
57a63dd7c9 add support for indonesian lang in the overlay + remove duplication 2024-05-03 03:38:46 +03:00
otavepto
e5d1a8bda7 separate .h/.cpp files 2024-05-03 03:33:46 +03:00
Clompress
0293ac9d45 Update Turkish translate 2024-05-02 12:19:52 +03:00
otavepto
6e4c42410c * added 2 new options to the overlay appearance Notification_Margin_x and Notification_Margin_y
* updated the built-in overlay appearance & the example overlay ini file with a darker look and feel + changed some defaults
2024-04-30 08:38:38 +03:00
otavepto
9f1e09b97a * fix the animation timing, the notification start_time must be in millisec to avoid losing precision
* convert the animation duration to millisec once during settings parsing
* decrease the notification margin from 10.0 to 5.0, it looked way shifted on larger screens
* pass around instances on std::chrono instead of float, use float in the final stage when processing/operating-on the time (if needed)
* decrease the animation duration to 0.35 sec, looks more swishy!
2024-04-28 10:30:01 +03:00
schmurger
2eab708bb6 Added configuration for notification animation duration 2024-04-28 10:30:01 +03:00
schmurger
6f0eea3a10 Formatting fixes 2024-04-28 10:30:01 +03:00