Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:26:08 -05:00
commit b0e73a61aa
16345 files changed
+3104967

No files matched your search

@@ -0,0 +1,30 @@
#pragma once
#include "Tile_SPU.h"
class StairTile_SPU : public Tile_SPU
{
public:
static const int UPSIDEDOWN_BIT = 4;
// the direction is the way going up (for normal non-upsidedown stairs)
static const int DIR_EAST = 0;
static const int DIR_WEST = 1;
static const int DIR_SOUTH = 2;
static const int DIR_NORTH = 3;
public:
StairTile_SPU(int id) : Tile_SPU(id) {}
void updateShape(ChunkRebuildData *level, int x, int y, int z, int forceData = -1, TileEntity* forceEntity = NULL); // 4J added forceData, forceEntity param
bool isSolidRender(bool isServerLevel = false);
int getRenderShape();
void setBaseShape(ChunkRebuildData *level, int x, int y, int z);
static bool isStairs(int id);
private:
bool isLockAttached(ChunkRebuildData *level, int x, int y, int z, int data);
public:
bool setStepShape(ChunkRebuildData *level, int x, int y, int z);
bool setInnerPieceShape(ChunkRebuildData *level, int x, int y, int z);
};