180 Commits

Author SHA1 Message Date
Rémi Bernon
7ca36a7397 vrclient: Use manual methods for IVRCompositor overrides.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
4772b2fb6a vrclient: Split IVRCompositor helpers to vrcompositor_manual.c.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
5a877f777a vrclient: Inline some IVRInput override code.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
0f309f7fb9 vrclient: Use manual methods for IVRInput overrides.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
2050a7d8fc vrclient: Split IVRInput helpers to vrinput_manual.c.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
08c3f24be4 vrclient: Inline some IVROverlay override code.
CW-Bug-Id: #22729
2023-09-28 09:33:20 +02:00
Rémi Bernon
ed01bd4de7 vrclient: Use manual methods for IVROverlay overrides.
CW-Bug-Id: #22729
2023-09-28 09:33:19 +02:00
Rémi Bernon
c8b0951f7f vrclient: Split IVROverlay helpers to vroverlay_manual.c.
CW-Bug-Id: #22729
2023-09-28 09:33:19 +02:00
Rémi Bernon
be76eb8c0e vrclient: Inline some IVRRenderModels override code.
CW-Bug-Id: #22729
2023-09-28 09:33:19 +02:00
Rémi Bernon
4241918069 vrclient: Use manual methods for IVRRenderModels overrides.
CW-Bug-Id: #22729
2023-09-28 09:33:19 +02:00
Rémi Bernon
0964026cd7 vrclient: Split IVRRenderModels helpers to vrrendermodels_manual.c.
CW-Bug-Id: #22729
2023-09-28 09:33:18 +02:00
Rémi Bernon
4a86c45090 vrclient: Use manual methods for IVRSystem overrides.
CW-Bug-Id: #22729
2023-09-28 09:33:18 +02:00
Rémi Bernon
89d5e5cabc vrclient: Split IVRSystem helpers to vrsystem_manual.c.
CW-Bug-Id: #22729
2023-09-28 09:33:17 +02:00
Rémi Bernon
78d1397c60 vrclient: Use a generic interface wrapper struct.
CW-Bug-Id: #22729
2023-09-28 09:33:13 +02:00
Rémi Bernon
cd4390029b vrclient: Remove unused wrapper generation case.
CW-Bug-Id: #22729
2023-09-28 09:33:12 +02:00
Rémi Bernon
c5a183b3c7 vrclient: Use with statement to generate the .c files.
CW-Bug-Id: #22729
2023-09-28 09:33:11 +02:00
Rémi Bernon
55ad3bb0db vrclient: Generate the .h and .cpp files separately.
CW-Bug-Id: #22729
2023-09-28 09:33:10 +02:00
Rémi Bernon
0a5a31c539 vrclient: Pass write function as parameter to handle_method*.
CW-Bug-Id: #22729
2023-09-28 09:33:09 +02:00
Rémi Bernon
7c827e7d73 vrclient: Consistently use the computed return type.
CW-Bug-Id: #22729
2023-09-28 09:33:06 +02:00
Rémi Bernon
d00e8a7229 vrclient: Fix inconsistent const qualifier handling.
CW-Bug-Id: #22729
2023-09-28 09:33:06 +02:00
Rémi Bernon
19c7fb2549 vrclient: Always use a return result variable.
CW-Bug-Id: #22729
2023-09-28 09:33:04 +02:00
Rémi Bernon
d0230e1d4e vrclient: Fix incorrect size paramter passed to lin_to_win.
CW-Bug-Id: #22729
2023-09-28 09:32:08 +02:00
Rémi Bernon
0e921c189e vrclient: Fix some compilation warnings.
CW-Bug-Id: #22729
2023-09-27 16:15:34 +03:00
Rémi Bernon
e4d3810d15 vrclient: Build using makedep rules.
CW-Bug-Id: #22729
2023-09-27 16:15:34 +03:00
Rémi Bernon
de878b04e7 vrclient: Cleanup C method generator.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
d792982335 vrclient: Generate thiscall wrappers separately.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
d804a77404 vrclient: Introduce a new Method cursor wrapper.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
83cba5d854 vrclient: Introduce a new Class cursor wrapper.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
3b0b42cfce vrclient: Use the generated names in the C++ method.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
4213ae6ffd vrclient: Simplify next-is-size handling a bit.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
d61d96fb36 vrclient: Use declspec to generate C++ method signature.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
ea8aaaa4a6 vrclient: Use method.get_arguments instead of get_params.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
6ad3395f34 vrclient: Split C++/C method generation helpers.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
1e0e0b1d12 vrclient: Split cpp_h generation to a dedicated method.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
24ccee527f vrclient: Return all struct abis from find_struct.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
bdd76a9962 vrclient: Filter structs and classes while parsing.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
08023fdb49 vrclient: Use the all_records dict to lookup structs.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
187d34222b vrclient: Introduce new canonical_typename helper.
CW-Bug-Id: #22729
2023-09-27 16:04:49 +03:00
Rémi Bernon
d606a9c9f8 vrclient: Sort classes by their version string.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
3385aa1c24 vrclient: Filter classes by version before generating.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
84cf1cc6f7 vrclient: Parse SDK versions and ABIs in parallel.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
6a3447715c vrclient: Split loading, parsing, and generating steps.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
abc91fc8f7 vrclient: Introduce a dedicated parsing function.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
08dc64ade0 vrclient: Use a dict for SDK sources / class mapping.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
977b589c03 lsteamclient: Use a dict for SDK sources / class mapping.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
f2fdf176a1 vrclient: Use upper-case global constants.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Rémi Bernon
6a06a8177f vrclient: Remove unused imports and duplicate entries.
CW-Bug-Id: #22729
2023-09-27 16:04:48 +03:00
Paul Gofman
8007ccf8cf vrclient: Support v1.26.7.
CW-Bug-Id: #22757
2023-09-27 16:04:48 +03:00
Paul Gofman
2f851ecb82 vrclient: Support v1.23.7. 2023-06-05 17:55:10 +03:00
Paul Gofman
967b7878e5 vrclient: Update clang path in gen_wrapper.py to 15. 2023-06-05 17:55:10 +03:00