diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-02 23:03:46 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-02 23:03:46 -0300 |
commit | 118eed485e8f928a5a0dab530ae93211afa10525 (patch) | |
tree | 83efb5cbcebb7046e5b64dfe1712475a7d3b7f14 /servers/physics | |
parent | ce26eb74bca48f16e9a34b4eb1c34e50dfc5daae (diff) |
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
Diffstat (limited to 'servers/physics')
-rw-r--r-- | servers/physics/body_sw.h | 2 | ||||
-rw-r--r-- | servers/physics/physics_server_sw.h | 2 | ||||
-rw-r--r-- | servers/physics/space_sw.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics/body_sw.h b/servers/physics/body_sw.h index 2855e03a81..9b28468b34 100644 --- a/servers/physics/body_sw.h +++ b/servers/physics/body_sw.h @@ -351,7 +351,7 @@ void BodySW::add_contact(const Vector3& p_local_pos,const Vector3& p_local_norma class PhysicsDirectBodyStateSW : public PhysicsDirectBodyState { - OBJ_TYPE( PhysicsDirectBodyStateSW, PhysicsDirectBodyState ); + GDCLASS( PhysicsDirectBodyStateSW, PhysicsDirectBodyState ); public: diff --git a/servers/physics/physics_server_sw.h b/servers/physics/physics_server_sw.h index 46c77dc722..bd9b5e4e30 100644 --- a/servers/physics/physics_server_sw.h +++ b/servers/physics/physics_server_sw.h @@ -39,7 +39,7 @@ class PhysicsServerSW : public PhysicsServer { - OBJ_TYPE( PhysicsServerSW, PhysicsServer ); + GDCLASS( PhysicsServerSW, PhysicsServer ); friend class PhysicsDirectSpaceStateSW; bool active; diff --git a/servers/physics/space_sw.h b/servers/physics/space_sw.h index 21973b785e..0abc4726ea 100644 --- a/servers/physics/space_sw.h +++ b/servers/physics/space_sw.h @@ -42,7 +42,7 @@ class PhysicsDirectSpaceStateSW : public PhysicsDirectSpaceState { - OBJ_TYPE( PhysicsDirectSpaceStateSW, PhysicsDirectSpaceState ); + GDCLASS( PhysicsDirectSpaceStateSW, PhysicsDirectSpaceState ); public: SpaceSW *space; |