Possible fix for chunking desyncs + CHUNKPOS macro

This commit is contained in:
Gent S
2020-11-14 18:36:04 -05:00
parent cc74b01f72
commit b22ba781c8
7 changed files with 42 additions and 35 deletions

View File

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