Makes all Godot API's methods Lower Case
This commit is contained in:
@@ -415,7 +415,7 @@ void Physics2DServerSW::area_clear_shapes(RID p_area) {
|
||||
area->remove_shape(0);
|
||||
}
|
||||
|
||||
void Physics2DServerSW::area_attach_object_instance_ID(RID p_area, ObjectID p_ID) {
|
||||
void Physics2DServerSW::area_attach_object_instance_id(RID p_area, ObjectID p_ID) {
|
||||
|
||||
if (space_owner.owns(p_area)) {
|
||||
Space2DSW *space = space_owner.get(p_area);
|
||||
@@ -425,7 +425,7 @@ void Physics2DServerSW::area_attach_object_instance_ID(RID p_area, ObjectID p_ID
|
||||
ERR_FAIL_COND(!area);
|
||||
area->set_instance_id(p_ID);
|
||||
}
|
||||
ObjectID Physics2DServerSW::area_get_object_instance_ID(RID p_area) const {
|
||||
ObjectID Physics2DServerSW::area_get_object_instance_id(RID p_area) const {
|
||||
|
||||
if (space_owner.owns(p_area)) {
|
||||
Space2DSW *space = space_owner.get(p_area);
|
||||
@@ -510,7 +510,7 @@ void Physics2DServerSW::area_set_monitor_callback(RID p_area, Object *p_receiver
|
||||
Area2DSW *area = area_owner.get(p_area);
|
||||
ERR_FAIL_COND(!area);
|
||||
|
||||
area->set_monitor_callback(p_receiver ? p_receiver->get_instance_ID() : 0, p_method);
|
||||
area->set_monitor_callback(p_receiver ? p_receiver->get_instance_id() : 0, p_method);
|
||||
}
|
||||
|
||||
void Physics2DServerSW::area_set_area_monitor_callback(RID p_area, Object *p_receiver, const StringName &p_method) {
|
||||
@@ -518,7 +518,7 @@ void Physics2DServerSW::area_set_area_monitor_callback(RID p_area, Object *p_rec
|
||||
Area2DSW *area = area_owner.get(p_area);
|
||||
ERR_FAIL_COND(!area);
|
||||
|
||||
area->set_area_monitor_callback(p_receiver ? p_receiver->get_instance_ID() : 0, p_method);
|
||||
area->set_area_monitor_callback(p_receiver ? p_receiver->get_instance_id() : 0, p_method);
|
||||
}
|
||||
|
||||
/* BODY API */
|
||||
@@ -706,7 +706,7 @@ Physics2DServerSW::CCDMode Physics2DServerSW::body_get_continuous_collision_dete
|
||||
return body->get_continuous_collision_detection_mode();
|
||||
}
|
||||
|
||||
void Physics2DServerSW::body_attach_object_instance_ID(RID p_body, uint32_t p_ID) {
|
||||
void Physics2DServerSW::body_attach_object_instance_id(RID p_body, uint32_t p_ID) {
|
||||
|
||||
Body2DSW *body = body_owner.get(p_body);
|
||||
ERR_FAIL_COND(!body);
|
||||
@@ -714,7 +714,7 @@ void Physics2DServerSW::body_attach_object_instance_ID(RID p_body, uint32_t p_ID
|
||||
body->set_instance_id(p_ID);
|
||||
};
|
||||
|
||||
uint32_t Physics2DServerSW::body_get_object_instance_ID(RID p_body) const {
|
||||
uint32_t Physics2DServerSW::body_get_object_instance_id(RID p_body) const {
|
||||
|
||||
Body2DSW *body = body_owner.get(p_body);
|
||||
ERR_FAIL_COND_V(!body, 0);
|
||||
@@ -922,7 +922,7 @@ void Physics2DServerSW::body_set_force_integration_callback(RID p_body, Object *
|
||||
|
||||
Body2DSW *body = body_owner.get(p_body);
|
||||
ERR_FAIL_COND(!body);
|
||||
body->set_force_integration_callback(p_receiver ? p_receiver->get_instance_ID() : ObjectID(0), p_method, p_udata);
|
||||
body->set_force_integration_callback(p_receiver ? p_receiver->get_instance_id() : ObjectID(0), p_method, p_udata);
|
||||
}
|
||||
|
||||
bool Physics2DServerSW::body_collide_shape(RID p_body, int p_body_shape, RID p_shape, const Transform2D &p_shape_xform, const Vector2 &p_motion, Vector2 *r_results, int p_result_max, int &r_result_count) {
|
||||
|
||||
Reference in New Issue
Block a user