Loading

Revision differences

Old revision #pgdn2iazxNew revision #p0hy0t8mq
1      switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_PASS, position_in_vehid_chain % 6) {  1switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_PASS, position_in_vehid_chain % 6) {
2                0: return slammer_switch_graphics_engine_id_0;  2    0: return slammer_switch_graphics_engine_id_0;
3            }  3}
4            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_PASS, position_in_vehid_chain % 6) {  4switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_PASS, position_in_vehid_chain % 6) {
5                0: return slammer_switch_graphics_engine_id_1;  5    0: return slammer_switch_graphics_engine_id_1;
6                return slammer_switch_graphics_engine_id_2;  6    return slammer_switch_graphics_engine_id_2;
7            }  7}
8            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_PASS, position_in_vehid_chain % 6) {  8switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_PASS, position_in_vehid_chain % 6) {
9                0: return slammer_switch_graphics_engine_id_1;  9    0: return slammer_switch_graphics_engine_id_1;
10                1: return slammer_switch_graphics_engine_id_3;  10    1: return slammer_switch_graphics_engine_id_3;
11                return slammer_switch_graphics_engine_id_2;  11    return slammer_switch_graphics_engine_id_2;
12            }  12}
13            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_PASS, position_in_vehid_chain % 6) {  13switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_PASS, position_in_vehid_chain % 6) {
14                0: return slammer_switch_graphics_engine_id_1;  14    0: return slammer_switch_graphics_engine_id_1;
15                1: return slammer_switch_graphics_engine_id_2;  15    1: return slammer_switch_graphics_engine_id_2;
16                2: return slammer_switch_graphics_engine_id_1;  16    2: return slammer_switch_graphics_engine_id_1;
17                return slammer_switch_graphics_engine_id_2;  17    return slammer_switch_graphics_engine_id_2;
18            }  18}
19            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_PASS, position_in_vehid_chain % 6) {  19switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_PASS, position_in_vehid_chain % 6) {
20                0: return slammer_switch_graphics_engine_id_1;  20    0: return slammer_switch_graphics_engine_id_1;
21                1: return slammer_switch_graphics_engine_id_3;  21    1: return slammer_switch_graphics_engine_id_3;
22                2: return slammer_switch_graphics_engine_id_2;  22    2: return slammer_switch_graphics_engine_id_2;
23                3: return slammer_switch_graphics_engine_id_1;  23    3: return slammer_switch_graphics_engine_id_1;
24                return slammer_switch_graphics_engine_id_2;  24    return slammer_switch_graphics_engine_id_2;
25            }  25}
26            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_PASS, position_in_vehid_chain % 6) {  26switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_PASS, position_in_vehid_chain % 6) {
27                0: return slammer_switch_graphics_engine_id_1;  27    0: return slammer_switch_graphics_engine_id_1;
28                1: return slammer_switch_graphics_engine_id_3;  28    1: return slammer_switch_graphics_engine_id_3;
29                2: return slammer_switch_graphics_engine_id_2;  29    2: return slammer_switch_graphics_engine_id_2;
30                3: return slammer_switch_graphics_engine_id_1;  30    3: return slammer_switch_graphics_engine_id_1;
31                4: return slammer_switch_graphics_engine_id_3;  31    4: return slammer_switch_graphics_engine_id_3;
32                return slammer_switch_graphics_engine_id_2;  32    return slammer_switch_graphics_engine_id_2;
33            }  33}
34            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_PASS, num_vehs_in_vehid_chain % 6) {  34switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_PASS, num_vehs_in_vehid_chain % 6) {
35                1: return slammer_switch_graphics_position_in_consist_check_1_PASS;  35    1: return slammer_switch_graphics_position_in_consist_check_1_PASS;
36                2: return slammer_switch_graphics_position_in_consist_check_2_PASS;  36    2: return slammer_switch_graphics_position_in_consist_check_2_PASS;
37                3: return slammer_switch_graphics_position_in_consist_check_3_PASS;  37    3: return slammer_switch_graphics_position_in_consist_check_3_PASS;
38                4: return slammer_switch_graphics_position_in_consist_check_4_PASS;  38    4: return slammer_switch_graphics_position_in_consist_check_4_PASS;
39                5: return slammer_switch_graphics_position_in_consist_check_5_PASS;  39    5: return slammer_switch_graphics_position_in_consist_check_5_PASS;
40                return slammer_switch_graphics_position_in_consist_check_6_PASS;  40    return slammer_switch_graphics_position_in_consist_check_6_PASS;
41            }  41}
42            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {  42switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {
43                0: return slammer_switch_graphics_engine_id_0;  43    0: return slammer_switch_graphics_engine_id_0;
44            }  44}
45            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {  45switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {
46                0: return slammer_switch_graphics_engine_id_1;  46    0: return slammer_switch_graphics_engine_id_1;
47                return slammer_switch_graphics_engine_id_2;  47    return slammer_switch_graphics_engine_id_2;
48            }  48}
49            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_DFLT, position_in_vehid_chain % 6) {  49switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_DFLT, position_in_vehid_chain % 6) {
50                0: return slammer_switch_graphics_engine_id_1;  50    0: return slammer_switch_graphics_engine_id_1;
51                1: return slammer_switch_graphics_engine_id_3;  51    1: return slammer_switch_graphics_engine_id_3;
52                return slammer_switch_graphics_engine_id_2;  52    return slammer_switch_graphics_engine_id_2;
53            }  53}
54            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_DFLT, position_in_vehid_chain % 6) {  54switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_DFLT, position_in_vehid_chain % 6) {
55                0: return slammer_switch_graphics_engine_id_1;  55    0: return slammer_switch_graphics_engine_id_1;
56                1: return slammer_switch_graphics_engine_id_2;  56    1: return slammer_switch_graphics_engine_id_2;
57                2: return slammer_switch_graphics_engine_id_1;  57    2: return slammer_switch_graphics_engine_id_1;
58                return slammer_switch_graphics_engine_id_2;  58    return slammer_switch_graphics_engine_id_2;
59            }  59}
60            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_DFLT, position_in_vehid_chain % 6) {  60switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_DFLT, position_in_vehid_chain % 6) {
61                0: return slammer_switch_graphics_engine_id_1;  61    0: return slammer_switch_graphics_engine_id_1;
62                1: return slammer_switch_graphics_engine_id_3;  62    1: return slammer_switch_graphics_engine_id_3;
63                2: return slammer_switch_graphics_engine_id_2;  63    2: return slammer_switch_graphics_engine_id_2;
64                3: return slammer_switch_graphics_engine_id_1;  64    3: return slammer_switch_graphics_engine_id_1;
65                return slammer_switch_graphics_engine_id_2;  65    return slammer_switch_graphics_engine_id_2;
66            }  66}
67            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_DFLT, position_in_vehid_chain % 6) {  67switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_DFLT, position_in_vehid_chain % 6) {
68                0: return slammer_switch_graphics_engine_id_1;  68    0: return slammer_switch_graphics_engine_id_1;
69                1: return slammer_switch_graphics_engine_id_3;  69    1: return slammer_switch_graphics_engine_id_3;
70                2: return slammer_switch_graphics_engine_id_2;  70    2: return slammer_switch_graphics_engine_id_2;
71                3: return slammer_switch_graphics_engine_id_1;  71    3: return slammer_switch_graphics_engine_id_1;
72                4: return slammer_switch_graphics_engine_id_3;  72    4: return slammer_switch_graphics_engine_id_3;
73                return slammer_switch_graphics_engine_id_2;  73    return slammer_switch_graphics_engine_id_2;
74            }  74}
75            switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_DFLT, num_vehs_in_vehid_chain % 6) {  75switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_DFLT, num_vehs_in_vehid_chain % 6) {
76                1: return slammer_switch_graphics_position_in_consist_check_1_DFLT;  76    1: return slammer_switch_graphics_position_in_consist_check_1_DFLT;
77                2: return slammer_switch_graphics_position_in_consist_check_2_DFLT;  77    2: return slammer_switch_graphics_position_in_consist_check_2_DFLT;
78                3: return slammer_switch_graphics_position_in_consist_check_3_DFLT;  78    3: return slammer_switch_graphics_position_in_consist_check_3_DFLT;
79                4: return slammer_switch_graphics_position_in_consist_check_4_DFLT;  79    4: return slammer_switch_graphics_position_in_consist_check_4_DFLT;
80                5: return slammer_switch_graphics_position_in_consist_check_5_DFLT;  80    5: return slammer_switch_graphics_position_in_consist_check_5_DFLT;
81                return slammer_switch_graphics_position_in_consist_check_6_DFLT;  81    return slammer_switch_graphics_position_in_consist_check_6_DFLT;
82            } 82}