summaryrefslogtreecommitdiffstats
path: root/game/shared/item_registry.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/shared/item_registry.hh
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/shared/item_registry.hh')
-rw-r--r--game/shared/item_registry.hh12
1 files changed, 6 insertions, 6 deletions
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<std::shared_ptr<ItemInfo>> 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