Files
cafeberry/Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/TreeTile_SPU.h
T
pieeebot 2dfad97503 wip_feat(PS3): Implement SPU variants for a portion of TU19's blocks
crashes at a stack overflow, cant be assed to fix it atm
2026-07-14 19:52:30 +03:00

32 lines
738 B
C++

#pragma once
#include "RotatedPillarTile_SPU.h"
class Player;
class TreeTile_SPU : public RotatedPillarTile_SPU
{
public:
static const int DARK_TRUNK = 1;
static const int BIRCH_TRUNK = 2;
static const int JUNGLE_TRUNK = 3;
static const int MASK_TYPE = 0x3;
static const int MASK_FACING = 0xC;
static const int FACING_Y = 0 << 2;
static const int FACING_X = 1 << 2;
static const int FACING_Z = 2 << 2;
static const int TREE_NAMES_LENGTH = 4;
TreeTile_SPU(int id) : RotatedPillarTile_SPU(id) {}
public:
Icon_SPU *getTypeTexture(int type) {
return &ms_pTileData->treeTile_icons_side[type];
};
Icon_SPU *getTopTexture(int type) {
return &ms_pTileData->treeTile_icons_top[type];
};
};