Skip to content

Commit

Permalink
lsteamclient: Generate SteamWorks SDK 1.59 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyl committed Mar 22, 2024
1 parent c17db0b commit 4341729
Show file tree
Hide file tree
Showing 57 changed files with 19,258 additions and 343 deletions.
1 change: 1 addition & 0 deletions lsteamclient/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ SOURCES = \
cppISteamClient_SteamClient018.cpp \
cppISteamClient_SteamClient019.cpp \
cppISteamClient_SteamClient020.cpp \
cppISteamClient_SteamClient021.cpp \
cppISteamController_SteamController003.cpp \
cppISteamController_SteamController004.cpp \
cppISteamController_SteamController005.cpp \
Expand Down
322 changes: 322 additions & 0 deletions lsteamclient/cppISteamClient_SteamClient021.cpp

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions lsteamclient/cppISteamUtils_SteamUtils010.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,11 @@ NTSTATUS ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( void *args )
return 0;
}

NTSTATUS ISteamUtils_SteamUtils010_DismissGamepadTextInput( void *args )
{
struct ISteamUtils_SteamUtils010_DismissGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils010_DismissGamepadTextInput_params *)args;
struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side;
params->_ret = iface->DismissGamepadTextInput( );
return 0;
}

1 change: 1 addition & 0 deletions lsteamclient/gen_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import re

SDK_VERSIONS = [
"159",
"158",
"157",
"156",
Expand Down
1 change: 1 addition & 0 deletions lsteamclient/steamclient_generated.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ static const struct { const char *iface_version; iface_constructor ctor; } const
{"SteamClient018", &create_winISteamClient_SteamClient018},
{"SteamClient019", &create_winISteamClient_SteamClient019},
{"SteamClient020", &create_winISteamClient_SteamClient020},
{"SteamClient021", &create_winISteamClient_SteamClient021},
{"SteamController003", &create_winISteamController_SteamController003},
{"SteamController004", &create_winISteamController_SteamController004},
{"SteamController005", &create_winISteamController_SteamController005},
Expand Down
1 change: 1 addition & 0 deletions lsteamclient/steamclient_generated.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ extern struct w_steam_iface *create_winISteamClient_SteamClient017(void *);
extern struct w_steam_iface *create_winISteamClient_SteamClient018(void *);
extern struct w_steam_iface *create_winISteamClient_SteamClient019(void *);
extern struct w_steam_iface *create_winISteamClient_SteamClient020(void *);
extern struct w_steam_iface *create_winISteamClient_SteamClient021(void *);
extern struct w_steam_iface *create_winISteamController_SteamController003(void *);
extern struct w_steam_iface *create_winISteamController_SteamController004(void *);
extern struct w_steam_iface *create_winISteamController_SteamController005(void *);
Expand Down
68 changes: 34 additions & 34 deletions lsteamclient/steamclient_structs_generated.h
Original file line number Diff line number Diff line change
Expand Up @@ -2359,6 +2359,10 @@ typedef struct u64_AddUGCDependencyResult_t u64_AddUGCDependencyResult_t;
typedef struct w64_AddUGCDependencyResult_t w64_AddUGCDependencyResult_t;
typedef struct u32_AddUGCDependencyResult_t u32_AddUGCDependencyResult_t;
typedef struct w32_AddUGCDependencyResult_t w32_AddUGCDependencyResult_t;
typedef struct w64_CSteamAPIContext_141 u64_CSteamAPIContext_141;
typedef struct w64_CSteamAPIContext_141 w64_CSteamAPIContext_141;
typedef struct w32_CSteamAPIContext_141 u32_CSteamAPIContext_141;
typedef struct w32_CSteamAPIContext_141 w32_CSteamAPIContext_141;
typedef struct w64_CSteamAPIContext_143 u64_CSteamAPIContext_143;
typedef struct w64_CSteamAPIContext_143 w64_CSteamAPIContext_143;
typedef struct w32_CSteamAPIContext_143 u32_CSteamAPIContext_143;
Expand All @@ -2371,10 +2375,6 @@ typedef struct w64_CSteamAPIContext_137 u64_CSteamAPIContext_137;
typedef struct w64_CSteamAPIContext_137 w64_CSteamAPIContext_137;
typedef struct w32_CSteamAPIContext_137 u32_CSteamAPIContext_137;
typedef struct w32_CSteamAPIContext_137 w32_CSteamAPIContext_137;
typedef struct w64_CSteamAPIContext_141 u64_CSteamAPIContext_141;
typedef struct w64_CSteamAPIContext_141 w64_CSteamAPIContext_141;
typedef struct w32_CSteamAPIContext_141 u32_CSteamAPIContext_141;
typedef struct w32_CSteamAPIContext_141 w32_CSteamAPIContext_141;
typedef struct u_CSteamCallback u_CSteamCallback;
typedef struct u_CSteamCallback u64_CSteamCallback;
typedef struct u_CSteamCallback u32_CSteamCallback;
Expand Down Expand Up @@ -3316,7 +3316,7 @@ typedef u64_AddUGCDependencyResult_t u_AddUGCDependencyResult_t;
#endif

#pragma pack( push, 8 )
struct w64_CSteamAPIContext_143
struct w64_CSteamAPIContext_141
{
W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3333,7 +3333,6 @@ struct w64_CSteamAPIContext_143
W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP);
W64_PTR(void /*ISteamController*/ *m_pController, m_pController);
W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC);
W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList);
W64_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic);
W64_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote);
W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
Expand All @@ -3345,7 +3344,7 @@ struct w64_CSteamAPIContext_143
#pragma pack( pop )

