Loading

Revision differences

Old revision #p0hy0t8mqNew revision #pzjwl19ka
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;    
3}    
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;    
6    return slammer_switch_graphics_engine_id_2;    
7}    
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;    
10    1: return slammer_switch_graphics_engine_id_3;    
11    return slammer_switch_graphics_engine_id_2;    
12}    
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;    
15    1: return slammer_switch_graphics_engine_id_2;    
16    2: return slammer_switch_graphics_engine_id_1;    
17    return slammer_switch_graphics_engine_id_2;    
18}    
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;    
21    1: return slammer_switch_graphics_engine_id_3;    
22    2: return slammer_switch_graphics_engine_id_2;    
23    3: return slammer_switch_graphics_engine_id_1;    
24    return slammer_switch_graphics_engine_id_2;    
25}    
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;    
28    1: return slammer_switch_graphics_engine_id_3;    
29    2: return slammer_switch_graphics_engine_id_2;    
30    3: return slammer_switch_graphics_engine_id_1;    
31    4: return slammer_switch_graphics_engine_id_3;    
32    return slammer_switch_graphics_engine_id_2;    
33}    
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;    
36    2: return slammer_switch_graphics_position_in_consist_check_2_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;    
39    5: return slammer_switch_graphics_position_in_consist_check_5_PASS;    
40    return slammer_switch_graphics_position_in_consist_check_6_PASS;    
41}    
42switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {  1switch (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;  2    0: return slammer_switch_graphics_engine_id_0;  
44}  3}