blob: 41908ef29870bcf0f271eda817453a5c09738ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Tile.h"
class ChunkRebuildData;
class HalfTransparentTile : public Tile
{
friend class ChunkRebuildData;
private:
bool allowSame;
wstring texture;
protected:
HalfTransparentTile(int id, const 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);
};
|