Added SetActorShapeEx()

This commit is contained in:
n00b87
2025-10-12 00:21:34 -05:00
parent 3fa3dbb4e3
commit 8f7fd7d453
11 changed files with 729 additions and 667 deletions

View File

@@ -2075,6 +2075,15 @@ add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("ReCalculateMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("MakePlanarTextureMap", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("resolution", ID_TYPE_NUM);
embed_function("ReCalculateMeshNormals", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("GetMeshPolygonCount", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("FlipMeshSurfaces", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateAnimatedActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateOctreeActor", ID_TYPE_FN_NUM);
@@ -2516,6 +2525,11 @@ add_embedded_arg("z", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_z", ID_TYPE_BYREF_NUM);
embed_function("SetActorShapeEx", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("shape_type", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("createPointConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("pxA", ID_TYPE_NUM);