@@ -424,6 +424,7 @@ typedef struct FILTER {
424
424
#define EF_SUSTAIN 2
425
425
#define EF_LOOP 4
426
426
#define EF_VOLENV 8
427
+ #define EF_ITMODE 16
427
428
428
429
/* New Note Action Flags */
429
430
#define NNA_CUT 0
@@ -461,17 +462,17 @@ typedef struct FILTER {
461
462
#define LAST_PATTERN (UWORD)(-1) /* special ``end of song'' pattern */
462
463
463
464
typedef struct ENVPR {
464
- UBYTE flg ; /* envelope flag */
465
- UBYTE pts ; /* number of envelope points */
466
- UBYTE susbeg ; /* envelope sustain index begin */
467
- UBYTE susend ; /* envelope sustain index end */
468
- BOOL susactive ; /* Indicate if sustain is active (no interpolation) */
469
- UBYTE beg ; /* envelope loop begin */
470
- UBYTE end ; /* envelope loop end */
471
- SWORD p ; /* current envelope counter */
472
- UWORD index ; /* envelope index for the point after the current one */
473
- SWORD lastvalue ;/* the last calculated value */
474
- ENVPT * env ; /* envelope points */
465
+ UBYTE flg ; /* envelope flag */
466
+ UBYTE pts ; /* number of envelope points */
467
+ UBYTE susbeg ; /* envelope sustain index begin */
468
+ UBYTE susend ; /* envelope sustain index end */
469
+ UBYTE loopbeg ; /* envelope loop begin */
470
+ UBYTE loopend ; /* envelope loop end */
471
+ SWORD tick ; /* current envelope counter */
472
+ UWORD index ; /* envelope index for the point after the current one */
473
+ BOOL interpolate ; /* Indicate if interpolation should be done */
474
+ SWORD lastvalue ; /* the last calculated value */
475
+ ENVPT * env ; /* envelope points */
475
476
} ENVPR ;
476
477
477
478
typedef struct MP_CHANNEL {
0 commit comments