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/client/entity/camera.hh | 4 ---- game/client/entity/factory.hh | 4 ---- game/client/entity/interpolation.hh | 4 ---- game/client/entity/listener.hh | 4 ---- game/client/entity/player_look.hh | 4 ---- game/client/entity/player_move.hh | 4 ---- game/client/entity/sound_emitter.hh | 4 ---- 7 files changed, 28 deletions(-) (limited to 'game/client/entity') diff --git a/game/client/entity/camera.hh b/game/client/entity/camera.hh index 2484bfd..67baf72 100644 --- a/game/client/entity/camera.hh +++ b/game/client/entity/camera.hh @@ -1,5 +1,3 @@ -#ifndef CLIENT_CAMERA_HH -#define CLIENT_CAMERA_HH 1 #pragma once #include "shared/types.hh" @@ -31,5 +29,3 @@ namespace entity::camera void init(void); void update(void); } // namespace entity::camera - -#endif // CLIENT_CAMERA_HH diff --git a/game/client/entity/factory.hh b/game/client/entity/factory.hh index b9d3f45..63e6e44 100644 --- a/game/client/entity/factory.hh +++ b/game/client/entity/factory.hh @@ -1,5 +1,3 @@ -#ifndef CLIENT_FACTORY_HH -#define CLIENT_FACTORY_HH 1 #pragma once namespace world @@ -11,5 +9,3 @@ namespace entity::client { void create_player(world::Dimension* dimension, entt::entity entity); } // namespace entity::client - -#endif // CLIENT_FACTORY_HH diff --git a/game/client/entity/interpolation.hh b/game/client/entity/interpolation.hh index 74a2b7e..6935fe8 100644 --- a/game/client/entity/interpolation.hh +++ b/game/client/entity/interpolation.hh @@ -1,10 +1,6 @@ -#ifndef CLIENT_INTERPOLATION_HH -#define CLIENT_INTERPOLATION_HH 1 #pragma once namespace entity::interpolation { void update(void); } // namespace entity::interpolation - -#endif // CLIENT_INTERPOLATION_HH diff --git a/game/client/entity/listener.hh b/game/client/entity/listener.hh index fd76816..594cde1 100644 --- a/game/client/entity/listener.hh +++ b/game/client/entity/listener.hh @@ -1,10 +1,6 @@ -#ifndef CLIENT_LISTENER_HH -#define CLIENT_LISTENER_HH 1 #pragma once namespace entity::listener { void update(void); } // namespace entity::listener - -#endif // CLIENT_LISTENER_HH diff --git a/game/client/entity/player_look.hh b/game/client/entity/player_look.hh index 6532b8f..0ae18db 100644 --- a/game/client/entity/player_look.hh +++ b/game/client/entity/player_look.hh @@ -1,5 +1,3 @@ -#ifndef CLIENT_PLAYER_LOOK_HH -#define CLIENT_PLAYER_LOOK_HH 1 #pragma once namespace entity::player_look @@ -7,5 +5,3 @@ namespace entity::player_look void init(void); void update_late(void); } // namespace entity::player_look - -#endif // CLIENT_PLAYER_LOOK_HH diff --git a/game/client/entity/player_move.hh b/game/client/entity/player_move.hh index aa221f3..8c033cc 100644 --- a/game/client/entity/player_move.hh +++ b/game/client/entity/player_move.hh @@ -1,5 +1,3 @@ -#ifndef CLIENT_PLAYER_MOVE_HH -#define CLIENT_PLAYER_MOVE_HH 1 #pragma once constexpr static float PMOVE_MAX_SPEED_AIR = 16.0f; @@ -15,5 +13,3 @@ void init(void); void fixed_update(void); void update_late(void); } // namespace entity::player_move - -#endif // CLIENT_PLAYER_MOVE_HH diff --git a/game/client/entity/sound_emitter.hh b/game/client/entity/sound_emitter.hh index d5834d1..72a3f74 100644 --- a/game/client/entity/sound_emitter.hh +++ b/game/client/entity/sound_emitter.hh @@ -1,5 +1,3 @@ -#ifndef CLIENT_SOUND_EMITTER_HH -#define CLIENT_SOUND_EMITTER_HH 1 #pragma once #include "core/resource/resource.hh" @@ -20,5 +18,3 @@ public: static void update(void); }; } // namespace entity - -#endif // CLIENT_SOUND_EMITTER_HH -- cgit