[FIXED] Saving/Loading terrain bug
#4
Your edit is correct, but since I'm trying to remove cChunkPtr's from everywhere, it's not the path I've taken.

Instead I'm marking chunks as dirty, and unloading skips dirty chunks.

This way the world storage need not store cChunkPtrs but rather cChunkCoords, asking the world for the actual chunks when they are to be really saved.
Reply
Thanks given by:


Messages In This Thread
[FIXED] Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 09:59 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:26 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 10:30 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:48 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:05 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:24 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:57 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:21 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 11:49 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:23 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 01:34 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:54 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 02:04 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 02:57 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 04:05 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 05:24 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 06:53 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 07:12 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 09:46 PM
RE: Saving/Loading terrain bug - by Boo - 02-17-2012, 10:29 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 11:15 PM
RE: Saving/Loading terrain bug - by xoft - 02-18-2012, 03:11 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-18-2012, 10:10 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 12:09 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-19-2012, 01:40 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 04:07 AM



Users browsing this thread: 7 Guest(s)