Move MAP_INDEX_SIZE, NATIVE_WIDTH, NATIVE_HEIGHT, NATURAL_WIDTH, and NATURAL_HEIGHT from map.h to world_object.h.
All these refer to wld.map. They do work as they are, as we currently don't even try to support simultaneous map objects with different size or topology. I just want to start concentrating such direct references to the main map to one place, so that basically grepping for "wld.map" would reveal if some place hardcodes use of main map when it should not.
Move MAP_INDEX_SIZE, NATIVE_WIDTH, NATIVE_HEIGHT, NATURAL_WIDTH, and NATURAL_HEIGHT from map.h to world_object.h.
All these refer to wld.map. They do work as they are, as we currently don't even try to support simultaneous map objects with different size or topology. I just want to start concentrating such direct references to the main map to one place, so that basically grepping for "wld.map" would reveal if some place hardcodes use of main map when it should not.
Also prefixed those macros with "MAP_"