refactor: replace double-underscore MSVC integer types with stdint

This commit is contained in:
Tropical
2026-03-30 00:08:25 -05:00
parent e45151ae64
commit 6ed953a3c3
42 changed files with 91 additions and 100 deletions

View File

@@ -708,12 +708,12 @@ void UIScene_CreateWorldMenu::CreateGame(UIScene_CreateWorldMenu* pClass,
// start the game
bool isFlat = pClass->m_MoreOptionsParams.bFlatWorld;
__int64 seedValue = 0;
int64_t seedValue = 0;
NetworkGameInitData* param = new NetworkGameInitData();
if (wSeed.length() != 0) {
__int64 value = 0;
int64_t value = 0;
unsigned int len = (unsigned int)wSeed.length();
// Check if the input string contains a numerical value
@@ -728,7 +728,7 @@ void UIScene_CreateWorldMenu::CreateGame(UIScene_CreateWorldMenu* pClass,
}
// If the input string is a numerical value, convert it to a number
if (isNumber) value = _fromString<__int64>(wSeed);
if (isNumber) value = _fromString<int64_t>(wSeed);
// If the value is not 0 use it, otherwise use the algorithm from the
// java String.hashCode() function to hash it