Commit graph

81 commits

Author SHA1 Message Date
Andrew Eikum
22354ec32f lsteamclient: Restore some 64-bit struct layout conversions 2019-06-27 09:00:59 -05:00
Andrew Eikum
54bbd1093b lsteamclient: Convert file: URLs 2019-06-18 13:00:19 -05:00
Andrew Eikum
5b674f087a lsteamclient: Convert windows VK to xkeysym 2019-06-18 13:00:19 -05:00
Andrew Eikum
6540e58078 lsteamclient: Also check struct layouts in 64-bit 2019-06-18 13:00:19 -05:00
Andrew Eikum
381ab5f3dc lsteamclient: Explicitly specify alignment of sub-structs
SteamNetConnectionInfo_t has 8-byte alignment on win32, but 4-byte on
Linux. Since we use the same struct on each in lsteamclient,
winSteamNetConnectionStatusChangedCallback_t_712's members would
incorrectly be aligned to 4-byte boundaries.
2019-06-05 10:21:33 -05:00
Andrew Eikum
5ed5cbf286 lsteamclient: Fix SteamNetConnectionStatusChangedCallback_t conversion
It was declared inside an extern "C" block in the SDK, which for some
reason cindex doesn't include.
2019-06-05 10:21:32 -05:00
Andrew Eikum
6195cb8a0a lsteamclient: Add a manual override for the cpp side of the new networking API 2019-06-05 10:21:32 -05:00
Andrew Eikum
81e8d149f3 lsteamclient: Fix new network wrapper 2019-06-05 10:21:32 -05:00
Stefan Dösinger
eba2a821a7 Include <limits.h> instead of <linux/limits.h>. 2019-05-22 14:49:44 -05:00
Andrew Eikum
197f25db04 lsteamclient: wrap FSteamNetworkingSocketsDebugOutput 2019-05-17 15:10:50 -05:00
Andrew Eikum
aa4c6fcc22 lsteamclient: Add ISteamGameSearch support 2019-05-17 10:50:22 -05:00
Andrew Eikum
e94250ae57 lsteamclient: Add ISteamNetworkingUtils support 2019-05-17 10:50:20 -05:00
Andrew Eikum
649421bf26 lsteamclient: Add ISteamNetworkingSockets support 2019-05-17 10:50:16 -05:00
Andrew Eikum
528d5d26cf lsteamclient: Add steamworks sdk 1.44 support 2019-05-17 10:50:12 -05:00
Andrew Eikum
318a9df7a9 lsteamclient: Support ISteamInput 2019-03-07 07:45:44 -06:00
Andrew Eikum
f6c12f6333 lsteamclient: Support ISteamParties 2019-03-07 07:45:44 -06:00
Andrew Eikum
4880c3b3ab lsteamclient: Make Windows-side struct definitions available to C files 2019-03-07 07:45:44 -06:00
Andrew Eikum
2054bb97a9 lsteamclient: Import SDK version 1.43 2019-03-07 07:45:44 -06:00
Andrew Eikum
ee7717eed1 lsteamclient: Fix up compiler warning 2019-03-07 07:45:44 -06:00
Andrew Eikum
358e8a7c42 lsteamclient: Synthesize another unreleased SDK
For SteamNetworkingSocketsSerialized003.
2019-03-07 07:45:44 -06:00
Andrew Eikum
bdca0aa9c9 lsteamclient: Support SteamGameStats001 2019-02-18 14:28:07 -06:00
Duncan Ogilvie
01c0124bde Fix stdcall parameter size computation
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
2019-02-14 08:32:39 -06:00
Andrew Eikum
a14f231bd1 lsteamclient: Implement old version of ISteamMatchmakingServerListResponse 2019-02-14 08:32:39 -06:00
Andrew Eikum
10a04c2c4f lsteamclient: SteamApps001 is an alias for STEAMAPPS_INTERFACE_VERSION001 2019-02-14 08:32:39 -06:00
Andrew Eikum
0411076dce lsteamclient: Synthesize SDK version 0.99u
For SteamUser004.
2019-02-14 08:32:39 -06:00
Andrew Eikum
6957729897 lsteamclient: Synthesize SDK version 0.99v
For SteamUser005.
2019-02-14 08:32:39 -06:00
Andrew Eikum
9ddc3052b6 lsteamclient: Synthesize SDK version 0.99w
For SteamUser006.
2019-02-14 08:32:39 -06:00
Andrew Eikum
7c16226c51 lsteamclient: Synthesize an unreleased SDK
For SteamNetworkingSocketsSerialized002.
2019-02-14 08:32:39 -06:00
Andrew Eikum
63bf1c0d39 lsteamclient: Forward SteamGameServer007 and 006 to 008 2019-02-14 08:32:39 -06:00
Andrew Eikum
164490165d lsteamclient: Synthesize SDK version 0.99x
For SteamFriends001, SteamGameServer002, SteamUser007, and
STEAMUSERSTATS_INTERFACE_VERSION001.
2019-02-14 08:32:39 -06:00
Andrew Eikum
7008e8bf21 lsteamclient: Synthesize SDK version 0.99y
For SteamClient006, SteamFriends002, SteamGameServer003,
SteamMatchMaking001, STEAMUSERSTATS_INTERFACE_VERSION002, and
SteamUser008.
2019-02-14 08:32:39 -06:00
Andrew Eikum
d3dd51b542 lsteamclient: Synthesize SDK version 1.01x
For SteamMatchMaking003.
2019-02-14 08:32:39 -06:00
Andrew Eikum
bed527de86 lsteamclient: Synthesize SDK version 1.02x
For SteamMatchMaking005 and STEAMREMOTESTORAGE_INTERFACE_VERSION001.
2019-02-14 08:32:39 -06:00
Andrew Eikum
e0ddf0fc28 lsteamclient: Synthesize SDK version 1.11x
For STEAMREMOTESTORAGE_INTERFACE_VERSION003 and
STEAMUSERSTATS_INTERFACE_VERSION008.
2019-02-14 08:32:39 -06:00
Andrew Eikum
9f60ff6603 lsteamclient: Synthesize SDK version 1.12x
For SteamUser015.
2019-02-14 08:32:39 -06:00
Andrew Eikum
96fe29ba03 lsteamclient: Synthesize SDK version 1.16x
For SteamFriends010.
2019-02-14 08:32:39 -06:00
Andrew Eikum
98c51ad7a5 lsteamclient: Synthesize SDK version 1.19x
For STEAMREMOTESTORAGE_INTERFACE_VERSION007 and SteamFriends012.
2019-02-14 08:32:39 -06:00
Andrew Eikum
f3c4547fc7 lsteamclient: Synthesize SDK version 1.21x
For STEAMREMOTESTORAGE_INTERFACE_VERSION009.
2019-02-14 08:32:39 -06:00
Andrew Eikum
bf1fea6219 lsteamclient: Synthesize SDK verison 1.28x
For SteamClient013.
2019-02-14 08:32:39 -06:00
Andrew Eikum
3f02f0611d lsteamclient: Synthesize SDK version 1.30x
For STEAMHTMLSURFACE_INTERFACE_VERSION_001.
2019-02-14 08:32:39 -06:00
Andrew Eikum
73b03443ea lsteamclient: Synthesize SDK version 1.32x
For STEAMUGC_INTERFACE_VERSION004.
2019-02-14 08:32:39 -06:00
Andrew Eikum
62644cfefc lsteamclient: Synthesize SDK version 1.33x
For STEAMUGC_INTERFACE_VERSION006.
2019-02-14 08:32:39 -06:00
Andrew Eikum
e1be52a909 lsteamclient: Forward SteamUtils interfaces 2019-02-14 08:32:39 -06:00
Pierre-Loup A. Griffais
4fb4c52acc steamclient: resolve symlinks to steamclient.so before loading it
Downstream code inside of it will use dladdr() to get path to its own code,
in order to infer the runtime Steam installation path from it. Currently,
it only gets the path to the canonical symlinks that point to it.
2019-02-13 10:16:38 -06:00
Zhiyi Zhang
4b9b8547e6 steamclient: Fix possible crash.
Fix a regression caused by a8968fe.

https://github.com/ValveSoftware/Proton/issues/2131

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2019-01-15 09:07:23 -06:00
Andrew Eikum
c74de6a23b steamclient: Fix up converting stringlist 2018-12-12 09:59:37 -06:00
Nikolay Sivov
13c0570212 steamclient: Use correct codepage for W -> A conversion.
At this point it's already windows path and it does not cross back to Linux side:

Unix -> CP_UNIXCP -> dosW -> CP_ACP -> dosA.
2018-12-10 14:51:00 -06:00
Nikolay Sivov
bd1e1c3005 steamclient: Do not overwrite output buffer too early. 2018-12-10 14:51:00 -06:00
Andrew Eikum
dcd5907f59 lsteamclient: For relative paths, only fix up backslashes 2018-11-30 08:52:48 -06:00
Andrew Eikum
a8968fe30a Perform conversion between more lin/win paths 2018-11-30 08:52:48 -06:00