diff options
| author | untodesu <kirill@untode.su> | 2025-06-29 23:09:09 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-29 23:09:20 +0500 |
| commit | e98d38816e0b4cd75265ec741b4dc4d8b144ed25 (patch) | |
| tree | c20a807350864d7a58b4fbed8b8ef94aaf2729aa /src/game/shared | |
| parent | 3a0c1aa9b1fb82d44ceed8da8bab013b50cccd0e (diff) | |
| download | voxelius-e98d38816e0b4cd75265ec741b4dc4d8b144ed25.tar.bz2 voxelius-e98d38816e0b4cd75265ec741b4dc4d8b144ed25.zip | |
Replace #endif comments because it bothers me
Diffstat (limited to 'src/game/shared')
28 files changed, 28 insertions, 28 deletions
diff --git a/src/game/shared/chunk.hh b/src/game/shared/chunk.hh index 67bedae..2603537 100644 --- a/src/game/shared/chunk.hh +++ b/src/game/shared/chunk.hh @@ -36,4 +36,4 @@ private: unsigned int m_biome; }; -#endif /* SHARED_CHUNK_HH */ +#endif // SHARED_CHUNK_HH diff --git a/src/game/shared/chunk_aabb.hh b/src/game/shared/chunk_aabb.hh index 7a35dd4..abc629b 100644 --- a/src/game/shared/chunk_aabb.hh +++ b/src/game/shared/chunk_aabb.hh @@ -29,4 +29,4 @@ public: chunk_pos max; }; -#endif /* SHARED_CHUNK_AABB */ +#endif // SHARED_CHUNK_AABB diff --git a/src/game/shared/collision.hh b/src/game/shared/collision.hh index 641a803..1d2b358 100644 --- a/src/game/shared/collision.hh +++ b/src/game/shared/collision.hh @@ -16,4 +16,4 @@ public: static void fixed_update(Dimension* dimension); }; -#endif /* SHARED_COLLISION_HH */ +#endif // SHARED_COLLISION_HH diff --git a/src/game/shared/const.hh b/src/game/shared/const.hh index 4639c4b..4061481 100644 --- a/src/game/shared/const.hh +++ b/src/game/shared/const.hh @@ -44,4 +44,4 @@ constexpr static glm::vec<2, T> ZERO_VEC2 = glm::vec<2, T>(0, 0); template<typename T> constexpr static glm::vec<3, T> ZERO_VEC3 = glm::vec<3, T>(0, 0, 0); -#endif /* SHARED_CONST_HH */ +#endif // SHARED_CONST_HH diff --git a/src/game/shared/coord.hh b/src/game/shared/coord.hh index f1a2e70..72d2909 100644 --- a/src/game/shared/coord.hh +++ b/src/game/shared/coord.hh @@ -146,4 +146,4 @@ inline constexpr glm::fvec3 coord::to_fvec3(const chunk_pos& cpos, const glm::fv }; } -#endif /* SHARED_COORD_HH */ +#endif // SHARED_COORD_HH diff --git a/src/game/shared/dimension.hh b/src/game/shared/dimension.hh index c609a14..398a4ce 100644 --- a/src/game/shared/dimension.hh +++ b/src/game/shared/dimension.hh @@ -82,4 +82,4 @@ struct VoxelSetEvent final { Chunk* chunk; }; -#endif /* SHARED_DIMENSION_HH */ +#endif // SHARED_DIMENSION_HH diff --git a/src/game/shared/factory.hh b/src/game/shared/factory.hh index c3449dd..ff39a00 100644 --- a/src/game/shared/factory.hh +++ b/src/game/shared/factory.hh @@ -9,4 +9,4 @@ namespace shared_factory void create_player(Dimension* dimension, entt::entity entity); } // namespace shared_factory -#endif /* SHARED_FACTORY */ +#endif // SHARED_FACTORY diff --git a/src/game/shared/feature.hh b/src/game/shared/feature.hh index 04f38e8..b676adb 100644 --- a/src/game/shared/feature.hh +++ b/src/game/shared/feature.hh @@ -19,4 +19,4 @@ public: void place(const voxel_pos& vpos, const chunk_pos& cpos, VoxelStorage& voxels) const; }; -#endif /* SHARED_FEATURE_HH */ +#endif // SHARED_FEATURE_HH diff --git a/src/game/shared/game.hh b/src/game/shared/game.hh index 59c5327..a9d79e4 100644 --- a/src/game/shared/game.hh +++ b/src/game/shared/game.hh @@ -8,4 +8,4 @@ void init(int argc, char** argv); void deinit(void); } // namespace shared_game -#endif /* SHARED_GAME */ +#endif // SHARED_GAME diff --git a/src/game/shared/game_items.hh b/src/game/shared/game_items.hh index 4e4eb81..2b5c19a 100644 --- a/src/game/shared/game_items.hh +++ b/src/game/shared/game_items.hh @@ -23,4 +23,4 @@ namespace game_items void populate(void); } // namespace game_items -#endif /* SHARED_GAME_ITEMS */ +#endif // SHARED_GAME_ITEMS diff --git a/src/game/shared/game_voxels.hh b/src/game/shared/game_voxels.hh index 1b344bf..e96e141 100644 --- a/src/game/shared/game_voxels.hh +++ b/src/game/shared/game_voxels.hh @@ -25,4 +25,4 @@ namespace game_voxels void populate(void); } // namespace game_voxels -#endif /* SHARED_GAME_VOXELS */ +#endif // SHARED_GAME_VOXELS diff --git a/src/game/shared/globals.hh b/src/game/shared/globals.hh index 216d341..bfaf6cb 100644 --- a/src/game/shared/globals.hh +++ b/src/game/shared/globals.hh @@ -20,4 +20,4 @@ namespace globals extern std::uint64_t curtime; } // namespace globals -#endif /* SHARED_GLOBALS_HH */ +#endif // SHARED_GLOBALS_HH diff --git a/src/game/shared/gravity.hh b/src/game/shared/gravity.hh index 53f51b7..19387c1 100644 --- a/src/game/shared/gravity.hh +++ b/src/game/shared/gravity.hh @@ -9,4 +9,4 @@ public: static void fixed_update(Dimension* dimension); }; -#endif /* SHARED_GRAVITY_HH */ +#endif // SHARED_GRAVITY_HH diff --git a/src/game/shared/grounded.hh b/src/game/shared/grounded.hh index 869cca0..a30b1dc 100644 --- a/src/game/shared/grounded.hh +++ b/src/game/shared/grounded.hh @@ -10,4 +10,4 @@ struct GroundedComponent final { voxel_surface surface; }; -#endif /* SHARED_GROUNDED */ +#endif // SHARED_GROUNDED diff --git a/src/game/shared/head.hh b/src/game/shared/head.hh index 57dd445..41304ef 100644 --- a/src/game/shared/head.hh +++ b/src/game/shared/head.hh @@ -11,4 +11,4 @@ struct HeadComponent { struct HeadComponentIntr final : public HeadComponent {}; struct HeadComponentPrev final : public HeadComponent {}; -#endif /* SHARED_HEAD_HH */ +#endif // SHARED_HEAD_HH diff --git a/src/game/shared/item_registry.hh b/src/game/shared/item_registry.hh index 17cff9f..8847e97 100644 --- a/src/game/shared/item_registry.hh +++ b/src/game/shared/item_registry.hh @@ -59,4 +59,4 @@ namespace item_registry std::uint64_t calcualte_checksum(void); } // namespace item_registry -#endif /* SHARED_ITEM_REGISTRY_HH */ +#endif // SHARED_ITEM_REGISTRY_HH diff --git a/src/game/shared/pch.hh b/src/game/shared/pch.hh index 1776f9b..8607dd3 100644 --- a/src/game/shared/pch.hh +++ b/src/game/shared/pch.hh @@ -22,4 +22,4 @@ #include <spdlog/sinks/basic_file_sink.h> #include <spdlog/sinks/stdout_color_sinks.h> -#endif /* SHARED_PCH_HH */ +#endif // SHARED_PCH_HH diff --git a/src/game/shared/player.hh b/src/game/shared/player.hh index a01b4f2..4f862d3 100644 --- a/src/game/shared/player.hh +++ b/src/game/shared/player.hh @@ -4,4 +4,4 @@ struct PlayerComponent final {}; -#endif /* SHARED_PLAYER_HH */ +#endif // SHARED_PLAYER_HH diff --git a/src/game/shared/protocol.hh b/src/game/shared/protocol.hh index 5b25628..fa9f1e1 100644 --- a/src/game/shared/protocol.hh +++ b/src/game/shared/protocol.hh @@ -210,4 +210,4 @@ struct protocol::DimensionInfo final : public protocol::Base<0x0012> { float gravity; }; -#endif /* SHARED_PROTOCOL_HH */ +#endif // SHARED_PROTOCOL_HH diff --git a/src/game/shared/ray_dda.hh b/src/game/shared/ray_dda.hh index 91eb462..504fa7b 100644 --- a/src/game/shared/ray_dda.hh +++ b/src/game/shared/ray_dda.hh @@ -34,4 +34,4 @@ public: voxel_pos vpos; }; -#endif /* SHARED_RAY_DDA */ +#endif // SHARED_RAY_DDA diff --git a/src/game/shared/splash.hh b/src/game/shared/splash.hh index 9510d35..f494a5b 100644 --- a/src/game/shared/splash.hh +++ b/src/game/shared/splash.hh @@ -9,4 +9,4 @@ void init_server(void); const char* get(void); } // namespace splash -#endif /* SHARED_SPLASH_HH */ +#endif // SHARED_SPLASH_HH diff --git a/src/game/shared/stasis.hh b/src/game/shared/stasis.hh index bd06d4e..2907cfb 100644 --- a/src/game/shared/stasis.hh +++ b/src/game/shared/stasis.hh @@ -11,4 +11,4 @@ public: static void fixed_update(Dimension* dimension); }; -#endif /* SHARED_STASIS_HH */ +#endif // SHARED_STASIS_HH diff --git a/src/game/shared/threading.hh b/src/game/shared/threading.hh index bce4811..474d616 100644 --- a/src/game/shared/threading.hh +++ b/src/game/shared/threading.hh @@ -47,4 +47,4 @@ inline void threading::submit(AT&&... args) threading::detail::submit_new(new T(args...)); } -#endif /* SHARED_THREADING_HH */ +#endif // SHARED_THREADING_HH diff --git a/src/game/shared/transform.hh b/src/game/shared/transform.hh index f9c5f47..1a1be0e 100644 --- a/src/game/shared/transform.hh +++ b/src/game/shared/transform.hh @@ -22,4 +22,4 @@ public: struct TransformComponentIntr final : public TransformComponent {}; struct TransformComponentPrev final : public TransformComponent {}; -#endif /* SHARED_TRANSFORM_HH */ +#endif // SHARED_TRANSFORM_HH diff --git a/src/game/shared/types.hh b/src/game/shared/types.hh index 85fbd19..161ea46 100644 --- a/src/game/shared/types.hh +++ b/src/game/shared/types.hh @@ -41,4 +41,4 @@ struct std::hash<chunk_pos_xz> final { } }; -#endif /* SHARED_TYPES_HH */ +#endif // SHARED_TYPES_HH diff --git a/src/game/shared/velocity.hh b/src/game/shared/velocity.hh index 45a2858..17da420 100644 --- a/src/game/shared/velocity.hh +++ b/src/game/shared/velocity.hh @@ -14,4 +14,4 @@ public: static void fixed_update(Dimension* dimension); }; -#endif /* SHARED_VELOCITY_HH */ +#endif // SHARED_VELOCITY_HH diff --git a/src/game/shared/voxel_registry.hh b/src/game/shared/voxel_registry.hh index 5f7963f..e0b2100 100644 --- a/src/game/shared/voxel_registry.hh +++ b/src/game/shared/voxel_registry.hh @@ -141,4 +141,4 @@ namespace voxel_registry std::uint64_t calcualte_checksum(void); } // namespace voxel_registry -#endif /* SHARED_VOXEL_REGISTRY_HH */ +#endif // SHARED_VOXEL_REGISTRY_HH diff --git a/src/game/shared/voxel_storage.hh b/src/game/shared/voxel_storage.hh index a31cf3e..702bdac 100644 --- a/src/game/shared/voxel_storage.hh +++ b/src/game/shared/voxel_storage.hh @@ -15,4 +15,4 @@ public: void deserialize(ReadBuffer& buffer); }; -#endif /* SHARED_VOXEL_STORAGE_HH */ +#endif // SHARED_VOXEL_STORAGE_HH |
