document some of the structures

This commit is contained in:
tildearrow 2022-03-15 22:05:55 -05:00
parent 7aca15b071
commit f4c26dbea7
6 changed files with 114 additions and 0 deletions

View file

@ -136,10 +136,29 @@ class DivMacroInt {
willDam(false), willDvb(false), willEgt(false), willKsl(false),
willSus(false), willVib(false), willWs(false), willKsr(false) {}
} op[4];
/**
* trigger macro release.
*/
void release();
/**
* trigger next macro tick.
*/
void next();
/**
* initialize the macro interpreter.
* @param which an instrument, or NULL.
*/
void init(DivInstrument* which);
/**
* notify this macro interpreter that an instrument has been deleted.
* @param which the instrument in question.
*/
void notifyInsDeletion(DivInstrument* which);
DivMacroInt():
ins(NULL),
volPos(0),