mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-02 11:55:13 +00:00
Replace remaining WinAPI types with standard C++ equivalents
DWORD→uint32_t, BYTE→uint8_t, HRESULT→int32_t, HANDLE→void*, UINT→uint32_t, INT→int32_t, WORD→uint16_t, LONG→int32_t, SHORT→int16_t, LONGLONG→int64_t, ULONG_PTR→uintptr_t, PBYTE→uint8_t*, LPWSTR/PWSTR→wchar_t*, FLOAT→float, CHAR→char, boolean→bool, CONST→const, TRUE→true, FALSE→false across 176 files (excluding vendor libs and Linux stubs).
This commit is contained in:
@@ -477,7 +477,7 @@ void Socket::SocketOutputStreamNetwork::writeWithFlags(byteArray b,
|
||||
hostPlayer->SendData(socketPlayer, buffer.pbyData,
|
||||
buffer.dwDataSize, lowPriority, requireAck);
|
||||
|
||||
// DWORD queueSize = hostPlayer->GetSendQueueSize( nullptr,
|
||||
// uint32_t queueSize = hostPlayer->GetSendQueueSize( nullptr,
|
||||
// QNET_GETSENDQUEUESIZE_BYTES ); if( queueSize > 24000 )
|
||||
// {
|
||||
// //printf("Queue size is: %d, forcing
|
||||
|
||||
Reference in New Issue
Block a user