6th progress on entity collision
@@ -297,6 +297,24 @@ const char *Script_GetFunctionName(void *functionRef)
return "set_body_collision_property";
}
+ // Entity collision (ebox)
+ else if (functionRef == ((void *)openbor_get_entity_collision_collection))
+ {
+ return "get_entity_collision_collection";
+ }
+ else if (functionRef == ((void *)openbor_get_entity_collision_instance))
+ {
+ return "get_entity_collision_instance";
+ }
+ else if (functionRef == ((void *)openbor_get_entity_collision_property))
+ {
+ return "get_entity_collision_property";
+ }
+ else if (functionRef == ((void *)openbor_set_entity_collision_property))
+ {
+ return "set_entity_collision_property";
+ }
+
else if (functionRef == ((void *)openbor_tossentity))
{
return "tossentity";
@@ -1129,6 +1147,16 @@ void Script_LoadSystemFunctions()
List_InsertAfter(&theFunctionList,
(void *)openbor_set_body_collision_property, "set_body_collision_property");
+ // Entity collision (ebox) properties.
+ List_InsertAfter(&theFunctionList,
+ (void *)openbor_get_entity_collision_collection, "get_entity_collision_collection");
+ List_InsertAfter(&theFunctionList,
+ (void *)openbor_get_entity_collision_instance, "get_entity_collision_instance");
+ List_InsertAfter(&theFunctionList,
+ (void *)openbor_get_entity_collision_property, "get_entity_collision_property");
+ List_InsertAfter(&theFunctionList,
+ (void *)openbor_set_entity_collision_property, "set_entity_collision_property");
+
// Energy status properties.
List_InsertAfter(&theFunctionList,
(void *)openbor_get_energy_status_property, "get_energy_status_property");
