diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-02 14:29:52 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-06 13:21:21 +0200 |
commit | 171c59a01b07b7513cf7a281bbcb141e8182d274 (patch) | |
tree | 6fd4b835b68b2dcde80a3f868d0b83f2987d2a54 /src/ChunkDef.h | |
parent | Improved link power behaviour (diff) | |
download | cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar.gz cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar.bz2 cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar.lz cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar.xz cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.tar.zst cuberite-171c59a01b07b7513cf7a281bbcb141e8182d274.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkDef.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h index a1273bd23..57c4e6918 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -514,32 +514,3 @@ typedef cCoordWithData<BLOCKTYPE> cCoordWithBlock; typedef std::list<cCoordWithInt> cCoordWithIntList; typedef std::vector<cCoordWithInt> cCoordWithIntVector; - - - - - -/** Generic template that can store two types of any kind of data together with a triplet of 3 coords */ -template <typename X, typename Z> class cCoordWithDoubleData -{ -public: - int x; - int y; - int z; - X Data; - Z DataTwo; - - cCoordWithDoubleData(int a_X, int a_Y, int a_Z) : - x(a_X), y(a_Y), z(a_Z) - { - } - - cCoordWithDoubleData(int a_X, int a_Y, int a_Z, const X & a_Data, const Z & a_DataTwo) : - x(a_X), y(a_Y), z(a_Z), Data(a_Data), DataTwo(a_DataTwo) - { - } -}; - -typedef cCoordWithDoubleData <BLOCKTYPE, bool> cCoordWithBlockAndBool; - -typedef std::vector<cCoordWithBlockAndBool> cCoordWithBlockAndBoolVector; |