2018-01-18 20:29:49 +01:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "vrclient_private.h"
|
|
|
|
|
2018-06-04 17:45:00 +02:00
|
|
|
#include "flatapi.h"
|
|
|
|
|
2018-01-18 20:29:49 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetCalibrationState, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ReloadInfo, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_SetSceneColor, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetBoundsColor, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 8)
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(struct w_steam_iface *_this)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_GetCalibrationState_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetCalibrationState, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(struct w_steam_iface *_this, ChaperoneSoftBoundsInfo_t *pInfo)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pInfo = pInfo,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pQuadsBuffer = pQuadsBuffer,
|
|
|
|
.punQuadsCount = punQuadsCount,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetHardBoundsInfo, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(struct w_steam_iface *_this, ChaperoneSeatedBoundsInfo_t *pInfo)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pInfo = pInfo,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(struct w_steam_iface *_this)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_ReloadInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_ReloadInfo, ¶ms );
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_SetSceneColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.color = color,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_SetSceneColor, ¶ms );
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_GetBoundsColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pOutputColorArray = pOutputColorArray,
|
|
|
|
.nNumOutputColors = nNumOutputColors,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetBoundsColor, ¶ms );
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(struct w_steam_iface *_this)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_AreBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_AreBoundsVisible, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_002_ForceBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bForce = bForce,
|
|
|
|
};
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_ForceBoundsVisible, ¶ms );
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winIVRChaperone_IVRChaperone_002_vtable;
|
2020-10-13 16:04:51 +02:00
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_002, 0, ".?AVIVRChaperone@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_002_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winIVRChaperone_IVRChaperone_002,
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetCalibrationState)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ReloadInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_SetSceneColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetBoundsColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_AreBoundsVisible)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible)
|
2020-10-13 16:04:51 +02:00
|
|
|
);
|
2023-10-02 20:00:22 +02:00
|
|
|
__ASM_BLOCK_END
|
2020-10-13 16:04:51 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002(void *u_iface)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2020-10-13 16:04:51 +02:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = &winIVRChaperone_IVRChaperone_002_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-10-13 16:04:51 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_002(struct w_steam_iface *object)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002_FnTable(void *u_iface)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2020-10-13 16:04:51 +02:00
|
|
|
struct thunk *thunks = alloc_thunks(9);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable));
|
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2023-09-20 23:58:12 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_002_GetCalibrationState, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE);
|
2020-10-13 16:04:51 +02:00
|
|
|
for (i = 0; i < 9; i++)
|
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2020-10-13 16:04:51 +02:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_002_FnTable(struct w_steam_iface *object)
|
2020-10-13 16:04:51 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2020-10-13 16:04:51 +02:00
|
|
|
}
|
|
|
|
|
2018-01-18 20:29:49 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ReloadInfo, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_SetSceneColor, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 8)
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_GetCalibrationState_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetCalibrationState, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_GetPlayAreaSize_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pSizeX = pSizeX,
|
|
|
|
.pSizeZ = pSizeZ,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetPlayAreaSize, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_GetPlayAreaRect_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.rect = rect,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetPlayAreaRect, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_ReloadInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_ReloadInfo, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_SetSceneColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.color = color,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_SetSceneColor, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_GetBoundsColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pOutputColorArray = pOutputColorArray,
|
|
|
|
.nNumOutputColors = nNumOutputColors,
|
|
|
|
.flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance,
|
|
|
|
.pOutputCameraColor = pOutputCameraColor,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetBoundsColor, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_AreBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_AreBoundsVisible, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_003_ForceBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bForce = bForce,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_ForceBoundsVisible, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable;
|
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_003, 0, ".?AVIVRChaperone@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_003_vtables)
|
2018-01-18 20:29:49 +01:00
|
|
|
__ASM_VTABLE(winIVRChaperone_IVRChaperone_003,
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetCalibrationState)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ReloadInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_SetSceneColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetBoundsColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_AreBoundsVisible)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible)
|
|
|
|
);
|
2023-10-02 20:00:22 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 20:29:49 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003(void *u_iface)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = &winIVRChaperone_IVRChaperone_003_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 20:29:49 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_003(struct w_steam_iface *object)
|
2018-04-19 15:50:32 +02:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003_FnTable(void *u_iface)
|
2018-06-04 17:45:00 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-06-04 17:45:00 +02:00
|
|
|
struct thunk *thunks = alloc_thunks(8);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable));
|
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2018-07-30 17:40:06 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE);
|
2018-06-04 17:45:00 +02:00
|
|
|
for (i = 0; i < 8; i++)
|
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-06-04 17:45:00 +02:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_003_FnTable(struct w_steam_iface *object)
|
2018-06-04 17:45:00 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2018-06-04 17:45:00 +02:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4)
|
2023-09-23 20:52:28 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ReloadInfo, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_SetSceneColor, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetBoundsColor, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8)
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
uint32_t __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetCalibrationState, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pSizeX = pSizeX,
|
|
|
|
.pSizeZ = pSizeZ,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetPlayAreaSize, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.rect = rect,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetPlayAreaRect, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_ReloadInfo_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ReloadInfo, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_SetSceneColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.color = color,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_SetSceneColor, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_GetBoundsColor_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pOutputColorArray = pOutputColorArray,
|
|
|
|
.nNumOutputColors = nNumOutputColors,
|
|
|
|
.flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance,
|
|
|
|
.pOutputCameraColor = pOutputCameraColor,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetBoundsColor, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
int8_t __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(struct w_steam_iface *_this)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_AreBoundsVisible, ¶ms );
|
2023-09-27 11:05:52 +02:00
|
|
|
return params._ret;
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-10-04 22:02:15 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_ForceBoundsVisible_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bForce = bForce,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ForceBoundsVisible, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-14 16:22:47 +02:00
|
|
|
void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(struct w_steam_iface *_this, uint32_t eTrackingUniverseOrigin)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRChaperone_IVRChaperone_004_ResetZeroPose_params params =
|
2023-09-27 11:05:52 +02:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eTrackingUniverseOrigin = eTrackingUniverseOrigin,
|
|
|
|
};
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 13:08:49 +02:00
|
|
|
VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ResetZeroPose, ¶ms );
|
2018-01-18 20:29:49 +01:00
|
|
|
}
|
|
|
|
|
2023-09-20 23:58:12 +02:00
|
|
|
extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable;
|
2018-01-18 20:29:49 +01:00
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_004, 0, ".?AVIVRChaperone@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_004_vtables)
|
2023-09-20 23:58:12 +02:00
|
|
|
__ASM_VTABLE(winIVRChaperone_IVRChaperone_004,
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetCalibrationState)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ReloadInfo)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_SetSceneColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetBoundsColor)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_AreBoundsVisible)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible)
|
|
|
|
VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ResetZeroPose)
|
2018-01-18 20:29:49 +01:00
|
|
|
);
|
2023-10-02 20:00:22 +02:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 20:29:49 +01:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004(void *u_iface)
|
2018-01-18 20:29:49 +01:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-01-18 20:29:49 +01:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-20 23:58:12 +02:00
|
|
|
r->vtable = &winIVRChaperone_IVRChaperone_004_vtable;
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 20:29:49 +01:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_004(struct w_steam_iface *object)
|
2018-04-19 15:50:32 +02:00
|
|
|
{
|
|
|
|
TRACE("%p\n", object);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004_FnTable(void *u_iface)
|
2018-06-04 17:45:00 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));
|
2018-06-04 17:45:00 +02:00
|
|
|
struct thunk *thunks = alloc_thunks(9);
|
|
|
|
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable));
|
|
|
|
int i;
|
|
|
|
|
|
|
|
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
2023-09-20 23:58:12 +02:00
|
|
|
init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE);
|
|
|
|
init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE);
|
|
|
|
init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE);
|
2018-06-04 17:45:00 +02:00
|
|
|
for (i = 0; i < 9; i++)
|
|
|
|
vtable[i] = &thunks[i];
|
2023-09-24 14:50:45 +02:00
|
|
|
r->u_iface = u_iface;
|
2018-06-04 17:45:00 +02:00
|
|
|
r->vtable = (void *)vtable;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
void destroy_winIVRChaperone_IVRChaperone_004_FnTable(struct w_steam_iface *object)
|
2018-06-04 17:45:00 +02:00
|
|
|
{
|
2023-09-24 14:50:45 +02:00
|
|
|
TRACE("%p\n", object);
|
|
|
|
VirtualFree(object->vtable[0], 0, MEM_RELEASE);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object->vtable);
|
|
|
|
HeapFree(GetProcessHeap(), 0, object);
|
2018-06-04 17:45:00 +02:00
|
|
|
}
|
|
|
|
|
2023-10-02 20:00:22 +02:00
|
|
|
void init_winIVRChaperone_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winIVRChaperone_IVRChaperone_002_rtti( base );
|
|
|
|
init_winIVRChaperone_IVRChaperone_003_rtti( base );
|
|
|
|
init_winIVRChaperone_IVRChaperone_004_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|