mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-11 22:23:00 +00:00
20 lines
365 B
C++
20 lines
365 B
C++
#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);
|
|
|
|
}
|