Commit Graph

611 Commits

Author SHA1 Message Date
otavepto
9289cc9528 add missing functions (SDK) defs for msys2 (GNU/Windows) on windows 2024-06-02 05:15:45 +03:00
otavepto
10f1e89736 fix a buffer overrun in Steam_User_Stats::UpdateAvgRateStat 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
Detanup01
1fde9f21f1 addrsize fix on network 2024-05-27 23:24:38 +03:00
Detanup01
e4f488bbdc Fix errrors in network.
(linux and windows C++ things arent the same [I HATE BOTH OF YOU WHY NOT STANDARDIZE!])
revert "&" checks on type instead of "=="
2024-05-27 23:24:38 +03:00
Detanup01
7c5b4e5325 Its done
(only left like the >or < comparision with unsigned/signed)
steam_matchmaking.cpp(241,40) has C4244 issue, look into it!
2024-05-27 23:24:38 +03:00
Detanup01
3a6a7cef73 more stuff 2024-05-27 23:24:38 +03:00
Detanup01
6a464fd295 fixing some errors via types
(might ebe worng)
2024-05-27 23:24:38 +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
7b3b9f89ee fix compilation when gnu++17 c++ variant is used on linux 2024-05-21 23:38:22 +03:00
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