]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
first test: reference from our git
authorRudolf Polzer <divverent@alientrap.org>
Thu, 1 Sep 2011 09:46:54 +0000 (11:46 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 1 Sep 2011 09:46:54 +0000 (11:46 +0200)
misc/tools/weapon-profiler-analyzer.pl

index 95d7eb1f772c33092bb3d10fe9829c15a6364a87..c848609d708cf95bd66f7776d90533d92f199d55 100755 (executable)
@@ -249,13 +249,13 @@ sub out_html($@)
                $map ||= 'any';
                print "<h2>For server $addr type $type map $map</h2>\n";
                print "<table><tr><th>Weapon</th><th>Rating</th>\n";
-               printf '<th><img width=70 height=80 src="http://svn.icculus.org/*checkout*/nexuiz/trunk/Docs/htmlfiles/weaponimg/thirdperson-%s.png" alt="%s"></th>', $stats->weaponid_to_model($_), $stats->weaponid_to_name($_) for @columns;
+               printf '<th><img width=64 height=87 src="http://de.git.xonotic.org/?p=xonotic/xonotic.git;a=blob_plain;f=Docs/htmlfiles/weaponimg/%s_3rd.png" alt="%s"></th>', $stats->weaponid_to_model($_), $stats->weaponid_to_name($_) for @columns;
                print "</tr>\n";
        }
        elsif($event eq 'startrow')
        {
                my ($row, $val) = @data;
-               printf '<tr><th><img width=108 height=53 src="http://svn.icculus.org/*checkout*/nexuiz/trunk/Docs/htmlfiles/weaponimg/firstperson-%s.png" alt="%s"></th><th align=right>%s</th>', $stats->weaponid_to_model($row), $stats->weaponid_to_name($row), defined $val ? sprintf("%8.5f", $val) : "N/A";
+               printf '<tr><th><img width=128 height=64 src="http://de.git.xonotic.org/?p=xonotic/xonotic.git;a=blob_plain;f=Docs/htmlfiles/weaponimg/%s_1st.png" alt="%s"></th><th align=right>%s</th>', $stats->weaponid_to_model($row), $stats->weaponid_to_name($row), defined $val ? sprintf("%8.5f", $val) : "N/A";
        }
        elsif($event eq 'cell')
        {