2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-09-05 01:05:10 +00:00

lsteamclient: generate 1.52 support

This commit is contained in:
Andrew Eikum
2021-09-15 14:52:44 -05:00
parent a1244bdf38
commit da911c3bf9
73 changed files with 4121 additions and 1532 deletions

View File

@@ -1,14 +1,14 @@
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#include "steamworks_sdk_151/steam_api.h"
#include "steamworks_sdk_151/steamnetworkingtypes.h"
#include "steamworks_sdk_152/steam_api.h"
#include "steamworks_sdk_152/steamnetworkingtypes.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_151
#define SDKVER_152
#include "struct_converters.h"
#include "cppISteamUtils_SteamUtils010.h"
uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *linux_side)
@@ -181,6 +181,21 @@ ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityStat
return ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol);
}
bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *linux_side)
{
return ((ISteamUtils*)linux_side)->IsSteamRunningOnSteamDeck();
}
bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *linux_side, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight)
{
return ((ISteamUtils*)linux_side)->ShowFloatingGamepadTextInput((EFloatingGamepadTextInputMode)eKeyboardMode, (int)nTextFieldXPosition, (int)nTextFieldYPosition, (int)nTextFieldWidth, (int)nTextFieldHeight);
}
void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *linux_side, bool bLauncherMode)
{
((ISteamUtils*)linux_side)->SetGameLauncherMode((bool)bLauncherMode);
}
#ifdef __cplusplus
}
#endif