#pragma pack( push, 4 )
struct w32_CSteamAPIContext_143
struct w32_CSteamAPIContext_141
{
W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3362,7 +3361,6 @@ struct w32_CSteamAPIContext_143
W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP);
W32_PTR(void /*ISteamController*/ *m_pController, m_pController);
W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC);
W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList);
W32_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic);
W32_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote);
W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
Expand All @@ -3374,16 +3372,16 @@ struct w32_CSteamAPIContext_143
#pragma pack( pop )

#ifdef __i386__
typedef w32_CSteamAPIContext_143 w_CSteamAPIContext_143;
typedef u32_CSteamAPIContext_143 u_CSteamAPIContext_143;
typedef w32_CSteamAPIContext_141 w_CSteamAPIContext_141;
typedef u32_CSteamAPIContext_141 u_CSteamAPIContext_141;
#endif
#ifdef __x86_64__
typedef w64_CSteamAPIContext_143 w_CSteamAPIContext_143;
typedef u64_CSteamAPIContext_143 u_CSteamAPIContext_143;
typedef w64_CSteamAPIContext_141 w_CSteamAPIContext_141;
typedef u64_CSteamAPIContext_141 u_CSteamAPIContext_141;
#endif

#pragma pack( push, 8 )
struct w64_CSteamAPIContext_145
struct w64_CSteamAPIContext_143
{
W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3406,14 +3404,13 @@ struct w64_CSteamAPIContext_145
W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory);
W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo);
W64_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV);
W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings);
W64_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput);
};
#pragma pack( pop )

#pragma pack( push, 4 )
struct w32_CSteamAPIContext_145
struct w32_CSteamAPIContext_143
{
W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3436,29 +3433,29 @@ struct w32_CSteamAPIContext_145
W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory);
W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo);
W32_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV);
W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings);
W32_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput);
};
#pragma pack( pop )

#ifdef __i386__
typedef w32_CSteamAPIContext_145 w_CSteamAPIContext_145;
typedef u32_CSteamAPIContext_145 u_CSteamAPIContext_145;
typedef w32_CSteamAPIContext_143 w_CSteamAPIContext_143;
typedef u32_CSteamAPIContext_143 u_CSteamAPIContext_143;
#endif
#ifdef __x86_64__
typedef w64_CSteamAPIContext_145 w_CSteamAPIContext_145;
typedef u64_CSteamAPIContext_145 u_CSteamAPIContext_145;
typedef w64_CSteamAPIContext_143 w_CSteamAPIContext_143;
typedef u64_CSteamAPIContext_143 u_CSteamAPIContext_143;
#endif

