This commit is contained in:
33333-33333 2026-08-08 17:41:30 +09:00
commit 1a3ba56d9a
123 changed files with 16018 additions and 9153 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Prefecture Map Generator</title>
<link rel="stylesheet" href="./styles.css" />
<link rel="stylesheet" href="./styles/styles.css" />
</head>
<body>
<div class="app">
@ -19,7 +19,7 @@
<div id="mapSelection" class="map-selection" aria-hidden="true"></div>
<div id="toolHint" class="map-hint hidden">
Patch Area mode: right-drag to select a regeneration area.
Patch Area mode: right-drag to select an expansion or regeneration area.
</div>
<div class="zoom-control" aria-label="Map zoom controls">
@ -49,6 +49,10 @@
<input id="showLabels" type="checkbox" checked />
<span>Labels</span>
</label>
<label class="checkbox-row">
<input id="showSeamDiagnostics" type="checkbox" checked />
<span>Seam diagnostics</span>
</label>
</div>
</details>
@ -139,6 +143,15 @@
</select>
</label>
<label class="field">
<span class="field-label">Patch mode</span>
<select id="patchMode" class="input">
<option value="auto">Auto (detect expansion)</option>
<option value="expansion">Expand generated world</option>
<option value="regeneration">Regenerate existing area</option>
</select>
</label>
<label class="field">
<span class="field-label">Variant</span>
<input id="patchVariant" class="input" type="number" min="0" step="1" value="0" />
@ -152,6 +165,10 @@
<button id="applyPatch" type="button" class="secondary-button" disabled>Apply Preview</button>
<button id="discardPatch" type="button" class="ghost-button" disabled>Discard</button>
</div>
<div class="button-stack two-col">
<button id="clearPatchSelection" type="button" class="ghost-button" disabled>Clear Selection</button>
<button id="cancelPatchGeneration" type="button" class="ghost-button" disabled>Cancel Generation</button>
</div>
<p id="patchStatus" class="patch-status">Switch to Patch Area, then right-drag to draw a freeform area.</p>
</section>
@ -240,6 +257,17 @@
<div id="advancedPatchDiagnostics" class="diagnostic-table"></div>
</section>
<section class="debug-panel">
<header class="debug-panel-header">
<div>
<div class="eyebrow">Patch seam</div>
<h3>Seam Diagnostics</h3>
</div>
<p>Magenta: seam outline. Red: disconnected or critical. Orange: topology/boundary warning. Green: retained transport crossing.</p>
</header>
<div id="advancedSeamDiagnostics" class="diagnostic-table"></div>
</section>
<section class="debug-panel">
<header class="debug-panel-header">
<div>
@ -284,6 +312,6 @@
</main>
</div>
<script type="module" src="./app.js"></script>
<script type="module" src="./src/app.js"></script>
</body>
</html>