258 Commits

Author SHA1 Message Date
Rémi Bernon
3bf7e4d032 lsteamclient: Copy the ServerResponded parameter for delayed callbacks.
CW-Bug-Id: #23272
2024-01-19 11:50:24 +01:00
Rémi Bernon
f8abffb6ba lsteamclient: Copy the m_hSteamUser member in callback_message_utow. 2024-01-17 22:23:37 +01:00
Rémi Bernon
a75d6e0a1a lsteamclient: Execute any pending callback before ReleaseRequest.
CW-Bug-Id: #22729
2024-01-09 18:35:23 +01:00
Paul Gofman
e4ccddf6f6 lsteamclient: Clear last error in create_win_interface().
CW-Bug-Id: #23178
2024-01-08 21:15:41 -06:00
Rémi Bernon
c05369a081 lsteamclient: Avoid accessing entry->callback.size after free.
Fixes a crash in Space Engineers.

CW-Bug-Id: #23145
2023-12-19 19:42:18 +01:00
Paul Gofman
84fe3c027c lsteamclient: Use GetEnvironmentVariableW() in load_steamclient().
CW-Bug-Id: #23142
2023-12-19 19:42:18 +01:00
Rémi Bernon
32641d374e lsteamclient: Add missing break in ISteamNetworkingUtils_SetConfigValue switch.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
c5f920a90b lsteamclient: Default calling convention is cdecl.
CW-Bug-Id: #22729
CW-Bug-Id: #23085
2023-12-19 19:42:18 +01:00
Rémi Bernon
f725904fb9 lsteamclient: Make sure the param structs are consistently aligned.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
1af930b705 lsteamclient: Use int8_t instead of ambiguous sized bool.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
ec20e7d093 lsteamclient: Queue callback for input EnableActionEventCallbacks functions.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
2f14328a6d lsteamclient: Queue callback for networking SetConfigValue functions.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
d1645624de lsteamclient: Use unix callbacks for custom client classes.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
28ed69fd16 lsteamclient: Move callback function handling to unixlib.cpp.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
9e707b991e lsteamclient: Add traces to path conversion helpers.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
595e757966 lsteamclient: Move unix to dos path conversions to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:18 +01:00
Rémi Bernon
979c06ad9b lsteamclient: Move dos to unix path conversion to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
c048098214 lsteamclient: Use unixlib interface for C API functions.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
9f18df0a25 lsteamclient: Generate unixlib interface in unixlib_generated.h.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
4784354d62 lsteamclient: Generate C++ interfaces in unix_private_generated.h.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
d21ac63d68 lsteamclient: Move manual_convert_nNativeKeyCode to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
2fcfbf17fe lsteamclient: Update cxx.h to latest msvcp90 version.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
f82892694a lsteamclient: Move unix library loading to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
c78594d32c lsteamclient: Generate iface constructor lookup function.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
4e322598b0 lsteamclient: Use the new converters for Steam_BGetCallback.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
6a5d5757ca lsteamclient: Generate callback wrappers with the new structs.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
e77b78a2c1 lsteamclient: Execute debug callbacks from within Steam_BGetCallback.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
7f5533a34d lsteamclient: Remove now unused steamclient_manual_common.cpp.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
d570a2cba7 lsteamclient: Rewrite SteamNetworkingMessage_t_153a unix thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
dfa7d6e712 lsteamclient: Rewrite SteamNetworkingMessage_t_147 unix thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
9e695da972 lsteamclient: Rewrite SteamNetworkingMessage_t_144 unix thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
1095425c3c lsteamclient: Use manual methods for glyphs path return.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
0ea572bd4c lsteamclient: Move ISteamInput and ISteamController manual thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:17 +01:00
Rémi Bernon
d12d18e87c lsteamclient: Move ISteamNetworkingFakeUDPPort creation / destroy to the PE side.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
1cf15635ac lsteamclient: Use manual methods instead of codegen for callbacks.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
fce62d2dfd lsteamclient: Use manual method wrapper instead of post-exec.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
4092684400 lsteamclient: Simplify manual method description.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
eb1a12c85c lsteamclient: Use the new structures in thunks.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
444a139150 lsteamclient: Move the client wrapper creation to the unix side.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
11cf15ee6a lsteamclient: Generate wtou / utow struct conversion helpers.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
8b8d4769ef lsteamclient: Generate struct definitions for all abis.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
79495ea28b lsteamclient: Classify struct compatibility over SDK versions.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
683d7bd14e lsteamclient: Use Struct and Field class for conversions.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
1c2efdff99 lsteamclient: Introduce new Struct generator class.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
910f149a04 lsteamclient: Generate function types with ABI attributes.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
2a2fb338d2 lsteamclient: Use the generated interfaces in the manual converters.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
9da6e6851f lsteamclient: Fixup ISteamUser_SteamUser_InitiateGameConnection directly.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
acb9c7a193 lsteamclient: Generate linux interface structs.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
afd189d1f6 lsteamclient: Remove unnecessary typedefs.
CW-Bug-Id: #22729
2023-12-19 19:42:16 +01:00
Rémi Bernon
5cb7e98820 lsteamclient: Get rid of the remaining steam typedefs.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00