Relax restrictions on MAP_*
constant names
#614
Labels
release target
This should be resolved before the next release
MAP_*
constant names
#614
Currently Porymap requires that for any map
FooBar
its ID isMAP_FOO_BAR
. There's not much of a reason to require this, beyond the fact that we'd have to discover map IDs beforehand by opening everymap.json
file. We're already doing this in order to get MAPSEC and LAYOUT ids for the map list (and not caching the result!), so we may as well get all 3 of these constants on launch and relax the name restriction so that the only requirements are 1. it's unique, and 2. it begins with the user-provided prefix (MAP_
by default).The text was updated successfully, but these errors were encountered: