singe/assets/Menu.rml

99 lines
3.8 KiB
Text

<rml>
<!--
Singe 3
Copyright (C) 2006-2026 Scott Duensing <scott@kangaroopunch.com>
The bundled game menu: the document Singe/Menu.singe fills and drives. Every region is placed
by the script (it owns the geometry so the attract video, drawn into the overlay underneath,
lands exactly in the #video hole); Singe/menu.rcss only says what the regions look like.
Licensed under the GNU General Public License, version 3 or later.
-->
<head>
<title>Menu</title>
<link type="text/rcss" href="Singe/gui.rcss"/>
<link type="text/rcss" href="Singe/menu.rcss"/>
</head>
<body id="menu">
<div id="games">
<div id="list" class="list"></div>
<div id="poster" class="art"></div>
<div id="marquee" class="art"></div>
<div id="video"></div>
<div id="info" class="panel">
<div id="title"></div>
<div id="credits" class="line"></div>
<div id="developer" class="line"></div>
<div id="publisher" class="line"></div>
<div id="port" class="line"></div>
<div id="description"></div>
</div>
<div id="footer">
<div id="hints">Up / Down: select &nbsp; Left / Right: page &nbsp; Start or button: play &nbsp; Service: tools</div>
<button id="start">Start</button>
</div>
</div>
<div id="tools" class="tool hidden">
<h1>Service Tools</h1>
<div id="toolList"></div>
<p class="value" id="toolHelp"></p>
<p class="keys">Up / Down: choose &nbsp; Button 1: open &nbsp; Service: back to the games</p>
</div>
<div id="toolAudio" class="tool hidden">
<h1>Audio Delay</h1>
<p>Adjust until the flash and the click happen together.</p>
<p class="value">Delay: <span id="calValue"></span> ms</p>
<p class="value">Measured device queue: <span id="calLatency"></span> ms</p>
<p class="keys">Left / Right: 10 ms &nbsp; Up / Down: 1 ms &nbsp; Start: reset to 0</p>
<p class="keys">Button 1: save &nbsp; Button 2: back</p>
</div>
<div id="toolInput" class="tool hidden">
<h1>Input Test</h1>
<div id="inputRows"></div>
<p class="keys">Press anything. Button 2: back</p>
</div>
<div id="toolSystem" class="tool hidden">
<h1>System Information</h1>
<div id="systemRows"></div>
<p class="keys">Button 2: back</p>
</div>
<div id="toolGun" class="tool clear hidden">
<h1>Light Gun</h1>
<p class="value">Last shot: <span id="gunLast"></span> &nbsp; shots shown: <span id="gunCount"></span></p>
<p class="keys">Button 1: fire &nbsp; Start: clear &nbsp; Button 2: back</p>
</div>
<div id="toolSound" class="tool hidden">
<h1>Sound Test</h1>
<p class="value">Playing: <span id="soundWhich"></span></p>
<p class="value">Disc audio tracks: <span id="soundTracks"></span></p>
<p class="keys">Button 1: left, right, both &nbsp; Left / Right: disc track &nbsp; Button 2: back</p>
</div>
<div id="toolDisplay" class="tool clear hidden">
<h1>Display</h1>
<p class="value" id="dispValues"></p>
<p class="value" id="dispSaved"></p>
<p class="keys">Arrows: move &nbsp; Button 3 / 4: size &nbsp; Coin 1: rotate &nbsp; Start: reset</p>
<p class="keys">Button 1: keep for this machine &nbsp; Button 2: back</p>
</div>
<div id="toolDisc" class="tool hidden">
<h1>Disc Test</h1>
<div id="discRows"></div>
<p class="keys">Button 1: run &nbsp; Button 2: back</p>
</div>
<div id="toolSaved" class="tool hidden">
<h1>Saved Data</h1>
<div id="savedRows"></div>
<p class="keys">Up / Down: choose &nbsp; Button 3: delete this game's save &nbsp; Button 2: back</p>
</div>
<div id="toolMidi" class="tool hidden">
<h1>MIDI Ports</h1>
<div id="midiRows"></div>
<p class="keys">Button 1: send a note &nbsp; Button 3: look again &nbsp; Button 2: back</p>
</div>
<div id="toolStats" class="tool hidden">
<h1>Frame Statistics</h1>
<p class="value">The overlay is <span id="statsState"></span>.</p>
<p>It stays on while you play, in the top left corner.</p>
<p class="keys">Button 1: turn it on or off &nbsp; Button 2: back</p>
</div>
</body>
</rml>