diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 1b8d3f18..d500c043 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -731,6 +731,7 @@ def handle_struct(sdkver, struct, which): hfile.write("typedef struct win%s win%s;\n" % (handler_name, handler_name)) + cppfile.write("#pragma pack(push, 8)\n") cppfile.write("struct win%s {\n" % handler_name) for m in struct.get_children(): if m.kind == clang.cindex.CursorKind.FIELD_DECL: @@ -740,7 +741,8 @@ def handle_struct(sdkver, struct, which): cppfile.write(" %s %s;\n" % (m.type.spelling, m.displayname)) if which == WRAPPERS: cppfile.write("\n %s *linux_side;\n" % struct.displayname) - cppfile.write("} __attribute__ ((ms_struct));\n\n") + cppfile.write("} __attribute__ ((ms_struct));\n") + cppfile.write("#pragma pack(pop)\n\n") if which == LIN_TO_WIN: hfile.write("extern void struct_%s_lin_to_win(void *l, void *w);\n" % handler_name) diff --git a/vrclient_x64/vrclient_x64/struct_converters_090.cpp b/vrclient_x64/vrclient_x64/struct_converters_090.cpp index f6647e3a..b5e41a6b 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_090.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_090.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_090 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_090 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_090 *struct_RenderModel_TextureMap_t_090_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_090_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_090 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_090 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_090_unwrap(winRenderModel_t_090 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_090 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_090_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_090_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_090 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_091.cpp b/vrclient_x64/vrclient_x64/struct_converters_091.cpp index 2176426e..7b5a8b1a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_091.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_091.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_091 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_091 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_091 *struct_RenderModel_TextureMap_t_091_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_091_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_091 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_091 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_091 *struct_RenderModel_t_091_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_091_unwrap(winRenderModel_t_091 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_091 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_091_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_091_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_091 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp index 77312b5b..576b4d46 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0910 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_0910 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0910 *struct_RenderModel_TextureMap_t_0910_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0910_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0910 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_0910 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0910 *struct_RenderModel_t_0910_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_0910_unwrap(winRenderModel_t_0910 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_0910 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0910_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_0910_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_0910 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp index 93139ed6..d04532c0 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0912 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0912_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0912_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_0912 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0912 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0912 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0912 *struct_RenderModel_TextureMap_t_0912_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0912_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0912 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0912 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0912 *struct_RenderModel_t_0912_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp index a084c7b5..20555f3a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0913 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0913_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0913_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_0913 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0913 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0913 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0913 *struct_RenderModel_TextureMap_t_0913_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0913_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0913 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0913 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0913 *struct_RenderModel_t_0913_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp index 5107dbfb..5c9e33a6 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0914 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0914_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0914_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_0914 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0914 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0914 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0914 *struct_RenderModel_TextureMap_t_0914_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0914_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0914 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0914 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0914 *struct_RenderModel_t_0914_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp index eb7cd332..814c9d52 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0915 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0915_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0915_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0915 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0915 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0915 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0915 *struct_RenderModel_TextureMap_t_0915_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0915_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0915 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0915 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0915 *struct_RenderModel_t_0915_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp index 1d353305..be04f8a6 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0916 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0916_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0916_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0916 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0916 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0916 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0916 *struct_RenderModel_TextureMap_t_0916_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0916_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0916 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0916 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0916 *struct_RenderModel_t_0916_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp index 5a371cdd..da93e2ac 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0917 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0917_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0917_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0917 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0917 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0917 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0917 *struct_RenderModel_TextureMap_t_0917_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0917_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0917 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0917 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0917 *struct_RenderModel_t_0917_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp index 0538a961..f8e3d455 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0918 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0918_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0918_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0918 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0918 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0918 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0918 *struct_RenderModel_TextureMap_t_0918_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0918_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0918 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0918 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0918 *struct_RenderModel_t_0918_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp index 27682b53..e18fccd1 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0919 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0919_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0919_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0919 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0919 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0919 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0919 *struct_RenderModel_TextureMap_t_0919_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0919_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0919 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0919 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0919 *struct_RenderModel_t_0919_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_092.cpp b/vrclient_x64/vrclient_x64/struct_converters_092.cpp index 833ada6e..6b22438c 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_092.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_092.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_092 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_092 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_092 *struct_RenderModel_TextureMap_t_092_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_092_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_092 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_092 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_092 *struct_RenderModel_t_092_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_092_unwrap(winRenderModel_t_092 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_092 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_092_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_092_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_092 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp index 47b8b5f0..e40fd246 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_0920 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_0920_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_0920_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_0920 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_0920 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_0920 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_0920 *struct_RenderModel_TextureMap_t_0920_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0920_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_0920 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_0920 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_0920 *struct_RenderModel_t_0920_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_093.cpp b/vrclient_x64/vrclient_x64/struct_converters_093.cpp index 06b2c9b1..36146c13 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_093.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_093.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_093 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_093 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_093 *struct_RenderModel_TextureMap_t_093_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_093_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_093 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_093 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_093 *struct_RenderModel_t_093_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_093_unwrap(winRenderModel_t_093 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_093 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_093_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_093_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_093 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_094.cpp b/vrclient_x64/vrclient_x64/struct_converters_094.cpp index 4c31c507..77cde976 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_094.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_094.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_094 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_094 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_094 *struct_RenderModel_TextureMap_t_094_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_094_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_094 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_094 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_094 *struct_RenderModel_t_094_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_094_unwrap(winRenderModel_t_094 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_094 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_094_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_094_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_094 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_096.cpp b/vrclient_x64/vrclient_x64/struct_converters_096.cpp index b9e37d9d..72a26ee3 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_096.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_096.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_096 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_096 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_096 *struct_RenderModel_TextureMap_t_096_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_096_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_096 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_096 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_096 *struct_RenderModel_t_096_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_096_unwrap(winRenderModel_t_096 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_096 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_096_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_096_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_096 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_097.cpp b/vrclient_x64/vrclient_x64/struct_converters_097.cpp index e69bb8f3..d41f34ab 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_097.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_097.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_097 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_097 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_097 *struct_RenderModel_TextureMap_t_097_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_097_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_097 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_097 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_097 *struct_RenderModel_t_097_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_097_unwrap(winRenderModel_t_097 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_097 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_097_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_097_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_097 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_098.cpp b/vrclient_x64/vrclient_x64/struct_converters_098.cpp index 7f8cbde2..b4c2d813 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_098.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_098.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_098 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_098 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_098 *struct_RenderModel_TextureMap_t_098_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_098_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_098 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_098 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_098 *struct_RenderModel_t_098_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_098_unwrap(winRenderModel_t_098 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_098 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_098_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_098_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_098 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_099.cpp b/vrclient_x64/vrclient_x64/struct_converters_099.cpp index 0f648e64..d6545c51 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_099.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_099.cpp @@ -6,6 +6,7 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_099 { uint16_t unWidth; uint16_t unHeight; @@ -13,6 +14,7 @@ struct winRenderModel_TextureMap_t_099 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_099 *struct_RenderModel_TextureMap_t_099_wrap(void *l) { @@ -32,6 +34,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_099_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_099 { uint64_t ulInternalHandle; const vr::RenderModel_Vertex_t * rVertexData; @@ -42,6 +45,7 @@ struct winRenderModel_t_099 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_099 *struct_RenderModel_t_099_wrap(void *l) { @@ -64,12 +68,14 @@ struct RenderModel_t *struct_RenderModel_t_099_unwrap(winRenderModel_t_099 *w) return ret; } +#pragma pack(push, 8) struct winVREvent_t_099 { vr::EVREventType eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; vr::VREvent_Data_t data; float eventAgeSeconds; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_099_lin_to_win(void *l, void *w) { @@ -81,12 +87,14 @@ void struct_VREvent_t_099_lin_to_win(void *l, void *w) win->eventAgeSeconds = lin->eventAgeSeconds; } +#pragma pack(push, 8) struct winVRControllerState001_t_099 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_100.cpp b/vrclient_x64/vrclient_x64/struct_converters_100.cpp index 984e3c24..0544398b 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_100.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_100.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_100 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_100_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_100_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_100 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_100 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_100 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_100 *struct_RenderModel_TextureMap_t_100_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_100_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_100 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_100 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_100 *struct_RenderModel_t_100_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_101.cpp b/vrclient_x64/vrclient_x64/struct_converters_101.cpp index 8ad6dc6a..7e13af80 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_101.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_101.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_101 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_101_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_101_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_101 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_101 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_101 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_101 *struct_RenderModel_TextureMap_t_101_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_101_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_101 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_101 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_101 *struct_RenderModel_t_101_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp index 2ddf3207..e91e107e 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1010 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1010_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1010_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1010 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1010 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1010 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1010 *struct_RenderModel_TextureMap_t_1010_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1010_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1010 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1010 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1010 *struct_RenderModel_t_1010_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp index aae88273..aa7b220f 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1011 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1011_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1011_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1011 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1011 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1011 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1011 *struct_RenderModel_TextureMap_t_1011_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1011_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1011 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1011 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1011 *struct_RenderModel_t_1011_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp index 325a851e..b3e336b1 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1012 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1012_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1012_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1012 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1012 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1012 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1012 *struct_RenderModel_TextureMap_t_1012_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1012_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1012 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1012 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1012 *struct_RenderModel_t_1012_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp index ec07148b..9190648a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1013 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1013_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1013_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1013 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1013 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1013 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1013 *struct_RenderModel_TextureMap_t_1013_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1013_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1013 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1013 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1013 *struct_RenderModel_t_1013_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp index b19b106a..ef84c109 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1014 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1014_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1014_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1014 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1014 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1014 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1014 *struct_RenderModel_TextureMap_t_1014_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1014_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1014 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1014 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1014 *struct_RenderModel_t_1014_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp index da8e233a..554e6622 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1015 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1015_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1015_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1015 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1015 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1015 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1015 *struct_RenderModel_TextureMap_t_1015_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1015_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1015 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1015 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1015 *struct_RenderModel_t_1015_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp index 09fbf41a..196fd9a4 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1016 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1016_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1016_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1016 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1016 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1016 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1016 *struct_RenderModel_TextureMap_t_1016_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1016_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1016 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1016 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1016 *struct_RenderModel_t_1016_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp index 2803d7a6..a57c7687 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_1017 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_1017_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_1017_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_1017 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_1017 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_1017 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_1017 *struct_RenderModel_TextureMap_t_1017_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1017_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_1017 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_1017 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_1017 *struct_RenderModel_t_1017_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_102.cpp b/vrclient_x64/vrclient_x64/struct_converters_102.cpp index 77de9752..805fcec1 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_102.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_102.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_102 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_102_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_102_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_102 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_102 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_102 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_102 *struct_RenderModel_TextureMap_t_102_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_102_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_102 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_102 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_102 *struct_RenderModel_t_102_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_103.cpp b/vrclient_x64/vrclient_x64/struct_converters_103.cpp index 848e8e45..8aefed0e 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_103.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_103.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_103 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_103_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_103_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_103 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_103 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_103 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_103 *struct_RenderModel_TextureMap_t_103_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_103 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_103 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_103 *struct_RenderModel_t_103_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp index 2ac2c7a9..41c94160 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_103a { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_103a_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_103a_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_103a { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_103a { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_103a { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_103a *struct_RenderModel_TextureMap_t_103a_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103a_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_103a { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_103a { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_103a *struct_RenderModel_t_103a_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_104.cpp b/vrclient_x64/vrclient_x64/struct_converters_104.cpp index 394512ff..b6a22d82 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_104.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_104.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_104 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_104_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_104_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_104 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_104 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_104 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_104 *struct_RenderModel_TextureMap_t_104_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_104_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_104 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_104 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_104 *struct_RenderModel_t_104_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_105.cpp b/vrclient_x64/vrclient_x64/struct_converters_105.cpp index 5ce1a506..0e8f2c0a 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_105.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_105.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_105 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_105_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_105_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_105 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_105 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_105 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_105 *struct_RenderModel_TextureMap_t_105_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_105_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_105 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_105 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_105 *struct_RenderModel_t_105_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_106.cpp b/vrclient_x64/vrclient_x64/struct_converters_106.cpp index 1e2247e6..be5d0fa2 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_106.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_106.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_106 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_106_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_106_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_106 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_106 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_106 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_106 *struct_RenderModel_TextureMap_t_106_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_106_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_106 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_106 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_106 *struct_RenderModel_t_106_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_107.cpp b/vrclient_x64/vrclient_x64/struct_converters_107.cpp index 0cddeb4f..2cc8b49c 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_107.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_107.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_107 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_107_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_107_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_107 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_107 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_107 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_107 *struct_RenderModel_TextureMap_t_107_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_107_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_107 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_107 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_107 *struct_RenderModel_t_107_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_108.cpp b/vrclient_x64/vrclient_x64/struct_converters_108.cpp index d35749cf..b8da69a7 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_108.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_108.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_108 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_108_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_108_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_108 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_108 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_108 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_108 *struct_RenderModel_TextureMap_t_108_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_108_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_108 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_108 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_108 *struct_RenderModel_t_108_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_109.cpp b/vrclient_x64/vrclient_x64/struct_converters_109.cpp index b975f8b2..546214fe 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_109.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_109.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_109 { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_109_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_109_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_109 { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_109 { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_109 { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_109 *struct_RenderModel_TextureMap_t_109_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_109_unwrap(winR return ret; } +#pragma pack(push, 8) struct winRenderModel_t_109 { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_109 { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_109 *struct_RenderModel_t_109_wrap(void *l) { diff --git a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp index db370c64..3ca1c475 100644 --- a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp +++ b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp @@ -6,12 +6,14 @@ using namespace vr; extern "C" { #include "struct_converters.h" +#pragma pack(push, 8) struct winVREvent_t_113b { uint32_t eventType; vr::TrackedDeviceIndex_t trackedDeviceIndex; float eventAgeSeconds; vr::VREvent_Data_t data; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VREvent_t_113b_lin_to_win(void *l, void *w) { @@ -23,12 +25,14 @@ void struct_VREvent_t_113b_lin_to_win(void *l, void *w) win->data = lin->data; } +#pragma pack(push, 8) struct winVRControllerState001_t_113b { uint32_t unPacketNum; uint64_t ulButtonPressed; uint64_t ulButtonTouched; vr::VRControllerAxis_t rAxis[5]; } __attribute__ ((ms_struct)); +#pragma pack(pop) void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w) { @@ -40,6 +44,7 @@ void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w) memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); } +#pragma pack(push, 8) struct winRenderModel_TextureMap_t_113b { uint16_t unWidth; uint16_t unHeight; @@ -47,6 +52,7 @@ struct winRenderModel_TextureMap_t_113b { RenderModel_TextureMap_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_TextureMap_t_113b *struct_RenderModel_TextureMap_t_113b_wrap(void *l) { @@ -66,6 +72,7 @@ struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_113b_unwrap(win return ret; } +#pragma pack(push, 8) struct winRenderModel_t_113b { const vr::RenderModel_Vertex_t * rVertexData; uint32_t unVertexCount; @@ -75,6 +82,7 @@ struct winRenderModel_t_113b { RenderModel_t *linux_side; } __attribute__ ((ms_struct)); +#pragma pack(pop) struct winRenderModel_t_113b *struct_RenderModel_t_113b_wrap(void *l) {