]> git.tdb.fi Git - r2c2.git/blobdiff - tracks.dat
Add basic support for signals
[r2c2.git] / tracks.dat
index 7c800f11310f07a39817b2587b946aefc759df31..414329a78fc920cce049f9257c77a8c70583988b 100644 (file)
@@ -1,12 +1,20 @@
-/* $Id$ */
-
 scale 1 87;
 gauge 16.5;
 rail_profile
 {
-       point 0.5 0.0;
-       point 0.5 2.3;
-       point -0.5 2.3;
+       point 1.5 0.0;
+       smooth_point 1.5 0.3;
+       smooth_point 0.8 0.4;
+       smooth_point 0.8 1.4;
+       smooth_point 1.0 1.6;
+       smooth_point 1.0 2.1;
+       smooth_point 0.8 2.3;
+       smooth_point 0.2 2.3;
+       smooth_point 0.0 2.1;
+       smooth_point 0.0 1.6;
+       smooth_point 0.2 1.4;
+       smooth_point 0.2 0.4;
+       smooth_point -0.5 0.3;
        point -0.5 0.0;
 };
 ballast_profile
@@ -17,6 +25,8 @@ ballast_profile
        point -20.0 0.0;
 };
 
+track_technique "track.technique";
+
 // Straight
 
 track 24064
@@ -35,6 +45,7 @@ track 24071
        {
                length 70.8;
        };
+       autofit_preference 0;
 };
 
 track 24077
@@ -44,6 +55,7 @@ track 24077
        {
                length 77.5;
        };
+       autofit_preference 2;
 };
 
 track 24094
@@ -53,6 +65,7 @@ track 24094
        {
                length 94.2;
        };
+       autofit_preference 2;
 };
 
 track 24172
@@ -62,6 +75,7 @@ track 24172
        {
                length 171.7;
        };
+       autofit_preference 2;
 };
 
 track 24188
@@ -71,6 +85,7 @@ track 24188
        {
                length 188.3;
        };
+       autofit_preference 2;
 };
 
 track 24229
@@ -91,6 +106,15 @@ track 24236
        };
 };
 
+track 24360
+{
+       description "Straight, 360mm";
+       part
+       {
+               length 360;
+       };
+};
+
 // Curves, R1
 
 track 24107
@@ -317,19 +341,20 @@ track 24630
        {
                length 24.3;
                radius 437.5;
-               path 1;
+               path 2;
        };
        part
        {
                length 24.3;
                radius -437.5;
-               path 2;
+               path 1;
        };
 };
 
 track 24624
 {
        description "Turnout, double slip";
+       state_bits 1;
        part
        {
                length 188.3;
@@ -439,13 +464,31 @@ track 24740
 track 24977
 {
        description "Bumper";
+       object "bumper.object";
        part
        {
-               length 94.2;
+               length 77.5;
                dead_end true;
        };
 };
 
+// Signals
+
+signal \7039
+{
+       indication "Hp1"
+       {
+               aspect 0;
+               free_blocks 1;
+       };
+       indication "Hp0"
+       {
+               aspect 1;
+               free_blocks 0;
+       };
+       object "homesignal.object";
+};
+
 // Layout for selecting tracks
 
 layout
@@ -610,4 +653,9 @@ layout
                position -0.112537 0.138174 0;
                rotation 1.5708;
        };
+       track 24360
+       {
+               position -0.542646 -0.0794758 0;
+               rotation 1.5708;
+       };
 };