]> www.fi.muni.cz Git - slotcarman.git/commitdiff
My own defaults in gui.pl
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 13 Feb 2011 21:20:08 +0000 (22:20 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 13 Feb 2011 21:20:08 +0000 (22:20 +0100)
gui.pl

diff --git a/gui.pl b/gui.pl
index 7cfe6085f24085b14aa7fdf8c1cfb32927d45423..0efe3f30da91ee6c46ad0376b56454013893989b 100755 (executable)
--- a/gui.pl
+++ b/gui.pl
@@ -11,7 +11,7 @@ use SCX::Track;
 use SCX::Reader;
 use SCX::RaceParser;
 
-my $gui = SCX::GUI->new({ img_height => 120 });
+my $gui = SCX::GUI->new({ img_height => 100 });
 my $track = SCX::Track->new({ gui => $gui });
 
 my $logfile = 'log';
@@ -40,14 +40,15 @@ if ($@) {
 
 $track->car(0)->set_model('F1 Ferrari');
 $track->car(1)->set_model('F1 McLaren');
-$track->car(2)->set_model('F1 Williams');
-$track->car(3)->set_model('Citroen Xsara');
-$track->car(4)->set_model('Citroen C4');
-$track->car(5)->set_model('Ford Focus');
-
-$track->car(0)->set_driver('Ivi');
-$track->car(1)->set_driver('Filípek');
-$track->car(2)->set_driver('Táta');
+#$track->car(2)->set_model('F1 Williams');
+$track->car(2)->set_model('Citroen Xsara');
+$track->car(3)->set_model('Chevrolet Corvette gelb');
+$track->car(4)->set_model('Ferrari 360 Red Bull');
+$track->car(5)->set_model('Ferrari 360 Cric Crac');
+
+$track->car(0)->set_driver('Ferrari');
+$track->car(1)->set_driver('McLaren');
+$track->car(2)->set_driver('Xsara');
 
 if ($reader) {
        Glib::IO->add_watch(fileno($reader->fh), 'in', \&scx_read, $reader);