diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-20 13:40:34 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-20 13:40:34 +0200 |
commit | d006ea533763c19d0c35877e87c1384bdd65630d (patch) | |
tree | 24d45e32142ac5b9553caa47c62e4e71e45bceaf /source/ChunkMap.h | |
parent | PACKET_DESTROY_ENTITY isn't sent for self when the player is kicked (FS #254) (diff) | |
download | cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar.gz cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar.bz2 cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar.lz cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar.xz cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.tar.zst cuberite-d006ea533763c19d0c35877e87c1384bdd65630d.zip |
Diffstat (limited to '')
-rw-r--r-- | source/ChunkMap.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source/ChunkMap.h b/source/ChunkMap.h index 98b1e2d7e..af84b9ce6 100644 --- a/source/ChunkMap.h +++ b/source/ChunkMap.h @@ -135,12 +135,15 @@ public: int GetHeight (int a_BlockX, int a_BlockZ); void FastSetBlocks (sSetBlockList & a_BlockList); void CollectPickupsByPlayer(cPlayer * a_Player); - BLOCKTYPE GetBlock (int a_X, int a_Y, int a_Z); - BLOCKTYPE GetBlockMeta (int a_X, int a_Y, int a_Z); - BLOCKTYPE GetBlockSkyLight (int a_X, int a_Y, int a_Z); - void SetBlockMeta (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockMeta); - void SetBlock (int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta); - void GetBlockTypeMeta(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); + + BLOCKTYPE GetBlock (int a_BlockX, int a_BlockY, int a_BlockZ); + NIBBLETYPE GetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ); + NIBBLETYPE GetBlockSkyLight (int a_BlockX, int a_BlockY, int a_BlockZ); + NIBBLETYPE GetBlockBlockLight(int a_BlockX, int a_BlockY, int a_BlockZ); + void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockMeta); + void SetBlock (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta); + void GetBlockTypeMeta (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); + void GetBlockInfo (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight); /// Replaces world blocks with a_Blocks, if they are of type a_FilterBlockType void ReplaceBlocks(const sSetBlockVector & a_Blocks, BLOCKTYPE a_FilterBlockType); |