Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
// Dimension of a MapBlock
#define MAP_BLOCKSIZE 16
// This makes mesh updates too slow, as many meshes are updated during
// the main loop (related to TempMods and day/night)
//#define MAP_BLOCKSIZE 32
I've toyed with this just the tiniest bit, changing it to 10, and seen no negative results (actually confirming it was now loading/drawing blocks of 10^3 was a bit of doing, is there any easy way to get a block highlight?). A ton more testing to do, tons of questions like;
Would trying to load a map generated with different block size be any problem?
EDIT- Answer: Yes, it fails to load with an 'invalid block data' message.
Is there some innate desirability of sizes such as 8/16/32/etc. (powers of eight or two?), or for a particular specific size, or an absolute maximum size, due to the size of variables used in other parts of the code?
Is smaller always better performance, as larger would seem to be always worse?