4 title => 'starcraft cheat sheet',
6 stylesheet => [qw'light dark circus mono red terse'],
11 <h1>StarCraft cheat sheet</h1>
13 <h2>normal mode (default)</h2>
18 <ul class="keys omni">
19 <li class="mv chr27" onclick="setmode()"><b>Esc</b> normal mode
20 <!-- not as static anymore, but never bothered; just see ^[ -->
25 use Shiar_Sheet::Keyboard 2;
26 my $info = do 'starcraft.eng.inc.pl' or die $@;
27 $info->{def} = do 'starcraft.inc.pl';
28 my $keys = Shiar_Sheet::Keyboard->new($info);
29 $keys->map($get{map}) or undef $get{map};
30 $keys->print_rows($get{rows} || '1 =P1 Z1', [0]);
38 <dl class="legend legend-types">
39 <dt class="ci">ability
40 <dd>Unit action available after upgrade.
42 <dd>Default unit action.
46 <dd>Unit available at all times.
47 <dt class="cp">dep unit
48 <dd>Unit with dependencies.
52 <dd>Unit producing construction.
53 <dt class="mv">upgrade
54 <dd>Building or research providing unit upgrade.
56 <dd>Miscellaneous facility.
61 <dl class="legend legend-options">
62 <dt>key<:= $sign{arg} :>
63 <dd>Commands with a dot need a char argument afterwards.
64 <dt>key<:= $sign{args} :>
65 <dd>Commands with two dots require variable arguments afterwards.
68 <ul class="legend legend-set">
69 <li>keyboard <strong>map</strong> is
70 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
71 <li><strong>keys</strong> are
72 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
73 !exists $get{keys} && ' by default' :>
74 <li>default <strong>style</strong> is
75 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>