markers - generate from config file

This commit is contained in:
Azgaar 2021-09-25 21:49:34 +03:00 committed by Peter
parent 0530ebbde7
commit b156f3cdf9
6 changed files with 499 additions and 839 deletions

View file

@ -2,7 +2,10 @@
// https://github.com/Azgaar/Fantasy-Map-Generator
"use strict";
// set debug options
const version = "1.662"; // generator version
document.title += " v" + version;
// Switches to disable/enable logging features
const PRODUCTION = location.hostname && location.hostname !== "localhost" && location.hostname !== "127.0.0.1";
const DEBUG = localStorage.getItem("debug");
const INFO = DEBUG || !PRODUCTION;