Loading

Paste #pzjwl19ka

  1. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {
  2.     0: return slammer_switch_graphics_engine_id_0;
  3. }
  4. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {
  5.     0: return slammer_switch_graphics_engine_id_1;
  6.     return slammer_switch_graphics_engine_id_2;
  7. }
  8. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_3_DFLT, 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. }
  13. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_4_DFLT, 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. }
  19. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_5_DFLT, 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. }
  26. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_6_DFLT, 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. }
  34. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_entry_point_DFLT, num_vehs_in_vehid_chain % 6) {
  35.     1: return slammer_switch_graphics_position_in_consist_check_1_DFLT;
  36.     2: return slammer_switch_graphics_position_in_consist_check_2_DFLT;
  37.     3: return slammer_switch_graphics_position_in_consist_check_3_DFLT;
  38.     4: return slammer_switch_graphics_position_in_consist_check_4_DFLT;
  39.     5: return slammer_switch_graphics_position_in_consist_check_5_DFLT;
  40.     return slammer_switch_graphics_position_in_consist_check_6_DFLT;
  41. }

Version history

Revision # Author Created at
p0hy0t8mq Anonymous 19 Apr 2018, 11:14:45 UTC Diff
pgdn2iazx Anonymous 19 Apr 2018, 11:14:29 UTC Diff

Comments