mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-27 14:36:30 +01:00
feat: blockstates
still a work in progress
This commit is contained in:
1 parent
fc35ef155b
commit
d89fadff68
80 files changed
+2249
-2
No files matched your search
@@ -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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user