You might want to just use a 3D array if the memory required is reasonable. So if you've got 40x40 zones, I'd just create a TList[,] and eat the (minimal) allocation cost. If you've got 1000x1000x1000 zones, then you're better off using a TMap. Of course, if you've got a billion zones you've probably got a really clever algorithm for generating/packing them, so...
MMORPG
BlitzMax Forums/BlitzMax Programming/MMORPGThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.