replace WinsockNetLayer with PlatformNetworkManagerWindows, implement external server stats

This commit is contained in:
DrPerkyLegit committed 2026-11-24 19:24:01 -05:00
1 parent 62b92d5c0b
commit f434aae3af
42 files changed
+2621 -3406

No files matched your search

+2 -2
View File
@@ -1327,7 +1327,7 @@ void CompressedTileStorage::write(DataOutputStream *dos)
unsigned char *localIndicesAndData = *(unsigned char *volatile *)&indicesAndData;
if(localIndicesAndData)
{
if(LOCALSYTEM_ENDIAN == BIGENDIAN)
if(LOCALSYTEM_ENDIAN == BYTE_ORDER_BIG_ENDIAN)
{
// The first 1024 bytes are an array of shorts, so we need to reverse the endianness
byteArray indicesCopy(1024);
@@ -1365,7 +1365,7 @@ void CompressedTileStorage::read(DataInputStream *dis)
byteArray wrapper(indicesAndData, allocatedSize);
dis->readFully(wrapper);
if(LOCALSYTEM_ENDIAN == BIGENDIAN)
if(LOCALSYTEM_ENDIAN == BYTE_ORDER_BIG_ENDIAN)
{
reverseIndices(indicesAndData);
}