mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +00:00
GUI: Namco 163 offset -> position
This commit is contained in:
parent
bc7e267a85
commit
97d44d9a26
2 changed files with 6 additions and 6 deletions
|
@ -5,11 +5,11 @@ The Namco 163 instrument editor consists of two tabs: "Namco 163" for control of
|
|||
## Namco 163
|
||||
|
||||
- **Load waveform**: if enabled, a waveform will be loaded when this instrument plays.
|
||||
- if it isn't then only the offset/length change.
|
||||
- if it isn't then only the position/length change.
|
||||
- **Waveform**: determines the waveform that will be loaded.
|
||||
- only appears when Load waveform is enabled.
|
||||
- **Per-channel wave offset/length**: when enabled, the offset/length settings are split per channel.
|
||||
- **Offset**: determines the waveform position in RAM.
|
||||
- **Per-channel wave position/length**: when enabled, the position/length settings are split per channel.
|
||||
- **Position**: determines the waveform position in RAM.
|
||||
- **Length**: determines the waveform length in RAM.
|
||||
|
||||
## Macros
|
||||
|
|
|
@ -4685,7 +4685,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
|
||||
ImGui::Separator();
|
||||
|
||||
P(ImGui::Checkbox("Per-channel wave offset/length",&ins->n163.perChanPos));
|
||||
P(ImGui::Checkbox("Per-channel wave position/length",&ins->n163.perChanPos));
|
||||
|
||||
if (ins->n163.perChanPos) {
|
||||
if (ImGui::BeginTable("N1PerChPos",3)) {
|
||||
|
@ -4697,7 +4697,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ImGui::TableNextColumn();
|
||||
ImGui::Text("Ch");
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("Offset");
|
||||
ImGui::Text("Position");
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("Length");
|
||||
|
||||
|
@ -4729,7 +4729,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ImGui::EndTable();
|
||||
}
|
||||
} else {
|
||||
if (ImGui::InputInt("Offset##WAVEPOS",&ins->n163.wavePos,1,16)) { PARAMETER
|
||||
if (ImGui::InputInt("Position##WAVEPOS",&ins->n163.wavePos,1,16)) { PARAMETER
|
||||
if (ins->n163.wavePos<0) ins->n163.wavePos=0;
|
||||
if (ins->n163.wavePos>255) ins->n163.wavePos=255;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue