mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 04:43:36 +00:00
24 lines
604 B
C++
24 lines
604 B
C++
#pragma once
|
|
#include "Tile.h"
|
|
|
|
class ChunkRebuildData;
|
|
|
|
class HalfTransparentTile : public Tile {
|
|
friend class ChunkRebuildData;
|
|
|
|
private:
|
|
bool allowSame;
|
|
std::wstring texture;
|
|
|
|
protected:
|
|
HalfTransparentTile(int id, const std::wstring& tex, Material* material,
|
|
bool allowSame);
|
|
|
|
public:
|
|
virtual bool isSolidRender(bool isServerLevel = false);
|
|
virtual bool shouldRenderFace(LevelSource* level, int x, int y, int z,
|
|
int face);
|
|
virtual bool blocksLight();
|
|
virtual void registerIcons(IconRegister* iconRegister);
|
|
};
|