mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
Significant work done porting to headless engine
This commit is contained in:
parent
ab08dc9429
commit
d1b07fff01
573 changed files with 50603 additions and 0 deletions
37
procedural/index.html
Normal file
37
procedural/index.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <!-- You can change this later -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Fantasy Map Generator (Vite)</title>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<!-- All your FMG UI elements (options panel, buttons, etc.) will go here -->
|
||||
<div id="optionsContainer">
|
||||
<!-- e.g., <input type="text" id="optionsSeed" /> -->
|
||||
<!-- Add inside #optionsContainer in index.html -->
|
||||
<input type="text" id="optionsSeed" placeholder="Enter seed" />
|
||||
<button id="generateMapButton">Generate Map</button>
|
||||
<button id="newMapButton">New Map</button>
|
||||
</div>
|
||||
|
||||
<!-- The main SVG map container -->
|
||||
<svg id="map" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs id="deftemp"></defs>
|
||||
<g id="viewbox"></g>
|
||||
<!-- ... other static SVG groups -->
|
||||
</svg>
|
||||
</div>
|
||||
<!-- Comment out the old script loading order -->
|
||||
<!-- <script type="module" src="/main.js"></script> -->
|
||||
|
||||
<!-- Add the new entry point -->
|
||||
<script type="module" src="src/viewer/main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue