Commit Graph

621 Commits

Author SHA1 Message Date
otavepto
e63dcc8811 do a sanity check when shutting down, some apps despite being a regular client (not a gameserver) will still call gameserver_shutdown() 2024-06-02 05:16:22 +03:00
otavepto
4333808646 also delete background thread instance! 2024-06-02 05:16:22 +03:00
otavepto
8022fc04f4 reduce code for deleting steamclient instances 2024-06-02 05:16:22 +03:00
otavepto
545bbd17da spawn the background thread for gameservers as well 2024-06-02 05:16:22 +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
5da9e44344 static_cast instance getter vs c-style cast 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
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