Commit Graph

108 Commits

Author SHA1 Message Date
Giovanni Mascellani
e5c634ce0b Silence expected and harmless errors 2020-12-01 14:54:06 -06:00
Giovanni Mascellani
16992af05c Port gen_wrapper.py to Python 3
Basically the only issue left out is that Python3 is much more picky
on file encoding, and some Valve headers are not UTF-8. Ignoring
errors is enough to get everything fixed.
2020-12-01 14:54:06 -06:00
Giovanni Mascellani
04af5e3d79 Sort callback tables by id
This way the generated file is more deterministic, and hopefully less
irrelevant diff is produced (for example when switching from Python 2
to Python 3, or when adding more callbacks that cause rehashing the
dictionary).
2020-12-01 14:54:06 -06:00
Giovanni Mascellani
c559773d00 lsteamclient: Allow callbacks to be NULL
Steamworks API seems to accept NULL callbacks, simply avoiding to call
them when this is the case.
2020-11-09 13:43:05 -06:00
Paul Gofman
4f31b3b2b8 lsteamclient: Fix end of string check in relative path conversion. 2020-11-09 13:43:05 -06:00
Andrew Eikum
8bb3afc9a2 lsteamclient: Handle callbacks for ISteamNetworking interfaces 2020-10-02 14:22:48 -05:00
Andrew Eikum
30c21636c5 lsteamclient: support ISteamNetworkingMessages 2020-10-02 14:22:44 -05:00
Andrew Eikum
f22095c745 lsteamclient: generate 1.50 support 2020-10-02 14:22:39 -05:00
Andrew Eikum
5cec5eedc7 lsteamclient: import steamworks 1.50 2020-10-02 14:22:35 -05:00
Andrew Eikum
c0aa7979a3 steamclient: Generate support for steamworks 1.49 2020-09-29 14:29:06 -05:00
Andrew Eikum
ac86122f28 steamclient: Import steamworks sdk 1.49 2020-09-29 14:29:06 -05:00
Rémi Bernon
6a9e719119 lsteamclient: Stub GameOverlayRenderer entry points. 2020-09-29 14:29:06 -05:00
Andrew Eikum
7d444028c3 update wine to 5.13 2020-09-29 14:29:05 -05:00
Andrew Eikum
a853ce145d lsteamclient: Import steamworks 1.48a and fix up networkingsockets versions 2020-06-05 08:58:23 -05:00
Andrew Eikum
18e235f96b lsteamclient: Sync environment only once 2020-03-18 13:49:55 -05:00
Derek Lesho
a33e3d105d lsteamclient: Sync important environment variables before calling CreateInterface. 2020-03-09 10:03:54 -05:00
Rémi Bernon
c6cead45dc lsteamclient: Reallocate new interface only when linux_side changes.
This fixes Batman: AK's Denuvo DRM incorrectly flagging the game as
pirated.
2020-02-24 09:33:55 -06:00
Andrew Eikum
1bfc03a2c5 steamclient: generate 1.47 support 2020-01-10 07:49:46 -06:00
Andrew Eikum
a2317ff230 steamclient: Clean up 1.47 for generating 2020-01-10 07:49:46 -06:00
Andrew Eikum
03ed34405a steamclient: import steamworks 1.47 2020-01-10 07:49:45 -06:00
Andrew Eikum
63e14b5678 lsteamclient: Preserve command-line cdecl macro 2019-08-23 09:57:46 -05:00
Andrew Eikum
19ece0270b lsteamclient: Support ISteamRemotePlay 2019-08-23 09:57:46 -05:00
Andrew Eikum
19b53264bd lsteamclient: Generate 1.46 support 2019-08-23 09:57:46 -05:00
Andrew Eikum
35752dadb6 lsteamclient: Generate 1.45 support 2019-08-23 09:57:46 -05:00
Andrew Eikum
7aa1b840d9 lsteamclient: Import steamworks 1.45 and 1.46 2019-08-23 09:57:46 -05:00
Andrew Eikum
80465e2a7d lsteamclient: Fix SteamAPI_CheckCallbackRegistered_t calling convention 2019-08-23 09:57:46 -05:00
Andrew Eikum
abfb04f8cc lsteamclient: Fix debug printing 2019-08-23 09:57:46 -05:00
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