add several TODO comments

self-note: check this one after you come back!
This commit is contained in:
tildearrow 2022-04-11 18:12:05 -05:00
parent b5472fb52e
commit 8407a7d3a4
10 changed files with 32 additions and 0 deletions

View file

@ -414,6 +414,7 @@ void DivEngine::runExportThread() {
}
}
// TODO: properly export ExtCh songs in per-channel mode
bool DivEngine::saveAudio(const char* path, int loops, DivAudioExportModes mode) {
exportPath=path;
exportMode=mode;

View file

@ -2,6 +2,10 @@
#include "engine.h"
#include "instrument.h"
// TODO:
// - add missing license header
// - implement waveSynth on Amiga and N163
bool DivWaveSynth::activeChanged() {
if (activeChangedB) {
activeChangedB=false;

View file

@ -20,6 +20,9 @@
#include "gui.h"
#include "IconsFontAwesome4.h"
// TODO:
// - "play from start" button/action
// - fix behavior of play buttons
void FurnaceGUI::drawEditControls() {
if (nextWindow==GUI_WINDOW_EDIT_CONTROLS) {
editControlsOpen=true;

View file

@ -46,6 +46,9 @@
#define BIND_FOR(x) getKeyName(actionKeys[x],true).c_str()
// TODO:
// - add colors for FM envelope and waveform
// - maybe add "alternate" color for FM modulators/carriers (a bit difficult)
enum FurnaceGUIColors {
GUI_COLOR_BACKGROUND=0,
GUI_COLOR_FRAME_BACKGROUND,

View file

@ -1253,6 +1253,8 @@ if (ImGui::BeginTable("MacroSpace",2)) { \
#define CENTER_VSLIDER \
ImGui::SetCursorPosX(ImGui::GetCursorPosX()+0.5f*ImGui::GetContentRegionAvail().x-10.0f*dpiScale);
// TODO:
// - add right click line draw in macro editor
void FurnaceGUI::drawInsEdit() {
if (nextWindow==GUI_WINDOW_INS_EDIT) {
insEditOpen=true;

View file

@ -22,6 +22,10 @@
#include <imgui.h>
#include <math.h>
// TODO:
// - potentially move oscilloscope seek position to the end, and read the last samples
// - this allows for setting up the window size
// - reduce initial latency (it's too high)
void FurnaceGUI::readOsc() {
int writePos=e->oscWritePos;
int readPos=e->oscReadPos;
@ -65,6 +69,9 @@ void FurnaceGUI::readOsc() {
e->oscReadPos=readPos;
}
// TODO:
// - draw reference level
// - draw guidelines
void FurnaceGUI::drawOsc() {
if (nextWindow==GUI_WINDOW_OSCILLOSCOPE) {
oscOpen=true;

View file

@ -408,6 +408,7 @@ void FurnaceGUI::drawPattern() {
patWindowSize=ImGui::GetWindowSize();
//char id[32];
ImGui::PushFont(patFont);
// TODO: separate GUI curOrder from engine curOrder
int ord=e->isPlaying()?oldOrder:e->getOrder();
oldOrder=e->getOrder();
int chans=e->getTotalChannelCount();

View file

@ -20,6 +20,7 @@
#include "gui.h"
#include "guiConst.h"
// TODO: actually implement a piano!
void FurnaceGUI::drawPiano() {
if (nextWindow==GUI_WINDOW_PIANO) {
pianoOpen=true;

View file

@ -28,6 +28,12 @@
#include "sampleUtil.h"
#include "util.h"
// TODO:
// - resample should change C-4 note
// - clicking on waveform should give this window focus
// - add "create instrument using this sample" option
// - .dmc loading
// - duplicate sample
void FurnaceGUI::drawSampleEdit() {
if (nextWindow==GUI_WINDOW_SAMPLE_EDIT) {
sampleEditOpen=true;

View file

@ -198,6 +198,10 @@ struct MappedInput {
scan(s), val(v) {}
};
// TODO:
// - add metronome volume setting
// - maybe add metronome sound setting
// - add a "close" button to this window
void FurnaceGUI::drawSettings() {
if (nextWindow==GUI_WINDOW_SETTINGS) {
settingsOpen=true;