5 #include "../common/basics.h"
7 #define PXT_NO_CHANNELS 4
25 signed char *model
; // ptr to model data
26 uchar model_no
; // index of model data (0-5, which wave[] model points to)
30 double repeat
; // pixtone calls it "freq"
31 uchar volume
; // pixtone calls it "top"
34 int white_ptr
; // like "phaseacc" but for MOD_WHITE (the odd one out)
37 #define PXENV_NUM_VERTICES 3
42 int time
[PXENV_NUM_VERTICES
];
43 int val
[PXENV_NUM_VERTICES
];
55 stPXEnvelope envelope
;
57 unsigned char envbuffer
[256];
63 stPXChannel chan
[PXT_NO_CHANNELS
];
65 signed char *final_buffer
;