Lodestone.Level
Loading...
Searching...
No Matches
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
8
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
#define ADD_BLOCK(name, id)
Definition Blocks.h:11
Definition Block.cpp:6
Definition Blocks.h:10
static constexpr const lodestone::common::registry::Identifier NONE
Definition Blocks.h:18