Remove all MSVC __int64 (#742)

This commit is contained in:
void_17
2026-03-07 03:31:30 +07:00
committed by GitHub
parent 175fc3824e
commit 988e3042e0
277 changed files with 3672 additions and 3684 deletions

View File

@@ -59,13 +59,13 @@ protected:
ThreadStorage();
};
static DWORD tlsIdxShape;
public:
public:
// Each new thread that needs to use Vec3 pools will need to call one of the following 2 functions, to either create its own
// local storage, or share the default storage already allocated by the main thread
static void CreateNewThreadStorage();
static void ReleaseThreadStorage();
public:
public:
static const int TILE_NUM_COUNT = 4096;
static const int TILE_NUM_MASK = 0xfff; // 4096 - 1
static const int TILE_NUM_SHIFT = 12; // 4096 is 12 bits
@@ -118,7 +118,7 @@ public:
static SoundType *SOUND_NORMAL;
static SoundType *SOUND_WOOD;
static SoundType *SOUND_GRAVEL;
static SoundType *SOUND_GRASS;
static SoundType *SOUND_GRASS;
static SoundType *SOUND_STONE;
static SoundType *SOUND_METAL;
static SoundType *SOUND_GLASS;
@@ -704,7 +704,7 @@ public:
virtual void playerWillDestroy(Level *level, int x, int y, int z, int data, shared_ptr<Player> player);
virtual void onRemoving(Level *level, int x, int y, int z, int data);
virtual void handleRain(Level *level, int x, int y, int z);
virtual void levelTimeChanged(Level *level, __int64 delta, __int64 newTime);
virtual void levelTimeChanged(Level *level, int64_t delta, int64_t newTime);
virtual bool useOwnCloneData();
virtual bool canInstantlyTick();
virtual bool dropFromExplosion(Explosion *explosion);
@@ -719,7 +719,7 @@ protected:
public:
virtual void registerIcons(IconRegister *iconRegister);
virtual wstring getTileItemIconName();
virtual wstring getTileItemIconName();
// AP - added this function so we can generate the faceFlags for a block in a single fast function
int getFaceFlags(LevelSource *level, int x, int y, int z);