Files
OpenRCT2-Web/rosebud/static/index.html
T
Mike LiuandClaude Opus 4.6 748b1174e3 refactor: move mobile index.html overrides to rosebud/static/
Create rosebud/static/index.html with our mobile/touch additions
(viewport meta, overflow hidden, touch-action none) instead of
modifying the upstream emscripten/static/index.html. Build process
should copy rosebud/static/* over upstream static files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:27:42 +00:00

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>OpenRCT2</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script src="https://cdn.jsdelivr.net/npm/jszip@3.10.1/dist/jszip.min.js" crossorigin=anonymous></script>
<style>
* { padding: 0; margin: 0; }
body { overflow: hidden; }
canvas {
display: block;
margin: 0 auto;
position: fixed;
left: 0;
right: 0;
width: 100%;
height: 100%;
touch-action: none;
}
</style>
<script src="index.js"></script>
</head>
<body>
<p id="loadingWebassembly">Please wait... Loading webassembly</p>
<div id="beforeLoad" style="display:none;">
<p id="statusMsg">Please select your RCT2 assets (zip file):</p>
<input type="file" id="selectFile"></input>
</div>
<canvas id="canvas" style="display:none;"></canvas>
</body>
</html>