I’m looking to pick up https://github.com/CleverRaven/Cataclysm-DDA/pull/23376, with the eventual goal of making the size of the reality bubble into compile time option, or more preferably, something that can be selected from a list, either during world creation or during play.
game_constants.h defines MAX_VIEW_DISTANCE as ( SEEX * int( MAPSIZE / 2 ) ), which normally works out as 60. But lightmap.cpp and player.cpp hardcode max distance to 60.
Is that 60 in lightmap.cpp (cast_zlight and build_seen_cache) and player.cpp (unimpaired_range) really supposed to be MAX_VIEW_DISTANCE? If so, I’m guessing that directly adjusting MAX_VIEW_DISTANCE will break things. What breaks if I set MAPSIZE to 13?