feat: blockstates

still a work in progress
This commit is contained in:
Fireblade
2026-05-02 15:14:48 -04:00
parent fc35ef155b
commit d89fadff68
80 changed files with 2249 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <string>
#include "Tile.h"
namespace BlockStateDecoder {
// door stuff is here cause idk what i was doing when i intially started this
struct DoorProps {
int dir;
std::wstring dirName;
bool open;
bool upper;
bool hingeRight;
};
DoorProps decodeDoor(int composite);
std::wstring doorPropsToString(const DoorProps &p);
}