TU19: merge Minecraft.World/Level

This commit is contained in:
Tropical
2026-03-21 17:07:51 -05:00
parent 29522d1ac9
commit 86e08af338
73 changed files with 3013 additions and 1259 deletions

View File

@@ -3,7 +3,7 @@
#include "ZoneIO.h"
namespace {
bool SeekFile(std::FILE* file, __int64 offset) {
bool SeekFile(std::FILE* file, int64_t offset) {
#if defined(_WIN32)
return _fseeki64(file, offset, SEEK_SET) == 0;
#else
@@ -12,7 +12,7 @@ bool SeekFile(std::FILE* file, __int64 offset) {
}
} // namespace
ZoneIo::ZoneIo(std::FILE* channel, __int64 pos) {
ZoneIo::ZoneIo(std::FILE* channel, int64_t pos) {
this->channel = channel;
this->pos = pos;
}