From 88c01588aa0830e219eaa62588839e4d1e2883ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Wed, 25 Jun 2025 00:44:36 +0500 Subject: Clang-format the entire source code --- game/shared/item_registry.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'game/shared/item_registry.hh') diff --git a/game/shared/item_registry.hh b/game/shared/item_registry.hh index 83b6053..17cff9f 100644 --- a/game/shared/item_registry.hh +++ b/game/shared/item_registry.hh @@ -21,12 +21,12 @@ struct ItemInfo final { class ItemInfoBuilder final { public: - explicit ItemInfoBuilder(const char *name); + explicit ItemInfoBuilder(const char* name); virtual ~ItemInfoBuilder(void) = default; public: - ItemInfoBuilder &set_texture(const char *texture); - ItemInfoBuilder &set_place_voxel(voxel_id place_voxel); + ItemInfoBuilder& set_texture(const char* texture); + ItemInfoBuilder& set_place_voxel(voxel_id place_voxel); public: item_id build(void) const; @@ -44,9 +44,9 @@ extern std::vector> items; namespace item_registry { -ItemInfoBuilder &construct(const char *name); -ItemInfo *find(const char *name); -ItemInfo *find(const item_id item); +ItemInfoBuilder& construct(const char* name); +ItemInfo* find(const char* name); +ItemInfo* find(const item_id item); } // namespace item_registry namespace item_registry -- cgit