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:
MatthewBeshay
2026-03-30 17:36:15 +11:00
parent b28650976d
commit 28d68befd4
175 changed files with 4220 additions and 4220 deletions

View File

@@ -1095,9 +1095,9 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction,
ui.AnimateKeyPress(iPad, iAction, bRepeat, true, false);
int buttonNum = 0; // 0 = LeftMouse, 1 = RightMouse
bool quickKeyHeld = FALSE; // Represents shift key on PC
bool quickKeyHeld = false; // Represents shift key on PC
bool validKeyPress = FALSE;
bool validKeyPress = false;
bool itemEditorKeyPress = false;
// Ignore input from other players
@@ -1106,7 +1106,7 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction,
switch (iAction) {
#if defined(_DEBUG_MENUS_ENABLED)
case ACTION_MENU_OTHER_STICK_PRESS:
itemEditorKeyPress = TRUE;
itemEditorKeyPress = true;
break;
#endif
case ACTION_MENU_A:
@@ -1256,14 +1256,14 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction,
// over empty space or something else???
handleOtherClicked(iPad, m_eCurrSection, buttonNum,
quickKeyHeld ? true : false);
// assert( FALSE );
// assert( false );
}
}
}
bHandled = true;
}
#if defined(_DEBUG_MENUS_ENABLED)
else if (itemEditorKeyPress == TRUE) {
else if (itemEditorKeyPress == true) {
if (IsSectionSlotList(m_eCurrSection)) {
ItemEditorInput* initData = new ItemEditorInput();
initData->iPad = getPad();