first commit
This commit is contained in:
19
Minecraft.World/HalfTransparentTile.h
Normal file
19
Minecraft.World/HalfTransparentTile.h
Normal file
@@ -0,0 +1,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);
|
||||
};
|
||||
Reference in New Issue
Block a user