Fix compile-time errors with updated godot-cpp

This commit is contained in:
Serhii Snitsaruk 2024-05-28 19:50:57 +02:00
parent dbb89e6883
commit 361eb3eb15
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
50 changed files with 105 additions and 0 deletions

View File

@ -18,6 +18,8 @@ class BBAabb : public BBParam {
GDCLASS(BBAabb, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::AABB; }
};

View File

@ -18,6 +18,8 @@ class BBArray : public BBParam {
GDCLASS(BBArray, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBBasis : public BBParam {
GDCLASS(BBBasis, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::BASIS; }
};

View File

@ -18,6 +18,8 @@ class BBBool : public BBParam {
GDCLASS(BBBool, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::BOOL; }
};

View File

@ -18,6 +18,8 @@ class BBByteArray : public BBParam {
GDCLASS(BBByteArray, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_BYTE_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBColor : public BBParam {
GDCLASS(BBColor, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::COLOR; }
};

View File

@ -18,6 +18,8 @@ class BBColorArray : public BBParam {
GDCLASS(BBColorArray, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_COLOR_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBDictionary : public BBParam {
GDCLASS(BBDictionary, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::DICTIONARY; }
};

View File

@ -18,6 +18,8 @@ class BBFloat : public BBParam {
GDCLASS(BBFloat, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::FLOAT; }
};

View File

@ -18,6 +18,8 @@ class BBFloat32Array : public BBParam {
GDCLASS(BBFloat32Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT32_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBFloat64Array : public BBParam {
GDCLASS(BBFloat64Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_FLOAT64_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBInt : public BBParam {
GDCLASS(BBInt, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::INT; }
};

View File

@ -18,6 +18,8 @@ class BBInt32Array : public BBParam {
GDCLASS(BBInt32Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_INT32_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBInt64Array : public BBParam {
GDCLASS(BBInt64Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_INT64_ARRAY; }
};

View File

@ -17,6 +17,9 @@
class BBNode : public BBParam {
GDCLASS(BBNode, BBParam);
protected:
static void _bind_methods() {}
public:
virtual Variant::Type get_type() const override { return Variant::NODE_PATH; }
virtual Variant get_value(Node *p_scene_root, const Ref<Blackboard> &p_blackboard, const Variant &p_default = Variant()) override;

View File

@ -18,6 +18,8 @@ class BBPlane : public BBParam {
GDCLASS(BBPlane, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PLANE; }
};

View File

@ -18,6 +18,8 @@ class BBProjection : public BBParam {
GDCLASS(BBProjection, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PROJECTION; }
};

View File

@ -18,6 +18,8 @@ class BBQuaternion : public BBParam {
GDCLASS(BBQuaternion, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::QUATERNION; }
};

View File

@ -18,6 +18,8 @@ class BBRect2 : public BBParam {
GDCLASS(BBRect2, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::RECT2; }
};

View File

@ -18,6 +18,8 @@ class BBRect2i : public BBParam {
GDCLASS(BBRect2i, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::RECT2I; }
};

View File

@ -18,6 +18,8 @@ class BBString : public BBParam {
GDCLASS(BBString, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::STRING; }
};

View File

@ -18,6 +18,8 @@ class BBStringArray : public BBParam {
GDCLASS(BBStringArray, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_STRING_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBStringName : public BBParam {
GDCLASS(BBStringName, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::STRING_NAME; }
};

View File

@ -18,6 +18,8 @@ class BBTransform2D : public BBParam {
GDCLASS(BBTransform2D, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::TRANSFORM2D; }
};

View File

@ -18,6 +18,8 @@ class BBTransform3D : public BBParam {
GDCLASS(BBTransform3D, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::TRANSFORM3D; }
};

View File

@ -18,6 +18,8 @@ class BBVector2 : public BBParam {
GDCLASS(BBVector2, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR2; }
};

View File

@ -18,6 +18,8 @@ class BBVector2Array : public BBParam {
GDCLASS(BBVector2Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR2_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBVector2i : public BBParam {
GDCLASS(BBVector2i, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR2I; }
};

View File

@ -18,6 +18,8 @@ class BBVector3 : public BBParam {
GDCLASS(BBVector3, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR3; }
};

View File

@ -18,6 +18,8 @@ class BBVector3Array : public BBParam {
GDCLASS(BBVector3Array, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::PACKED_VECTOR3_ARRAY; }
};

View File

@ -18,6 +18,8 @@ class BBVector3i : public BBParam {
GDCLASS(BBVector3i, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR3I; }
};

View File

@ -18,6 +18,8 @@ class BBVector4 : public BBParam {
GDCLASS(BBVector4, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR4; }
};

View File

@ -18,6 +18,8 @@ class BBVector4i : public BBParam {
GDCLASS(BBVector4i, BBParam);
protected:
static void _bind_methods() {}
virtual Variant::Type get_type() const override { return Variant::VECTOR4I; }
};

View File

@ -17,6 +17,9 @@
class BTAction : public BTTask {
GDCLASS(BTAction, BTTask);
protected:
static void _bind_methods() {}
public:
virtual PackedStringArray get_configuration_warnings() override;
};

View File

@ -18,6 +18,9 @@ class BTComment : public BTTask {
GDCLASS(BTComment, BTTask);
TASK_CATEGORY(Utility);
protected:
static void _bind_methods() {}
public:
virtual Ref<BTTask> clone() const override;
virtual PackedStringArray get_configuration_warnings() override;

View File

@ -17,6 +17,9 @@
class BTComposite : public BTTask {
GDCLASS(BTComposite, BTTask);
protected:
static void _bind_methods() {}
public:
virtual PackedStringArray get_configuration_warnings() override;
};

View File

@ -17,6 +17,9 @@
class BTCondition : public BTTask {
GDCLASS(BTCondition, BTTask);
protected:
static void _bind_methods() {}
public:
virtual PackedStringArray get_configuration_warnings() override;
};

View File

@ -18,6 +18,8 @@ class BTDecorator : public BTTask {
GDCLASS(BTDecorator, BTTask)
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
public:

View File

@ -22,6 +22,8 @@ private:
int last_running_idx = 0;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -22,6 +22,8 @@ private:
int last_running_idx = 0;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -23,6 +23,8 @@ private:
Array indicies;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -23,6 +23,8 @@ private:
Array indicies;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -22,6 +22,8 @@ private:
int last_running_idx = 0;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -22,6 +22,8 @@ private:
int last_running_idx = 0;
protected:
static void _bind_methods() {}
virtual void _enter() override;
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTAlwaysFail : public BTDecorator {
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTAlwaysSucceed : public BTDecorator {
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTInvert : public BTDecorator {
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTRepeatUntilFailure : public BTDecorator {
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTRepeatUntilSuccess : public BTDecorator {
TASK_CATEGORY(Decorators);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};

View File

@ -19,6 +19,8 @@ class BTFail : public BTAction {
TASK_CATEGORY(Utility);
protected:
static void _bind_methods() {}
virtual Status _tick(double p_delta) override;
};