mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
fix WorldFiles forward declaration
This commit is contained in:
parent
4f2448daed
commit
3adf97b1b8
2 changed files with 3 additions and 2 deletions
|
|
@ -27,7 +27,8 @@ static constexpr size_t get_entries_count(
|
||||||
|
|
||||||
std::shared_ptr<ContentLUT> ContentLUT::create(
|
std::shared_ptr<ContentLUT> ContentLUT::create(
|
||||||
const std::shared_ptr<WorldFiles>& worldFiles,
|
const std::shared_ptr<WorldFiles>& worldFiles,
|
||||||
const fs::path& filename, const Content* content
|
const fs::path& filename,
|
||||||
|
const Content* content
|
||||||
) {
|
) {
|
||||||
auto worldInfo = worldFiles->readWorldInfo();
|
auto worldInfo = worldFiles->readWorldInfo();
|
||||||
if (!worldInfo.has_value()) {
|
if (!worldInfo.has_value()) {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ struct contententry {
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct WorldFiles;
|
class WorldFiles;
|
||||||
|
|
||||||
template <typename T, class U>
|
template <typename T, class U>
|
||||||
class ContentUnitLUT {
|
class ContentUnitLUT {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue