Finished initial implementation of Vehicles

This commit is contained in:
n00b87
2026-02-20 14:59:57 -06:00
parent b0f09c3aae
commit d53f5c43f6
13 changed files with 887 additions and 831 deletions

View File

@@ -2167,6 +2167,10 @@ embed_function("CreateTerrainActor", ID_TYPE_FN_NUM);
add_embedded_arg("hmap_file$", ID_TYPE_STR);
embed_function("CreateParticleActor", ID_TYPE_FN_NUM);
add_embedded_arg("particle_type", ID_TYPE_NUM);
embed_function("CreateProjectorActor", ID_TYPE_FN_NUM);
embed_function("CreateCompositeActor", ID_TYPE_FN_NUM);
embed_function("CreateVehicleActor", ID_TYPE_FN_NUM);
add_embedded_arg("chassis_actor", ID_TYPE_NUM);
embed_function("DeleteActor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorTransform", ID_TYPE_SUB);
@@ -2238,8 +2242,8 @@ embed_function("RemoveActorShadow", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("ActorExists", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("CreateProjectorActor", ID_TYPE_FN_NUM);
embed_function("CreateCompositeActor", ID_TYPE_FN_NUM);
embed_function("GetActorType", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("CreateActorAnimation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("start_frame", ID_TYPE_NUM);
@@ -2629,6 +2633,10 @@ 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("SetActorImpactMesh", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
embed_function("createPointConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("pxA", ID_TYPE_NUM);