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()
This commit is contained in:
Juan Linietsky
2017-01-02 23:03:46 -03:00
parent ce26eb74bc
commit 118eed485e
751 changed files with 8046 additions and 7810 deletions

View File

@ -37,7 +37,7 @@ class Physics2DDirectSpaceState;
class Physics2DDirectBodyState : public Object {
OBJ_TYPE( Physics2DDirectBodyState, Object );
GDCLASS( Physics2DDirectBodyState, Object );
protected:
static void _bind_methods();
public:
@ -90,7 +90,7 @@ class Physics2DShapeQueryResult;
//used for script
class Physics2DShapeQueryParameters : public Reference {
OBJ_TYPE(Physics2DShapeQueryParameters, Reference);
GDCLASS(Physics2DShapeQueryParameters, Reference);
friend class Physics2DDirectSpaceState;
RID shape;
Matrix32 transform;
@ -133,7 +133,7 @@ public:
class Physics2DDirectSpaceState : public Object {
OBJ_TYPE( Physics2DDirectSpaceState, Object );
GDCLASS( Physics2DDirectSpaceState, Object );
Dictionary _intersect_ray(const Vector2& p_from, const Vector2& p_to,const Vector<RID>& p_exclude=Vector<RID>(),uint32_t p_layers=0,uint32_t p_object_type_mask=TYPE_MASK_COLLISION);
@ -211,7 +211,7 @@ public:
class Physics2DShapeQueryResult : public Reference {
OBJ_TYPE( Physics2DShapeQueryResult, Reference );
GDCLASS( Physics2DShapeQueryResult, Reference );
Vector<Physics2DDirectSpaceState::ShapeResult> result;
@ -234,7 +234,7 @@ class Physics2DTestMotionResult;
class Physics2DServer : public Object {
OBJ_TYPE( Physics2DServer, Object );
GDCLASS( Physics2DServer, Object );
static Physics2DServer * singleton;
@ -576,7 +576,7 @@ public:
class Physics2DTestMotionResult : public Reference {
OBJ_TYPE( Physics2DTestMotionResult, Reference );
GDCLASS( Physics2DTestMotionResult, Reference );
Physics2DServer::MotionResult result;
bool colliding;