mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 22:48:11 +01:00
lsteamclient: Use the generated interfaces in the manual converters.
CW-Bug-Id: #22729
This commit is contained in:
parent
9da6e6851f
commit
2a2fb338d2
31 changed files with 215 additions and 296 deletions
|
|
@ -1,35 +1,29 @@
|
|||
#include "steamclient_private.h"
|
||||
|
||||
#include "steam_defs.h"
|
||||
extern "C"
|
||||
{
|
||||
#define SDK_VERSION 1510
|
||||
#include "steamclient_manual_common.h"
|
||||
}
|
||||
|
||||
#pragma push_macro("__cdecl")
|
||||
#undef __cdecl
|
||||
#pragma push_macro("strncpy")
|
||||
#undef strncpy
|
||||
#include "steamworks_sdk_151/steam_api.h"
|
||||
#include "cppISteamInput_SteamInput002.hpp"
|
||||
#pragma pop_macro("__cdecl")
|
||||
#pragma pop_macro("strncpy")
|
||||
|
||||
extern "C" {
|
||||
#define SDKVER_151
|
||||
#include "struct_converters.h"
|
||||
#include "cb_converters.h"
|
||||
|
||||
#define SDK_VERSION 1510
|
||||
#include "steamclient_manual_common.h"
|
||||
|
||||
#include "cppISteamInput_SteamInput002.h"
|
||||
}
|
||||
|
||||
void cppISteamInput_SteamInput002_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params *params )
|
||||
{
|
||||
ISteamInput *iface = (ISteamInput *)params->linux_side;
|
||||
params->_ret = iface->GetGlyphForActionOrigin( (EInputActionOrigin)params->eOrigin );
|
||||
struct cppISteamInput_SteamInput002 *iface = (struct cppISteamInput_SteamInput002 *)params->linux_side;
|
||||
params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin );
|
||||
params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret );
|
||||
}
|
||||
|
||||
void cppISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *params )
|
||||
{
|
||||
ISteamInput *iface = (ISteamInput *)params->linux_side;
|
||||
params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin );
|
||||
struct cppISteamInput_SteamInput002 *iface = (struct cppISteamInput_SteamInput002 *)params->linux_side;
|
||||
params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin );
|
||||
params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue