Make include guard style consistent with the rest of the engine in the new module.

This commit is contained in:
Relintai 2023-01-13 22:04:30 +01:00
parent 7792c4f423
commit 7afddb9fc3
29 changed files with 66 additions and 61 deletions

View File

@ -1,5 +1,5 @@
#ifndef GSAIKINEMATICBODY2DAGENT_H
#define GSAIKINEMATICBODY2DAGENT_H
#ifndef GSAI_KINEMATIC_BODY_2D_AGENT_H
#define GSAI_KINEMATIC_BODY_2D_AGENT_H
class GSAIKinematicBody2DAgent : public GSAISpecializedAgent {
GDCLASS(GSAIKinematicBody2DAgent, GSAISpecializedAgent);

View File

@ -1,5 +1,5 @@
#ifndef GSAIKINEMATICBODY3DAGENT_H
#define GSAIKINEMATICBODY3DAGENT_H
#ifndef GSAI_KINEMATIC_BODY_3D_AGENT_H
#define GSAI_KINEMATIC_BODY_3D_AGENT_H
class GSAIKinematicBody3DAgent : public GSAISpecializedAgent {
GDCLASS(GSAIKinematicBody3DAgent, GSAISpecializedAgent);

View File

@ -1,5 +1,5 @@
#ifndef GSAIRIGIDBODY2DAGENT_H
#define GSAIRIGIDBODY2DAGENT_H
#ifndef GSAI_RIGID_BODY_2D_AGENT_H
#define GSAI_RIGID_BODY_2D_AGENT_H
class GSAIRigidBody2DAgent : public GSAISpecializedAgent {
GDCLASS(GSAIRigidBody2DAgent, GSAISpecializedAgent);

View File

@ -1,5 +1,5 @@
#ifndef GSAIRIGIDBODY3DAGENT_H
#define GSAIRIGIDBODY3DAGENT_H
#ifndef GSAI_RIGID_BODY_3D_AGENT_H
#define GSAI_RIGID_BODY_3D_AGENT_H
class GSAIRigidBody3DAgent : public GSAISpecializedAgent {
GDCLASS(GSAIRigidBody3DAgent, GSAISpecializedAgent);

View File

@ -1,5 +1,5 @@
#ifndef GSAISPECIALIZEDAGENT_H
#define GSAISPECIALIZEDAGENT_H
#ifndef GSAI_SPECIALIZED_AGENT_H
#define GSAI_SPECIALIZED_AGENT_H
class GSAISpecializedAgent : public GSAISteeringAgent {
GDCLASS(GSAISpecializedAgent, GSAISteeringAgent);

View File

@ -1,5 +1,5 @@
#ifndef GSAIARRIVE_H
#define GSAIARRIVE_H
#ifndef GSAI_ARRIVE_H
#define GSAI_ARRIVE_H
class GSAIArrive : public GSAISteeringBehavior {
GDCLASS(GSAIArrive, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIAVOIDCOLLISIONS_H
#define GSAIAVOIDCOLLISIONS_H
#ifndef GSAI_AVOID_COLLISIONS_H
#define GSAI_AVOID_COLLISIONS_H
class GSAIAvoidCollisions : public GSAIGroupBehavior {
GDCLASS(GSAIAvoidCollisions, GSAIGroupBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIBLEND_H
#define GSAIBLEND_H
#ifndef GSAI_BLEND_H
#define GSAI_BLEND_H
class GSAIBlend : public GSAISteeringBehavior {
GDCLASS(GSAIBlend, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAICOHESION_H
#define GSAICOHESION_H
#ifndef GSAI_COHESION_H
#define GSAI_COHESION_H
class GSAICohesion : public GSAIGroupBehavior {
GDCLASS(GSAICohesion, GSAIGroupBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIEVADE_H
#define GSAIEVADE_H
#ifndef GSAI_EVADE_H
#define GSAI_EVADE_H
class GSAIEvade : public GSAIPursue {
GDCLASS(GSAIEvade, GSAIPursue);

View File

@ -1,5 +1,5 @@
#ifndef GSAIFACE_H
#define GSAIFACE_H
#ifndef GSAI_FACE_H
#define GSAI_FACE_H
class GSAIFace : public GSAIMatchOrientation {
GDCLASS(GSAIFace, GSAIMatchOrientation);

View File

@ -1,5 +1,5 @@
#ifndef GSAIFLEE_H
#define GSAIFLEE_H
#ifndef GSAI_FLEE_H
#define GSAI_FLEE_H
class GSAIFlee : public GSAISeek {
GDCLASS(GSAIFlee, GSAISeek);

View File

@ -1,5 +1,5 @@
#ifndef GSAIFOLLOWPATH_H
#define GSAIFOLLOWPATH_H
#ifndef GSAI_FOLLOW_PATH_H
#define GSAI_FOLLOW_PATH_H
class GSAIFollowPath : public GSAIArrive {
GDCLASS(GSAIFollowPath, GSAIArrive);

View File

@ -1,5 +1,5 @@
#ifndef GSAILOOKWHEREYOUGO_H
#define GSAILOOKWHEREYOUGO_H
#ifndef GSAI_LOOK_WHERE_YOU_GO_H
#define GSAI_LOOK_WHERE_YOU_GO_H
class GSAILookWhereYouGo : public GSAIMatchOrientation {
GDCLASS(GSAILookWhereYouGo, GSAIMatchOrientation);

View File

@ -1,5 +1,5 @@
#ifndef GSAIMATCHORIENTATION_H
#define GSAIMATCHORIENTATION_H
#ifndef GSAI_MATCH_ORIENTATION_H
#define GSAI_MATCH_ORIENTATION_H
class GSAIMatchOrientation : public GSAISteeringBehavior {
GDCLASS(GSAIMatchOrientation, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIPRIORITY_H
#define GSAIPRIORITY_H
#ifndef GSAI_PRIORITY_H
#define GSAI_PRIORITY_H
class GSAIPriority : public GSAISteeringBehavior {
GDCLASS(GSAIPriority, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIPURSUE_H
#define GSAIPURSUE_H
#ifndef GSAI_PURSUE_H
#define GSAI_PURSUE_H
class GSAIPursue : public GSAISteeringBehavior {
GDCLASS(GSAIPursue, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAISEEK_H
#define GSAISEEK_H
#ifndef GSAI_SEEK_H
#define GSAI_SEEK_H
class GSAISeek : public GSAISteeringBehavior {
GDCLASS(GSAISeek, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAISEPARATION_H
#define GSAISEPARATION_H
#ifndef GSAI_SEPARATION_H
#define GSAI_SEPARATION_H
class GSAISeparation : public GSAIGroupBehavior {
GDCLASS(GSAISeparation, GSAIGroupBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIAGENTLOCATION_H
#define GSAIAGENTLOCATION_H
#ifndef GSAI_AGENT_LOCATION_H
#define GSAI_AGENT_LOCATION_H
class GSAIAgentLocation : public Reference {
GDCLASS(GSAIAgentLocation, Reference);

View File

@ -1,5 +1,5 @@
#ifndef GSAIGROUPBEHAVIOR_H
#define GSAIGROUPBEHAVIOR_H
#ifndef GSAI_GROUP_BEHAVIOR_H
#define GSAI_GROUP_BEHAVIOR_H
class GSAIGroupBehavior : public GSAISteeringBehavior {
GDCLASS(GSAIGroupBehavior, GSAISteeringBehavior);

View File

@ -1,5 +1,5 @@
#ifndef GSAIPATH_H
#define GSAIPATH_H
#ifndef GSAI_PATH_H
#define GSAI_PATH_H
class GSAIPath : public Reference {
GDCLASS(GSAIPath, Reference);

View File

@ -1,5 +1,5 @@
#ifndef GSAISTEERINGAGENT_H
#define GSAISTEERINGAGENT_H
#ifndef GSAI_STEERING_AGENT_H
#define GSAI_STEERING_AGENT_H
class GSAISteeringAgent : public GSAIAgentLocation {
GDCLASS(GSAISteeringAgent, GSAIAgentLocation);

View File

@ -1,5 +1,5 @@
#ifndef GSAISTEERINGBEHAVIOR_H
#define GSAISTEERINGBEHAVIOR_H
#ifndef GSAI_STEERING_BEHAVIOR_H
#define GSAI_STEERING_BEHAVIOR_H
class GSAISteeringBehavior : public Reference {
GDCLASS(GSAISteeringBehavior, Reference);

View File

@ -1,5 +1,13 @@
#ifndef GSAITARGETACCELERATION_H
#define GSAITARGETACCELERATION_H
#ifndef GSAI_TARGET_ACCELERATION_H
#define GSAI_TARGET_ACCELERATION_H
#include "core/int_types.h"
#include "core/math/vector3.h"
#include "core/object/reference.h"
// A desired linear and angular amount of acceleration requested by the steering
// system.
//Base type
class GSAITargetAcceleration : public Reference {
GDCLASS(GSAITargetAcceleration, Reference);
@ -22,9 +30,6 @@ public:
protected:
static void _bind_methods();
// A desired linear and angular amount of acceleration requested by the steering
// system.
// @category - Base types
// Linear acceleration
Vector3 linear = Vector3.ZERO;
// Angular acceleration

View File

@ -1,5 +1,5 @@
#ifndef GSAIUTILS_H
#define GSAIUTILS_H
#ifndef GSAI_UTILS_H
#define GSAI_UTILS_H
#include "core/int_types.h"
#include "core/math/math_funcs.h"

View File

@ -1,5 +1,5 @@
#ifndef GSAIINFINITEPROXIMITY_H
#define GSAIINFINITEPROXIMITY_H
#ifndef GSAI_INFINITE_PROXIMITY_H
#define GSAI_INFINITE_PROXIMITY_H
class GSAIInfiniteProximity : public GSAIProximity {
GDCLASS(GSAIInfiniteProximity, GSAIProximity);

View File

@ -1,5 +1,5 @@
#ifndef GSAIPROXIMITY_H
#define GSAIPROXIMITY_H
#ifndef GSAI_PROXIMITY_H
#define GSAI_PROXIMITY_H
class GSAIProximity : public Reference {
GDCLASS(GSAIProximity, Reference);

View File

@ -1,5 +1,5 @@
#ifndef GSAIRADIUSPROXIMITY_H
#define GSAIRADIUSPROXIMITY_H
#ifndef GSAI_RADIUS_PROXIMITY_H
#define GSAI_RADIUS_PROXIMITY_H
class GSAIRadiusProximity : public GSAIProximity {
GDCLASS(GSAIRadiusProximity, GSAIProximity);