Files
Lord_Cambion 4c8e38c721 feat: stoneslab2
fully implemented stoneslab2 with craftings and revisited existing slabs according to wii u decomp

todo:Material.cs
2026-04-21 01:32:02 +03:00

29 lines
448 B
C++

#include "stdafx.h"
#include "Facing.h"
const int Facing::OPPOSITE_FACING[6] =
{
UP, DOWN, SOUTH, NORTH, EAST, WEST
};
const int Facing::STEP_X[6] =
{
0, 0, 0, 0, -1, 1
};
const int Facing::STEP_Y[6] =
{
-1, 1, 0, 0, 0, 0
};
const int Facing::STEP_Z[6] =
{
0, 0, -1, 1, 0, 0
};
const wstring Facing::NAMES[] = {L"DOWN", L"UP", L"NORTH", L"SOUTH", L"WEST", L"EAST"};
int Facing::getOpposite(int facing)
{
return OPPOSITE_FACING[facing];
}