#pragma pack( push, 8 )
struct w64_CSteamAPIContext_137
struct w64_CSteamAPIContext_145
{
W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
W64_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends);
W64_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils);
W64_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking);
W64_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch);
W64_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats);
W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps);
W64_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers);
Expand All @@ -3474,18 +3471,21 @@ struct w64_CSteamAPIContext_137
W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory);
W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo);
W64_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV);
W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings);
W64_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput);
};
#pragma pack( pop )

#pragma pack( push, 4 )
struct w32_CSteamAPIContext_137
struct w32_CSteamAPIContext_145
{
W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
W32_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends);
W32_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils);
W32_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking);
W32_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch);
W32_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats);
W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps);
W32_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers);
Expand All @@ -3501,21 +3501,23 @@ struct w32_CSteamAPIContext_137
W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface);
W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory);
W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo);
W32_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV);
W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings);
W32_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput);
};
#pragma pack( pop )

#ifdef __i386__
typedef w32_CSteamAPIContext_137 w_CSteamAPIContext_137;
typedef u32_CSteamAPIContext_137 u_CSteamAPIContext_137;
typedef w32_CSteamAPIContext_145 w_CSteamAPIContext_145;
typedef u32_CSteamAPIContext_145 u_CSteamAPIContext_145;
#endif
#ifdef __x86_64__
typedef w64_CSteamAPIContext_137 w_CSteamAPIContext_137;
typedef u64_CSteamAPIContext_137 u_CSteamAPIContext_137;
typedef w64_CSteamAPIContext_145 w_CSteamAPIContext_145;
typedef u64_CSteamAPIContext_145 u_CSteamAPIContext_145;
#endif

#pragma pack( push, 8 )
struct w64_CSteamAPIContext_141
struct w64_CSteamAPIContext_137
{
W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3529,7 +3531,6 @@ struct w64_CSteamAPIContext_141
W64_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage);
W64_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots);
W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP);
W64_PTR(void /*ISteamUnifiedMessages*/ *m_pSteamUnifiedMessages, m_pSteamUnifiedMessages);
W64_PTR(void /*ISteamController*/ *m_pController, m_pController);
W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC);
W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList);
Expand All @@ -3543,7 +3544,7 @@ struct w64_CSteamAPIContext_141
#pragma pack( pop )

#pragma pack( push, 4 )
struct w32_CSteamAPIContext_141
struct w32_CSteamAPIContext_137
{
W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient);
W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser);
Expand All @@ -3557,7 +3558,6 @@ struct w32_CSteamAPIContext_141
W32_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage);
W32_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots);
W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP);
W32_PTR(void /*ISteamUnifiedMessages*/ *m_pSteamUnifiedMessages, m_pSteamUnifiedMessages);
W32_PTR(void /*ISteamController*/ *m_pController, m_pController);
W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC);
W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList);
Expand All @@ -3571,12 +3571,12 @@ struct w32_CSteamAPIContext_141
#pragma pack( pop )

#ifdef __i386__
typedef w32_CSteamAPIContext_141 w_CSteamAPIContext_141;
typedef u32_CSteamAPIContext_141 u_CSteamAPIContext_141;
typedef w32_CSteamAPIContext_137 w_CSteamAPIContext_137;
typedef u32_CSteamAPIContext_137 u_CSteamAPIContext_137;
#endif
#ifdef __x86_64__
typedef w64_CSteamAPIContext_141 w_CSteamAPIContext_141;
typedef u64_CSteamAPIContext_141 u_CSteamAPIContext_141;
typedef w64_CSteamAPIContext_137 w_CSteamAPIContext_137;
typedef u64_CSteamAPIContext_137 u_CSteamAPIContext_137;
#endif

struct w_CSteamCallback
Expand Down
Loading

0 comments on commit 4341729

Please sign in to comment.