blob: e3d34c3fdb31ea3bc99f1c75bb1b21eaa5860acb (
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();
void registerIcons(IconRegister *iconRegister);
};
|