- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_0;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_1;
- return slammer_switch_graphics_engine_id_2;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_1;
- 1: return slammer_switch_graphics_engine_id_3;
- return slammer_switch_graphics_engine_id_2;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_1;
- 1: return slammer_switch_graphics_engine_id_2;
- 2: return slammer_switch_graphics_engine_id_1;
- return slammer_switch_graphics_engine_id_2;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_1;
- 1: return slammer_switch_graphics_engine_id_3;
- 2: return slammer_switch_graphics_engine_id_2;
- 3: return slammer_switch_graphics_engine_id_1;
- return slammer_switch_graphics_engine_id_2;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_DFLT, position_in_vehid_chain % 6) {
- 0: return slammer_switch_graphics_engine_id_1;
- 1: return slammer_switch_graphics_engine_id_3;
- 2: return slammer_switch_graphics_engine_id_2;
- 3: return slammer_switch_graphics_engine_id_1;
- 4: return slammer_switch_graphics_engine_id_3;
- return slammer_switch_graphics_engine_id_2;
- }
- switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_DFLT, num_vehs_in_vehid_chain % 6) {
- 1: return slammer_switch_graphics_position_in_consist_check_1_DFLT;
- 2: return slammer_switch_graphics_position_in_consist_check_2_DFLT;
- 3: return slammer_switch_graphics_position_in_consist_check_3_DFLT;
- 4: return slammer_switch_graphics_position_in_consist_check_4_DFLT;
- 5: return slammer_switch_graphics_position_in_consist_check_5_DFLT;
- return slammer_switch_graphics_position_in_consist_check_6_DFLT;
- }