|
2346 | 2346 |
|
2347 | 2347 | <div id="dialogs"> |
2348 | 2348 | <div id="worldConfigurator" class="dialog stable" style="display: none"> |
2349 | | - <div> |
| 2349 | + <div style="display: flex"> |
2350 | 2350 | <div id="worldControls"> |
2351 | 2351 | <div> |
2352 | 2352 | <i data-locked="0" id="lock_temperatureEquator" class="icon-lock-open"></i> |
2353 | 2353 | <label data-tip="Set temperature at equator"> |
2354 | 2354 | <i>Equator:</i> |
| 2355 | + <input id="temperatureEquatorInput" data-stored="temperatureEquator" type="number" min="-50" max="50" /> |
| 2356 | + <span>°C = <span id="temperatureEquatorF"></span></span> |
| 2357 | + <input id="temperatureEquatorOutput" data-stored="temperatureEquator" type="range" min="-50" max="50" /> |
| 2358 | + </label> |
| 2359 | + </div> |
| 2360 | + <div> |
| 2361 | + <label data-tip="Set the North Pole average yearly temperature"> |
| 2362 | + <i data-locked="0" id="lock_temperatureNorthPole" class="icon-lock-open"></i> |
| 2363 | + <i>North Pole:</i> |
2355 | 2364 | <input |
2356 | | - id="temperatureEquatorInput" |
2357 | | - data-stored="temperatureEquator" |
| 2365 | + id="temperatureNorthPoleInput" |
| 2366 | + data-stored="temperatureNorthPole" |
2358 | 2367 | type="number" |
2359 | 2368 | min="-50" |
2360 | 2369 | max="50" |
2361 | | - />°C = <span id="temperatureEquatorF"></span>°F |
2362 | | - <input id="temperatureEquatorOutput" data-stored="temperatureEquator" type="range" min="-50" max="50" /> |
| 2370 | + /> |
| 2371 | + <span>°C = <span id="temperatureNorthPoleF"></span></span> |
| 2372 | + <input |
| 2373 | + id="temperatureNorthPoleOutput" |
| 2374 | + data-stored="temperatureNorthPole" |
| 2375 | + type="range" |
| 2376 | + min="-50" |
| 2377 | + max="50" |
| 2378 | + /> |
2363 | 2379 | </label> |
2364 | 2380 | </div> |
| 2381 | + |
2365 | 2382 | <div> |
2366 | | - <i data-locked="0" id="lock_temperaturePole" class="icon-lock-open"></i> |
2367 | | - <label data-tip="Set temperature near poles"> |
2368 | | - <i>Poles:</i> |
2369 | | - <input id="temperaturePoleInput" data-stored="temperaturePole" type="number" min="-50" max="50" />°C = |
2370 | | - <span id="temperaturePoleF"></span>°F |
2371 | | - <input id="temperaturePoleOutput" data-stored="temperaturePole" type="range" min="-50" max="50" /> |
| 2383 | + <label data-tip="Set the South Pole average yearly temperature"> |
| 2384 | + <i data-locked="0" id="lock_temperatureSouthPole" class="icon-lock-open"></i> |
| 2385 | + <i>South Pole:</i> |
| 2386 | + <input |
| 2387 | + id="temperatureSouthPoleInput" |
| 2388 | + data-stored="temperatureSouthPole" |
| 2389 | + type="number" |
| 2390 | + min="-50" |
| 2391 | + max="50" |
| 2392 | + /> |
| 2393 | + <span>°C = <span id="temperatureSouthPoleF"></span></span> |
| 2394 | + <input |
| 2395 | + id="temperatureSouthPoleOutput" |
| 2396 | + data-stored="temperatureSouthPole" |
| 2397 | + type="range" |
| 2398 | + min="-50" |
| 2399 | + max="50" |
| 2400 | + /> |
2372 | 2401 | </label> |
2373 | 2402 | </div> |
2374 | 2403 | <div> |
|
2424 | 2453 | <div data-tip="Map coordinates on globe"><i>Coords:</i> <span id="mapCoordinates"></span></div> |
2425 | 2454 | </div> |
2426 | 2455 |
|
2427 | | - <svg id="globe" width="22em" height="22em" viewBox="-20 -25 240 240"> |
2428 | | - <defs> |
2429 | | - <linearGradient id="temperatureGradient" x1="0" x2="0" y1="0" y2="1"> |
2430 | | - <stop class="tempGradient90" offset="0%" stop-color="blue" /> |
2431 | | - <stop class="tempGradient60" offset="16.6%" stop-color="green" /> |
2432 | | - <stop class="tempGradient30" offset="33.3%" stop-color="yellow" /> |
2433 | | - <stop class="tempGradient0" offset="50%" stop-color="red" /> |
2434 | | - <stop class="tempGradient30" offset="66.6%" stop-color="yellow" /> |
2435 | | - <stop class="tempGradient60" offset="83.3%" stop-color="green" /> |
2436 | | - <stop class="tempGradient90" offset="100%" stop-color="blue" /> |
2437 | | - </linearGradient> |
2438 | | - </defs> |
2439 | | - <g id="globeNoteLines"> |
2440 | | - <line x1="5" x2="220" y1="0" y2="0" /> |
2441 | | - <line x1="5" x2="220" y1="13" y2="13" /> |
2442 | | - <line x1="5" x2="220" y1="49.5" y2="49.5" /> |
2443 | | - <line x1="-5" x2="220" y1="100" y2="100" /> |
2444 | | - <line x1="5" x2="220" y1="150.5" y2="150.5" /> |
2445 | | - <line x1="5" x2="220" y1="187" y2="187" /> |
2446 | | - <line x1="5" x2="220" y1="200" y2="200" /> |
2447 | | - </g> |
2448 | | - <g id="globeWindArrows" data-tip="Click to change wind direction" stroke-linejoin="round"> |
2449 | | - <circle cx="210" cy="6" r="12" /> |
2450 | | - <path data-tier="0" d="M210,11 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(225 210 6)" /> |
2451 | | - <circle cx="210" cy="30" r="12" /> |
2452 | | - <path data-tier="1" d="M210,35 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(45 210 30)" /> |
2453 | | - <circle cx="210" cy="75" r="12" /> |
2454 | | - <path data-tier="2" d="M210,80 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(225 210 75)" /> |
2455 | | - <circle cx="210" cy="130" r="12" /> |
2456 | | - <path data-tier="3" d="M210,135 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(315 210 130)" /> |
2457 | | - <circle cx="210" cy="173" r="12" /> |
2458 | | - <path data-tier="4" d="M210,178 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(135 210 173)" /> |
2459 | | - <circle cx="210" cy="194" r="12" /> |
2460 | | - <path data-tier="5" d="M210,199 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(315 210 194)" /> |
2461 | | - </g> |
2462 | | - <g id="globaAxisLabels"> |
2463 | | - <text x="82%" y="-4%">wind</text> |
2464 | | - <text x="-8%" y="-4%">latitude</text> |
2465 | | - </g> |
2466 | | - <g id="globeLatLabels"> |
2467 | | - <text x="-15" y="5">90°</text> |
2468 | | - <text x="-15" y="18">60°</text> |
2469 | | - <text x="-15" y="53">30°</text> |
2470 | | - <text x="-15" y="103">0°</text> |
2471 | | - <text x="-15" y="153">30°</text> |
2472 | | - <text x="-15" y="190">60°</text> |
2473 | | - <text x="-15" y="204">90°</text> |
2474 | | - </g> |
2475 | | - <circle id="globeOutline" cx="100" cy="100" r="100" /> |
2476 | | - <line id="globeEquator" x1="1" x2="199" y1="100" y2="100" /> |
2477 | | - <path id="globeGraticule" /> |
2478 | | - <path id="globeArea" /> |
2479 | | - </svg> |
| 2456 | + <div style="display: flex; flex-direction: column; align-items: flex-end"> |
| 2457 | + <svg id="globe" width="22em" viewBox="-20 -25 240 240"> |
| 2458 | + <defs> |
| 2459 | + <linearGradient id="temperatureGradient" x1="0" x2="0" y1="0" y2="1"> |
| 2460 | + <stop id="grad90" offset="0%" stop-color="blue" /> |
| 2461 | + <stop id="grad60" offset="16.6%" stop-color="green" /> |
| 2462 | + <stop id="grad30" offset="33.3%" stop-color="yellow" /> |
| 2463 | + <stop id="grad0" offset="50%" stop-color="red" /> |
| 2464 | + <stop id="grad-30" offset="66.6%" stop-color="yellow" /> |
| 2465 | + <stop id="grad-60" offset="83.3%" stop-color="green" /> |
| 2466 | + <stop id="grad-90" offset="100%" stop-color="blue" /> |
| 2467 | + </linearGradient> |
| 2468 | + </defs> |
| 2469 | + <g id="globeNoteLines"> |
| 2470 | + <line x1="5" x2="220" y1="0" y2="0" /> |
| 2471 | + <line x1="5" x2="220" y1="13" y2="13" /> |
| 2472 | + <line x1="5" x2="220" y1="49.5" y2="49.5" /> |
| 2473 | + <line x1="-5" x2="220" y1="100" y2="100" /> |
| 2474 | + <line x1="5" x2="220" y1="150.5" y2="150.5" /> |
| 2475 | + <line x1="5" x2="220" y1="187" y2="187" /> |
| 2476 | + <line x1="5" x2="220" y1="200" y2="200" /> |
| 2477 | + </g> |
| 2478 | + <g id="globeWindArrows" data-tip="Click to change wind direction" stroke-linejoin="round"> |
| 2479 | + <circle cx="210" cy="6" r="12" /> |
| 2480 | + <path data-tier="0" d="M210,11 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(225 210 6)" /> |
| 2481 | + <circle cx="210" cy="30" r="12" /> |
| 2482 | + <path data-tier="1" d="M210,35 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(45 210 30)" /> |
| 2483 | + <circle cx="210" cy="75" r="12" /> |
| 2484 | + <path data-tier="2" d="M210,80 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(225 210 75)" /> |
| 2485 | + <circle cx="210" cy="130" r="12" /> |
| 2486 | + <path data-tier="3" d="M210,135 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(315 210 130)" /> |
| 2487 | + <circle cx="210" cy="173" r="12" /> |
| 2488 | + <path data-tier="4" d="M210,178 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(135 210 173)" /> |
| 2489 | + <circle cx="210" cy="194" r="12" /> |
| 2490 | + <path data-tier="5" d="M210,199 v-10 l-3,3 m6,0 l-3,-3" transform="rotate(315 210 194)" /> |
| 2491 | + </g> |
| 2492 | + <g id="globaAxisLabels"> |
| 2493 | + <text x="82%" y="-4%">wind</text> |
| 2494 | + <text x="-8%" y="-4%">latitude</text> |
| 2495 | + </g> |
| 2496 | + <g id="globeLatLabels"> |
| 2497 | + <text x="-15" y="5">90°</text> |
| 2498 | + <text x="-15" y="18">60°</text> |
| 2499 | + <text x="-15" y="53">30°</text> |
| 2500 | + <text x="-15" y="103">0°</text> |
| 2501 | + <text x="-15" y="153">30°</text> |
| 2502 | + <text x="-15" y="190">60°</text> |
| 2503 | + <text x="-15" y="204">90°</text> |
| 2504 | + </g> |
| 2505 | + <circle id="globeOutline" cx="100" cy="100" r="100" /> |
| 2506 | + <line id="globeEquator" x1="1" x2="199" y1="100" y2="100" /> |
| 2507 | + <path id="globeGraticule" /> |
| 2508 | + <path id="globeArea" /> |
| 2509 | + </svg> |
| 2510 | + |
| 2511 | + <button id="restoreWinds" data-tip="Click to restore default (Earth-based) wind directions"> |
| 2512 | + Restore winds |
| 2513 | + </button> |
| 2514 | + </div> |
2480 | 2515 | </div> |
2481 | 2516 | </div> |
2482 | 2517 |
|
|
7924 | 7959 | <script src="modules/ui/stylePresets.js?v=1.89.11"></script> |
7925 | 7960 |
|
7926 | 7961 | <script src="modules/ui/general.js?v=1.87.03"></script> |
7927 | | - <script src="modules/ui/options.js?v=1.89.36"></script> |
7928 | | - <script src="main.js?v=1.89.32"></script> |
| 7962 | + <script src="modules/ui/options.js?v=1.90.00"></script> |
| 7963 | + <script src="main.js?v=1.90.00"></script> |
7929 | 7964 |
|
7930 | 7965 | <script defer src="modules/relief-icons.js"></script> |
7931 | 7966 | <script defer src="modules/ui/style.js"></script> |
7932 | 7967 | <script defer src="modules/ui/editors.js?v=1.89.35"></script> |
7933 | | - <script defer src="modules/ui/tools.js?v=1.89.38"></script> |
7934 | | - <script defer src="modules/ui/world-configurator.js"></script> |
| 7968 | + <script defer src="modules/ui/tools.js?v=1.90.00"></script> |
| 7969 | + <script defer src="modules/ui/world-configurator.js?v=1.90.00"></script> |
7935 | 7970 | <script defer src="modules/ui/heightmap-editor.js?v=1.89.06"></script> |
7936 | 7971 | <script defer src="modules/ui/provinces-editor.js?v=1.89.00"></script> |
7937 | 7972 | <script defer src="modules/ui/biomes-editor.js"></script> |
|
7967 | 8002 | <script defer src="libs/rgbquant.min.js"></script> |
7968 | 8003 | <script defer src="libs/jquery.ui.touch-punch.min.js"></script> |
7969 | 8004 |
|
7970 | | - <script defer src="modules/io/save.js?v=1.89.29"></script> |
7971 | | - <script defer src="modules/io/load.js?v=1.89.30"></script> |
| 8005 | + <script defer src="modules/io/save.js?v=1.90.00"></script> |
| 8006 | + <script defer src="modules/io/load.js?v=1.90.00"></script> |
7972 | 8007 | <script defer src="modules/io/cloud.js"></script> |
7973 | 8008 | <script defer src="modules/io/export.js?v=1.89.36"></script> |
7974 | 8009 | <script defer src="modules/io/formats.js"></script> |
|
0 commit comments