mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-05-21 21:49:46 +00:00
fully implemented stoneslab2 with craftings and revisited existing slabs according to wii u decomp todo:Material.cs
29 lines
448 B
C++
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];
|
|
} |