Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Bus Stops
- // ----------------
- if (traffic_side == TRAFFIC_SIDE_RIGHT) { // Switch sprites for drive on right
- if (style_param == 0) {
- replacenew replace_stop_A_T_01 (ROAD_STOPS, "images/Stop-A-T_test_1X.png") {
- tmpl_busstop()
- }
- alternative_sprites(replace_stop_A_T_01, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "images/Stop-A-T_test_4X.png") { // 4x zoom sprites
- tmpl_busstop_4X()
- }
- }
- if (style_param == 1) { // switch to double shelters based on parameter
- replacenew replace_stop_AA_T_01 (ROAD_STOPS, "images/Stop-AA-T_1X.png") {
- tmpl_busstop()
- }
- alternative_sprites(replace_stop_AA_T_01, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "images/Stop-AA-T_4X.png") { // 4x zoom sprites
- tmpl_busstop_4X()
- }
- }
- else { // Switch sprites for drive on left
- if (style_param == 0) {
- replacenew replace_stop_A_T_L_01 (ROAD_STOPS, "images/Stop-A-T-L_test_1X.png") {
- tmpl_busstop()
- }
- alternative_sprites(replace_stop_A_T_L_01, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "images/Stop-A-T-L_test_4X.png") { // 4x zoom sprites
- tmpl_busstop_4X()
- }
- }
- if (style_param == 1) { // switch to double shelters based on parameter
- replacenew replace_stop_AA_T_L_01 (ROAD_STOPS, "images/Stop-AA-T-L_1X.png") {
- tmpl_busstop()
- }
- alternative_sprites(replace_stop_AA_T_L_01, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "images/Stop-AA-T-L_4X.png") { // 4x zoom sprites
- tmpl_busstop_4X()
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement