diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-04 00:25:35 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-04 00:25:35 +0300 |
commit | 90f8b60438d59a1871a5ebf80a279c0eeea7a1a7 (patch) | |
tree | 12e93777576986b5fd5e72d1053d83908cb622eb /src/wopl | |
parent | 0c080d6a4d843f37f17441bb7ea628c9bfa09119 (diff) | |
download | libADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.tar.gz libADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.tar.bz2 libADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.zip |
Added instrument rhythm-mode related enums into the public header
Diffstat (limited to 'src/wopl')
-rw-r--r-- | src/wopl/wopl_file.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/wopl/wopl_file.h b/src/wopl/wopl_file.h index 0e38842..6fd36f8 100644 --- a/src/wopl/wopl_file.h +++ b/src/wopl/wopl_file.h @@ -71,13 +71,16 @@ typedef enum WOPL_InstrumentFlags WOPL_Ins_IsBlank = 0x04, /* RythmMode flags mask */ - WOPL_RythmModeMask = 0x38, + WOPL_RhythmModeMask = 0x38, + + /* DEPRECATED: It has typo. Don't use it! */ + WOPL_RythmModeMask = WOPL_RhythmModeMask, /* Mask of the flags range */ WOPL_Ins_ALL_MASK = 0x07 } WOPL_InstrumentFlags; -typedef enum WOPL_RythmMode +typedef enum WOPL_RhythmMode { /* RythmMode: BassDrum */ WOPL_RM_BassDrum = 0x08, @@ -89,7 +92,10 @@ typedef enum WOPL_RythmMode WOPL_RM_Cymball = 0x20, /* RythmMode: HiHat */ WOPL_RM_HiHat = 0x28 -} WOPL_RythmMode; +} WOPL_RhythmMode; + +/* DEPRECATED: It has typo. Don't use it! */ +typedef WOPL_RhythmMode WOPL_RythmMode; /* Error codes */ typedef enum WOPL_ErrorCodes |