Skip to content

Commit

Permalink
dont run song progress bar on wii
Browse files Browse the repository at this point in the history
  • Loading branch information
jnackmclain committed Nov 5, 2024
1 parent b278467 commit f3b23cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _ark/dx/track/hud_ui/dx_hud_ui_funcs.dta
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
{set $dx_hud_time_remaining_text_y 11.8}
)
}
#ifndef HX_WII
{dx_song_progress_instrument_label.lbl set_token_fmt
{switch $progress_bar_inst
((guitar real_guitar) inst_icon_guitar)
Expand All @@ -199,6 +200,7 @@
(harm inst_icon_harm)
}
}
#endif
{dx_song_progress_instrument_label.lbl set_local_pos_index 0 {- {dx_song_progress_label.lbl get_local_pos_index 0} 5.5}}
{dx_song_progress_instrument_label.lbl set_local_pos_index 1 {dx_song_progress_label.lbl get_local_pos_index 1}}
{dx_song_progress_instrument_label.lbl set_local_pos_index 2 {+ {dx_song_progress_label.lbl get_local_pos_index 2} 0.25}}
Expand Down Expand Up @@ -282,6 +284,7 @@
{dx_song_progress_label_back.lbl set_token_fmt os_blnk}
{dx_song_progress_label_back_border.lbl set_token_fmt os_blnk}
}
#ifndef HX_WII
{if {&& $enabled $dx_mtvup {! {gamemode in_mode trainer}}}
{set_this {coop_track_panel find scoreboard}}
{set $curr_beat {dx_get_current_beat}}
Expand Down Expand Up @@ -331,6 +334,7 @@
}
}
}
#endif
}
{func
dx_new_set_song_progress
Expand All @@ -349,6 +353,7 @@
{set $this_final_note {* {/ {dx_get_final_note} $total_beat} 100}}
{set $this_checked_final_note {int {* $this_final_note 2}}}
{if {>= $curr_beat 1}
#ifndef HX_WII
{set $this_percent_complete {* {/ $curr_beat $total_beat} 100}}
{if {> $this_percent_complete 100}
{set $this_percent_complete 100}
Expand Down Expand Up @@ -408,6 +413,7 @@
}
}
{dx_song_progress_label_back.lbl set text_token {sprint $out_backer}}
#endif
{dx_song_progress_label_back.color set color {pack_color 0.15 0.15 0.15}}
{dx_song_progress_label_back.lbl set alt_text_color dx_song_progress_label_back.color}
{dx_song_progress_label_needle.color set color {pack_color 1 1 1}}
Expand All @@ -419,6 +425,7 @@
{dx_song_progress_label_back_border.lbl set text_size 4}
{dx_song_progress_label_back_border.lbl set kerning -0.1808}
{dx_song_progress_label_back_border.lbl set alt_text_color dx_song_progress_label_back_border.color}
#ifndef HX_WII
;200
{dx_song_progress_label_back_border.lbl set_token_fmt
{sprint
Expand All @@ -428,6 +435,7 @@
{localize song_progress_backer}
}
}
#endif
}
}
}
Expand Down

0 comments on commit f3b23cc

Please sign in to comment.