Commit graph

246 commits

Author SHA1 Message Date
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
Rémi Bernon
99e5c542c0 lsteamclient: Generate functions with calling convention.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
fb4497a377 lsteamclient: Use standard fixed size integer types.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
07e95d32c1 lsteamclient: Use integer types instead of enums.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
312c50426b lsteamclient: Use SOURCES instead of C(XX)_SRCS. 2023-12-19 19:42:15 +01:00
Rémi Bernon
fb8548e79f lsteamclient: Wrap parameters in structures.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
4852a1bfdd lsteamclient: Simplify unix side parameter conversions.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
26174adf32 lsteamclient: Allocate memory for every path conversion.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
80104ca5d9 lsteamclient: Simplify path convertion using separate dicts.
CW-Bug-Id: #22729
2023-12-19 19:42:15 +01:00
Rémi Bernon
259895dcf3 lsteamclient: Use a generic interface wrapper struct.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
338ec9aa0a lsteamclient: Use with statement to generate the .c files.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
48eebd5c23 lsteamclient: Generate the .h and .cpp files separately.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00
Rémi Bernon
47ae1fde89 lsteamclient: Pass write function as parameter to handle_method*.
CW-Bug-Id: #22729
2023-12-19 19:42:14 +01:00