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

@@ -11,22 +11,22 @@ class LevelType;
class Layer
{
private:
__int64 seed;
int64_t seed;
protected:
shared_ptr<Layer>parent;
private:
__int64 rval;
__int64 seedMixup;
int64_t rval;
int64_t seedMixup;
public:
static LayerArray getDefaultLayers(__int64 seed, LevelType *levelType);
static LayerArray getDefaultLayers(int64_t seed, LevelType *levelType);
Layer(__int64 seedMixup);
Layer(int64_t seedMixup);
virtual void init(__int64 seed);
virtual void initRandom(__int64 x, __int64 y);
virtual void init(int64_t seed);
virtual void initRandom(int64_t x, int64_t y);
protected:
int nextRandom(int max);