Closed curioustorvald closed 3 years ago
Seems working, only thing left to do is actually implementing an autosave and see if it's actually significantly faster than saving the entire world.
Chunks should be stored vertically from top-left, just like the worldgen
0xLC_CCCC
And then we can put World Index onto this, like:0xWW_WWLC_CCCC
Since 0..0xFFFFFFFF is occupied, we should use different address space, e.g.
0x0000_WWWW_LLCC_CCCC
, and just occupy larger address space because why not? (note: world index starts from 1)0x0000_0000_0000_WWWW
holds World Meta information.