From cbd823aa2154a956e7da4319eecbf7afc10441ae Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 15:47:37 +0500 Subject: Remove include guards --- game/shared/entity/collision.hh | 4 ---- game/shared/entity/factory.hh | 4 ---- game/shared/entity/gravity.hh | 4 ---- game/shared/entity/head.hh | 4 ---- game/shared/entity/player.hh | 4 ---- game/shared/entity/stasis.hh | 4 ---- game/shared/entity/transform.hh | 4 ---- game/shared/entity/velocity.hh | 4 ---- 8 files changed, 32 deletions(-) (limited to 'game/shared/entity') diff --git a/game/shared/entity/collision.hh b/game/shared/entity/collision.hh index 536a066..33ddaac 100644 --- a/game/shared/entity/collision.hh +++ b/game/shared/entity/collision.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_COLLISION_HH -#define SHARED_ENTITY_COLLISION_HH 1 #pragma once #include "core/math/aabb.hh" @@ -21,5 +19,3 @@ public: static void fixed_update(world::Dimension* dimension); }; } // namespace entity - -#endif // SHARED_ENTITY_COLLISION_HH diff --git a/game/shared/entity/factory.hh b/game/shared/entity/factory.hh index c0e0716..e709060 100644 --- a/game/shared/entity/factory.hh +++ b/game/shared/entity/factory.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_FACTORY_HH -#define SHARED_ENTITY_FACTORY_HH 1 #pragma once namespace world @@ -11,5 +9,3 @@ namespace entity::shared { void create_player(world::Dimension* dimension, entt::entity entity); } // namespace entity::shared - -#endif // SHARED_ENTITY_FACTORY_HH diff --git a/game/shared/entity/gravity.hh b/game/shared/entity/gravity.hh index 064f92d..21f4582 100644 --- a/game/shared/entity/gravity.hh +++ b/game/shared/entity/gravity.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_GRAVITY_HH -#define SHARED_ENTITY_GRAVITY_HH 1 #pragma once namespace world @@ -14,5 +12,3 @@ public: static void fixed_update(world::Dimension* dimension); }; } // namespace entity - -#endif // SHARED_ENTITY_GRAVITY_HH diff --git a/game/shared/entity/head.hh b/game/shared/entity/head.hh index 1437207..3f5d6d1 100644 --- a/game/shared/entity/head.hh +++ b/game/shared/entity/head.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_HEAD_HH -#define SHARED_ENTITY_HEAD_HH 1 #pragma once namespace entity @@ -16,5 +14,3 @@ namespace entity::client struct HeadIntr final : public Head {}; struct HeadPrev final : public Head {}; } // namespace entity::client - -#endif // SHARED_ENTITY_HEAD_HH diff --git a/game/shared/entity/player.hh b/game/shared/entity/player.hh index 3c8be32..4bd0217 100644 --- a/game/shared/entity/player.hh +++ b/game/shared/entity/player.hh @@ -1,10 +1,6 @@ -#ifndef SHARED_ENTITY_PLAYER_HH -#define SHARED_ENTITY_PLAYER_HH 1 #pragma once namespace entity { struct Player final {}; } // namespace entity - -#endif // SHARED_ENTITY_PLAYER_HH diff --git a/game/shared/entity/stasis.hh b/game/shared/entity/stasis.hh index 27c0131..e6cb9e4 100644 --- a/game/shared/entity/stasis.hh +++ b/game/shared/entity/stasis.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_STASIS_HH -#define SHARED_ENTITY_STASIS_HH 1 #pragma once namespace world @@ -16,5 +14,3 @@ public: static void fixed_update(world::Dimension* dimension); }; } // namespace entity - -#endif // SHARED_ENTITY_STASIS_HH diff --git a/game/shared/entity/transform.hh b/game/shared/entity/transform.hh index b1fdcf4..2b357f8 100644 --- a/game/shared/entity/transform.hh +++ b/game/shared/entity/transform.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_TRANSFORM_HH -#define SHARED_ENTITY_TRANSFORM_HH 1 #pragma once #include "shared/types.hh" @@ -30,5 +28,3 @@ namespace entity::client struct TransformIntr final : public Transform {}; struct TransformPrev final : public Transform {}; } // namespace entity::client - -#endif // SHARED_ENTITY_TRANSFORM_HH diff --git a/game/shared/entity/velocity.hh b/game/shared/entity/velocity.hh index 5d4ec03..c8a1c91 100644 --- a/game/shared/entity/velocity.hh +++ b/game/shared/entity/velocity.hh @@ -1,5 +1,3 @@ -#ifndef SHARED_ENTITY_VELOCITY_HH -#define SHARED_ENTITY_VELOCITY_HH 1 #pragma once namespace world @@ -19,5 +17,3 @@ public: static void fixed_update(world::Dimension* dimension); }; } // namespace entity - -#endif // SHARED_VELOCITY_HH -- cgit