CHUNKPOS macro -> ChunkPos typedef

This commit is contained in:
Gent S
2020-11-16 09:59:53 -05:00
parent b22ba781c8
commit 8ad3f3aabd
7 changed files with 36 additions and 36 deletions

View File

@@ -32,8 +32,8 @@
#define MAPNUM(x) ((x) & 0xffffffff)
#define PLAYERID(x) ((x) >> 32)
// macro for chunk position type
#define CHUNKPOS std::tuple<int, int, uint64_t>
// typedef for chunk position tuple
typedef std::tuple<int, int, uint64_t> ChunkPos;
// TODO: rewrite U16toU8 & U8toU16 to not use codecvt