Commit Graph

599 Commits

Author SHA1 Message Date
schmurger
7b37cdd181 Use integer instead of floats for achievement progress. 2024-05-21 19:29:20 +03:00
schmurger
5aa1e2d08d Initialize user achievement stats correctly 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
fd522b36c9 fix usage of uninit var 2024-05-17 13:53:16 +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
otavepto
efbd091a80 Revert all fake changes 2024-05-11 17:38:32 +03:00
otavepto
a65d6852ad simulate any change 2024-05-11 17:38:32 +03:00
Detanup01
c477a031ac steam screenshot 2024-05-10 19:43:03 +03:00
Detanup01
a01c35187d note on interface versions 2024-05-10 19:15:27 +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
f660b29100 decrease this spam debug message 2024-05-06 21:16:45 +03:00
otavepto
d662d0ec8e initialize all temp pointers to null 2024-05-05 17:20:18 +03:00
otavepto
e92bf25f02 more missed c-style casts, no more (void*) casts are left 2024-05-05 17:20:18 +03:00
otavepto
856449597e print k_iCallback for call result and call complete 2024-05-05 17:20:18 +03:00
otavepto
86fbd21ec0 reduce this annoying spam 2024-05-05 17:20:18 +03:00
otavepto
2ede507e96 * refactor Steam_Client class implementation, by moving all interfaces getters into a separate .cpp file
* use C++ casts instead of C-Style casts, allowing the compiler to throw errors for invalid usages/casts
2024-05-05 17:20:18 +03:00
otavepto
60e003a925 added missing inheritance from interface ISteamUser022 to the class Steam_User 2024-05-05 17:20:18 +03:00
otavepto
06c2bfd0a3 lots of comments and notes in the callsystem 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
Detanup01
5e4eafd6fb ) bonus removed 2024-04-29 22:52:33 +03:00
Detanup01
5d3a749fe1 Fix allocating the size for the ticket. 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
1b07a290f2 some logs 2024-04-27 01:52:17 +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
12fe4b9796 minor formatting fix 2024-04-24 19:52:05 +02:00
schmurger
d0193b953d Improve achievement notification 2024-04-24 19:52:05 +02:00
otavepto
36ccb0b34c fixed the behavior of local save + prevent loading global settings/configs in that case for a true portable behavior 2024-04-23 05:03:39 +02:00
otavepto
ad07ff0fb1 revert the changes to the old steam interfaces parser 2024-04-23 04:58:36 +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
otavepto
48373bfc88 make the preowned IDs opt-out option 2024-04-21 21:33:08 +02:00
otavepto
65147c22b9 small note and refactor 2024-04-21 00:41:59 +02:00
otavepto
d8f9741459 revert the changes to Steam_Apps::BIsAppInstalled(), not it will return true for owned DLCs 2024-04-20 19:30:29 +02:00
otavepto
2bde7e4eba disable friend avatar functionality by default + new option to enable it 2024-04-20 19:29:54 +02:00
otavepto
3fab2f39b1 fixed a bug in the flag which enables the overlay + added missing settings file + some refactoring 2024-04-20 19:28:50 +02:00
otavepto
ed3d2cfc44 new option add_steam_preowned_ids to unlock pre-owned Steam Apps 2024-04-20 19:26:55 +02:00