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

@@ -16,7 +16,7 @@ public:
};
protected:
unordered_map<__int64, StructureStart *> cachedStructures;
unordered_map<int64_t, StructureStart *> cachedStructures;
public:
~StructureFeature();
@@ -29,12 +29,12 @@ public:
bool isInsideFeature(int cellX, int cellY, int cellZ);
TilePos *getNearestGeneratedFeature(Level *level, int cellX, int cellY, int cellZ);
protected:
vector<TilePos> *getGuesstimatedFeaturePositions();
vector<TilePos> *getGuesstimatedFeaturePositions();
/**
* Returns true if the given chunk coordinates should hold a structure
* source.
*
*
* @param x
* chunk x
* @param z
@@ -47,7 +47,7 @@ protected:
/**
* Creates a new instance of a structure source at the given chunk
* coordinates.
*
*
* @param x
* chunk x
* @param z