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 #ifndef GSAI_KINEMATIC_BODY_2D_AGENT_H
#define GSAIKINEMATICBODY2DAGENT_H #define GSAI_KINEMATIC_BODY_2D_AGENT_H
class GSAIKinematicBody2DAgent : public GSAISpecializedAgent { class GSAIKinematicBody2DAgent : public GSAISpecializedAgent {
GDCLASS(GSAIKinematicBody2DAgent, GSAISpecializedAgent); GDCLASS(GSAIKinematicBody2DAgent, GSAISpecializedAgent);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,13 @@
#ifndef GSAITARGETACCELERATION_H #ifndef GSAI_TARGET_ACCELERATION_H
#define GSAITARGETACCELERATION_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 { class GSAITargetAcceleration : public Reference {
GDCLASS(GSAITargetAcceleration, Reference); GDCLASS(GSAITargetAcceleration, Reference);
@ -22,9 +30,6 @@ public:
protected: protected:
static void _bind_methods(); static void _bind_methods();
// A desired linear and angular amount of acceleration requested by the steering
// system.
// @category - Base types
// Linear acceleration // Linear acceleration
Vector3 linear = Vector3.ZERO; Vector3 linear = Vector3.ZERO;
// Angular acceleration // Angular acceleration

View File

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

View File

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

View File

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

View File

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