Skip to content

Commit

Permalink
save and load mtv values
Browse files Browse the repository at this point in the history
  • Loading branch information
jnackmclain committed Dec 7, 2024
1 parent d157f22 commit 92480ca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _ark/dx/read_write/dx_reader_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@
{elem {elem {find $entry mtv_overlay_position} 1} 2}
}
}
{if {== {elem $entry 0} {basename dx_mtv_overlay_text_font}}
{set $dx_mtv_overlay_text_font
{elem {find $entry dx_mtv_overlay_text_font} 1}
}
}
{if {== {elem $entry 0} {basename dx_mtv_overlay_text_alignment}}
{set $dx_mtv_overlay_text_alignment
{elem {find $entry dx_mtv_overlay_text_alignment} 1}
}
}
{if {== {elem $entry 0} {basename dx_mtv_overlay_text_kerning}}
{set $dx_mtv_overlay_text_kerning
{elem {find $entry dx_mtv_overlay_text_kerning} 1}
}
}
{if {== {elem $entry 0} {basename dx_mtv_overlay_text_size}}
{set $dx_mtv_overlay_text_size
{elem {find $entry dx_mtv_overlay_text_size} 1}
}
}
{if {== {elem $entry 0} {basename practice_speed_control_pos}}
{set $speed_controlpos_0
{elem {elem {find $entry practice_speed_control_pos} 1} 0}
Expand Down
4 changes: 4 additions & 0 deletions _ark/dx/read_write/dx_writer_macros.dta
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
{dx_setting_saver dx_settings practice_score_pos ($scorepos_0 $scorepos_1 $scorepos_2)}
{dx_setting_saver dx_settings practice_speed_control_pos ($speed_controlpos_0 $speed_controlpos_1 $speed_controlpos_2)}
{dx_setting_saver dx_settings mtv_overlay_position ($dx_mtv_overlay_text_x $dx_mtv_overlay_text_z $dx_mtv_overlay_text_y)}
{dx_setting_saver dx_settings dx_mtv_overlay_text_font $dx_mtv_overlay_text_font}
{dx_setting_saver dx_settings dx_mtv_overlay_text_alignment $dx_mtv_overlay_text_alignment}
{dx_setting_saver dx_settings dx_mtv_overlay_text_kerning $dx_mtv_overlay_text_kerning}
{dx_setting_saver dx_settings dx_mtv_overlay_text_size $dx_mtv_overlay_text_size}
{dx_setting_saver dx_settings dx_kick_color $dx_kick_color}
;{dx_setting_saver dx_settings dx_main_menu_panel $dx_main_menu_panel}
{dx_setting_saver dx_settings dx_forced_main_menu_bg $dx_forced_main_menu_bg}
Expand Down

0 comments on commit 92480ca

Please sign in to comment.