Get rid of MSVC's __int64

Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
void_17
2026-03-02 15:53:32 +07:00
parent d6ec138710
commit d63f79325f
308 changed files with 5371 additions and 5379 deletions

View File

@@ -1,7 +1,7 @@
#include "stdafx.h"
#include "LevelSummary.h"
LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, __int64 lastPlayed, __int64 sizeOnDisk, GameType *gameMode, bool requiresConversion, bool hardcore, bool hasCheats) :
LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, int64_t lastPlayed, int64_t sizeOnDisk, GameType *gameMode, bool requiresConversion, bool hardcore, bool hasCheats) :
levelId( levelId ),
levelName( levelName ),
lastPlayed( lastPlayed ),
@@ -13,7 +13,7 @@ LevelSummary::LevelSummary(const wstring& levelId, const wstring& levelName, __i
{
}
wstring LevelSummary::getLevelId()
wstring LevelSummary::getLevelId()
{
return levelId;
}
@@ -23,28 +23,28 @@ wstring LevelSummary::getLevelName()
return levelName;
}
__int64 LevelSummary::getSizeOnDisk()
int64_t LevelSummary::getSizeOnDisk()
{
return sizeOnDisk;
}
bool LevelSummary::isRequiresConversion()
bool LevelSummary::isRequiresConversion()
{
return requiresConversion;
}
__int64 LevelSummary::getLastPlayed()
int64_t LevelSummary::getLastPlayed()
{
return lastPlayed;
}
int LevelSummary::compareTo(LevelSummary *rhs)
int LevelSummary::compareTo(LevelSummary *rhs)
{
if (lastPlayed < rhs->lastPlayed)
{
return 1;
}
if (lastPlayed > rhs->lastPlayed)
if (lastPlayed > rhs->lastPlayed)
{
return -1;
}