From 90f8b60438d59a1871a5ebf80a279c0eeea7a1a7 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Wed, 4 Jul 2018 00:25:35 +0300 Subject: Added instrument rhythm-mode related enums into the public header --- src/wopl/wopl_file.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/wopl') 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 -- cgit v1.2.3