Lodestone.Level
Loading...
Searching...
No Matches
projects
Libraries
Level
include
Lodestone.Level
block
Blocks.h
Go to the documentation of this file.
1
//
2
// Created by DexrnZacAttack on 10/17/25 using zPc-i2.
3
//
4
#ifndef LODESTONE_BLOCKS_H
5
#define LODESTONE_BLOCKS_H
6
7
#include <
Lodestone.Common/registry/Identifier.h
>
8
9
namespace
lodestone::level::block
{
10
struct
Blocks
{
11
#define ADD_BLOCK(name, id) \
12
static constexpr const lodestone::common::registry::Identifier name = \
13
lodestone::common::registry::Identifier { \
14
"lodestone", "block/" id \
15
}
16
17
// todo we can replace with builtin EMPTY block since Air might not be what we want across games
18
ADD_BLOCK
(
NONE
,
"none"
);
19
};
20
}
// namespace lodestone::level::block
21
22
#endif
// LODESTONE_BLOCKS_H
ADD_BLOCK
#define ADD_BLOCK(name, id)
Definition
Blocks.h:11
Identifier.h
lodestone::level::block
Definition
Block.cpp:6
lodestone::level::block::Blocks
Definition
Blocks.h:10
lodestone::level::block::Blocks::NONE
static constexpr const lodestone::common::registry::Identifier NONE
Definition
Blocks.h:18
Generated by
1.15.0