More chunk symbols

This commit is contained in:
Bigjango13 2024-04-16 10:19:39 -07:00 committed by TheBrokenRail
parent f010e51c3a
commit f3f8e342d8
3 changed files with 16 additions and 0 deletions

View File

@ -76,6 +76,7 @@ set(SRC
src/level/LevelChunk.def src/level/LevelChunk.def
src/level/ChunkSource.def src/level/ChunkSource.def
src/level/ChunkCache.def src/level/ChunkCache.def
src/level/ChunkStorage.def
src/level/LightLayer.def src/level/LightLayer.def
src/level/Level.def src/level/Level.def
src/level/LevelRenderer.def src/level/LevelRenderer.def

View File

@ -1,3 +1,12 @@
extends ChunkSource; extends ChunkSource;
vtable 0x10fbc0; 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;

View File

@ -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<LevelChunk *> *level_chunks) = 0x14;
virtual-method void tick() = 0x18;
virtual-method void flush() = 0x1c;