GUI: remove partial pitch linearity option

it still remains in the engine but will be removed after I update demo songs
This commit is contained in:
tildearrow 2025-10-21 19:28:02 -05:00
parent 4c57763473
commit 3a3d9db890
3 changed files with 3 additions and 14 deletions

View file

@ -309,17 +309,6 @@ void FurnaceGUI::drawCompatFlags() {
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip(_("like ProTracker/FamiTracker"));
}
if (e->song.linearPitch==1) {
pushWarningColor(true);
if (ImGui::RadioButton(_("Partial (only 04xy/E5xx)"),e->song.linearPitch==1)) {
e->song.linearPitch=1;
MARK_MODIFIED;
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip(_("like DefleMask\n\nthis pitch linearity mode is deprecated due to:\n- excessive complexity\n- lack of possible optimization\n\nit is recommended to change it now because I will remove this option in the future!"));
}
popWarningColor();
}
if (ImGui::RadioButton(_("Full"),e->song.linearPitch==2)) {
e->song.linearPitch=2;
MARK_MODIFIED;

View file

@ -540,7 +540,7 @@ void FurnaceGUI::drawExport() {
ImGui::CloseCurrentPopup();
}
if (ImGui::Button(_("Set pitch linearity to Partial"))) {
e->song.linearPitch=1;
showError(_("No!"));
ImGui::CloseCurrentPopup();
}
if (ImGui::Button(_("Set fat to max"))) {

View file

@ -1321,11 +1321,11 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
if (ImGui::Checkbox(_("Amiga channel volumes (64)"),&amigaVol)) {
altered=true;
}
pushWarningColor(amigaPitch && e->song.linearPitch==2);
pushWarningColor(amigaPitch && e->song.linearPitch);
if (ImGui::Checkbox(_("Amiga-like pitch (non-linear pitch only)"),&amigaPitch)) {
altered=true;
}
if (amigaPitch && e->song.linearPitch==2) {
if (amigaPitch && e->song.linearPitch) {
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("pitch linearity is set to linear. this won't do anything!");
}