otavepto
e03ed9e1cd
separate header file for OS detection
2024-06-30 03:18:39 +03:00
otavepto
e35e2e5a4e
compare language value of steam_settings/achievements.json case-insensitive
2024-06-30 03:18:39 +03:00
otavepto
4b49edbf5e
improve usage of std::string_view, passing them as const ref is useless since they don't allocated anything and cheap to copy (no allocations)
2024-06-30 03:18:39 +03:00
otavepto
02432c7f8f
fix that comment
2024-06-23 19:16:44 +03:00
otavepto
6ee0628750
add a new option save_only_higher_stat_achievement_progress
and enable it by default toa void progress spam from stats which are tied to an achievement
2024-06-23 19:16:44 +03:00
otavepto
de03379602
add an option to allow the game to change unknown stats
2024-06-23 19:16:44 +03:00
otavepto
b67cb48f38
change default notification duration
2024-06-21 21:53:53 +03:00
otavepto
fcb40ac86d
allow specifying durations for each notification type
2024-06-20 21:49:22 +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
706422661a
wrap proto includes to avoid build warnings
2024-06-16 19:09:01 +03:00
otavepto
eb78b5bf0b
wrap mbedtls includes to avoid build warnings
2024-06-16 19:09:01 +03:00
otavepto
3bc609c9a3
move gamepad to libs/
2024-06-16 19:09:01 +03:00
otavepto
d1d5416d62
implement isteamgamestats
2024-06-16 19:08:44 +03:00
Detanup01
65521debe6
fix those requests
2024-06-14 19:10:12 +03:00
Detanup01
4390cc1616
isteamvideo001 interface added
2024-06-14 19:10:12 +03:00
otavepto
b75b5ee282
exit on missing interface instead of returning a pointer
2024-06-08 16:14:12 +03:00
otavepto
f2e9062242
refactor the PRINT_DEBUG, only one definition, and make the function name macro public
2024-06-07 20:20:41 +03:00
otavepto
f7c7d79e0a
restore accidentally removed flag for ipv6 for SteamClient020 + VS warning fix + small refactor
2024-06-07 19:55:30 +03:00
otavepto
663f1a9350
new option to disable overlay progress notifications
2024-06-06 23:19:13 +03:00
otavepto
f81ba95732
* common helper for killable threads + remove dedicated class for background thread
...
* avoid overriding SteamPath env var in `SteamAPI_GetSteamInstallPath()`
2024-06-04 21:58:04 +03:00
otavepto
86eb8aa2d0
refactor background thread into a separate .cpp file
2024-06-02 05:16:22 +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
cae3e5617f
added a way to pretty-print functions for MinGw
2024-06-02 05:15:45 +03:00
otavepto
d2ee753b78
win32_lean_and_mean
2024-06-02 05:15:45 +03:00
otavepto
e38172dc1b
fix steamclient_experimental compilation with mingw
2024-06-02 05:15:45 +03:00
otavepto
9289cc9528
add missing functions (SDK) defs for msys2 (GNU/Windows) on windows
2024-06-02 05:15:45 +03:00
otavepto
36943fbfe6
trial to see if this dummy implementation will fix msys2 compilation on windows
2024-06-02 05:15:45 +03:00
otavepto
77c2d76bb2
fix inverted condition resulting in a missing import for the api dll
2024-06-01 02:19:42 +03:00
otavepto
6c1ea7edd5
solve compile error due to usage of microsoft-specific constructor when building on win with msys2
2024-05-22 05:29:20 +03:00
otavepto
1f51518734
use the macro extension ##__VA_ARGS on windows to allow gcc compilation via msys2
2024-05-22 03:27:47 +03:00
otavepto
f2579ee7f8
nah screw it
2024-05-12 19:38:16 +03:00
otavepto
8e73e0c516
todo note to detect macos during build
2024-05-12 05:33:23 +03:00
otavepto
25043697c3
ensure GNUC is defined for linux builds + warn for unrecognized os
2024-05-12 05:03:56 +03:00
Detanup01
c477a031ac
steam screenshot
2024-05-10 19:43:03 +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
60e003a925
added missing inheritance from interface ISteamUser022
to the class Steam_User
2024-05-05 17:20:18 +03:00
otavepto
e5d1a8bda7
separate .h/.cpp files
2024-05-03 03:33:46 +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
5cd5f814e6
* use corresponding steam types for auth functions
...
* corrected the ticket size in `Auth_Manager::getWebApiTicket`
2024-04-30 00:26:43 +03:00
Detanup01
d6a4b7f0ba
no more copy if the size is bigger than the ticket
2024-04-29 22:52:33 +03:00
Detanup01
be42ac9b13
Checking if its bigger than max
...
and returning 0 if it is
2024-04-29 22:52:33 +03:00
otavepto
e2980d100e
* use std::filesystem::u8path to support utf-8
...
* don't sanitize paths in settings_parser since it removes the colon ':', preventing the usage of absolute paths on Windows like 'C:\aa\bb'
2024-04-28 19:44:56 +03:00
otavepto
303cdd2878
* don't merge steam preowned ids with user dlc list or installed apps list
...
* disable steam preowned ids by default and make it an opt-in option
* deprecate `disable_steam_preowned_ids` in favor of `enable_steam_preowned_ids`
2024-04-28 19:44:10 +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
otavepto
21cce304e8
* revert the changes to the notifications heights + calculate all notifications heights dynamically
...
* added a new button to the overlay `"Test achievement"` which triggeres a test achievement
* added a new overlay appearance option `Achievement_Unlock_Datetime_Format` which allows changing the date/time format of the unlocked achievements
* removed the condition which disabled the overlay sounds when it is shown
2024-04-25 03:17:36 +02:00
schmurger
d0193b953d
Improve achievement notification
2024-04-24 19:52:05 +02:00
otavepto
6b71752fc0
don't bypass local_storage when saving .ini files in settings_parser
2024-04-23 02:16:02 +02:00
otavepto
68a65696e5
don't use global appdata path in matchmaking + matchmaking_servers, instead used current/active save directory, in case we're using local_save_path
2024-04-23 02:16:02 +02:00
otavepto
3dc17a8bc4
ability to get global settings files size + current user save path in local_storage, needed in case we are now using a custom local_save_path
2024-04-23 02:16:02 +02:00