diff --git a/symbols/CMakeLists.txt b/symbols/CMakeLists.txt index 90d452d8..79a2ae83 100644 --- a/symbols/CMakeLists.txt +++ b/symbols/CMakeLists.txt @@ -76,6 +76,7 @@ set(SRC src/level/LevelChunk.def src/level/ChunkSource.def src/level/ChunkCache.def + src/level/ChunkStorage.def src/level/LightLayer.def src/level/Level.def src/level/LevelRenderer.def diff --git a/symbols/src/level/ChunkCache.def b/symbols/src/level/ChunkCache.def index 599ce3fa..1a8d5225 100644 --- a/symbols/src/level/ChunkCache.def +++ b/symbols/src/level/ChunkCache.def @@ -1,3 +1,12 @@ extends ChunkSource; vtable 0x10fbc0; + +property int cachedX = 0x8; +property int cachedZ = 0xc; +property LevelChunk *emptyChunk = 0x10; +property ChunkSource *chunkSource = 0x14; +property ChunkStorage *chunkStorage = 0x18; +property LevelChunk *levelChunks[256] = 0x1c; +property Level *level = 0x41c; +property LevelChunk *cachedLevelChunk = 0x420; diff --git a/symbols/src/level/ChunkStorage.def b/symbols/src/level/ChunkStorage.def new file mode 100644 index 00000000..653dd22c --- /dev/null +++ b/symbols/src/level/ChunkStorage.def @@ -0,0 +1,6 @@ +virtual-method LevelChunk *load(Level *level, int chunk_x, int chunk_z) = 0x8; +virtual-method void save(Level *level, LevelChunk *level_chunk) = 0xc; +virtual-method void saveEntities(Level *level, LevelChunk *level_chunk) = 0x10; +virtual-method void saveAll(Level *level, std::vector *level_chunks) = 0x14; +virtual-method void tick() = 0x18; +virtual-method void flush() = 0x1c;