View Single Post
Old November 23, 2016, 12:20   #16
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,403
PowerWyrm is on a distinguished road
Originally Posted by Pete Mack View Post
Seems to me storing levels makes more sense per player than per grid region. MxN gets big fast. But the number of players should be more or less constant.
Only a pointer is stored per wilderness square, which is NULL by default (except the town/suburb). The corresponding level is only allocated when a player enters the area (and deallocated when there are no more players on the level).
PWMAngband variant maintainer - check (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote