1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="glhanoi" _label="GLHanoi">
7 <number id="delay" type="slider" arg="-delay %"
8 _label="Frame rate" _low-label="Low" _high-label="High"
9 low="0" high="100000" default="15000" convert="invert"/>
11 <number id="count" type="slider" arg="-count %"
12 _label="Number of disks" _low-label="0" _high-label="31"
13 default="0" low="0" high="31"/>
15 <number id="poles" type="slider" arg="-poles %"
16 _label="Number of poles" _low-label="0" _high-label="31"
17 default="0" low="3" high="31"/>
19 <number id="speed" type="slider" arg="-speed %"
20 _label="Speed (of smallest disks)" _low-label="1" _high-label="20"
21 default="1" low="1" high="20"/>
23 <number id="trails" type="slider" arg="-trails %"
24 _label="Length of disk trails" _low-label="0" _high-label="10"
25 default="2" low="0" high="10"/>
27 <boolean id="fog" _label="Enable fog" arg-set="-fog"/>
29 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
31 <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
33 <boolean id="lighting" _label="Enable lighting" arg-unset="-no-light"/>
36 Solves the Towers of Hanoi puzzle. Move N disks from one pole to
37 another, one disk at a time, with no disk ever resting on a disk
40 http://en.wikipedia.org/wiki/Tower_of_Hanoi
42 Written by Dave Atkinson; 2005.