Mercurial > audlegacy
comparison Plugins/Input/adplug/core/rix.h @ 844:87b022bf951c trunk
[svn] Sync header file for rix player as well.
author | chainsaw |
---|---|
date | Sat, 18 Mar 2006 09:58:29 -0800 |
parents | 8b24c71b91df |
children | 3eff4f35b39d |
comparison
equal
deleted
inserted
replaced
843:1cd8716972df | 844:87b022bf951c |
---|---|
14 * | 14 * |
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 * | 18 * |
19 * rix.h - Dayu OPL Format Player by palxex <palxex@163.com/palxex.ys168.com> | 19 * rix.h - Softstar RIX OPL Format Player by palxex <palxex.ys168.com> |
20 * BSPAL <BSPAL.ys168.com> | |
20 */ | 21 */ |
21 | 22 |
22 #include "player.h" | 23 #include "player.h" |
23 | 24 |
24 class CrixPlayer: public CPlayer | 25 class CrixPlayer: public CPlayer |
40 protected: | 41 protected: |
41 typedef struct { | 42 typedef struct { |
42 unsigned char v[14]; | 43 unsigned char v[14]; |
43 } ADDT; | 44 } ADDT; |
44 | 45 |
45 unsigned char dro[64000]; | 46 unsigned char dro[128000]; |
46 unsigned int I,T; | 47 unsigned char buf_addr[327680]; /* rix files' buffer */ |
47 unsigned short mus_block; | |
48 unsigned short ins_block; | |
49 unsigned char rhythm; | |
50 unsigned char mutex; | |
51 unsigned char music_on; | |
52 unsigned char pause_flag; | |
53 unsigned short band; | |
54 unsigned char band_low; | |
55 unsigned short e0_reg_flag; | |
56 unsigned char bd_modify; | |
57 int sustain; | |
58 int dro_end; | |
59 | |
60 unsigned char buf_addr[655360]; /* rix files' buffer */ | |
61 unsigned short buffer[300]; | 48 unsigned short buffer[300]; |
62 unsigned short a0b0_data2[11]; | 49 unsigned short a0b0_data2[11]; |
63 unsigned char a0b0_data3[18]; | 50 unsigned char a0b0_data3[18]; |
64 unsigned char a0b0_data4[18]; | 51 unsigned char a0b0_data4[18]; |
65 unsigned char a0b0_data5[96]; | 52 unsigned char a0b0_data5[96]; |
80 static const unsigned char ad_C0_offs[18]; | 67 static const unsigned char ad_C0_offs[18]; |
81 static const unsigned char modify[28]; | 68 static const unsigned char modify[28]; |
82 static const unsigned char bd_reg_data[124]; | 69 static const unsigned char bd_reg_data[124]; |
83 static unsigned char for40reg[18]; | 70 static unsigned char for40reg[18]; |
84 static unsigned short mus_time; | 71 static unsigned short mus_time; |
72 unsigned int I,T; | |
73 unsigned short mus_block; | |
74 unsigned short ins_block; | |
75 unsigned char rhythm; | |
76 unsigned char mutex; | |
77 unsigned char music_on; | |
78 unsigned char pause_flag; | |
79 unsigned short band; | |
80 unsigned char band_low; | |
81 unsigned short e0_reg_flag; | |
82 unsigned char bd_modify; | |
83 int sustain; | |
84 int dro_end; | |
85 | 85 |
86 #define ad_08_reg() ad_bop(8,0) /**/ | 86 #define ad_08_reg() ad_bop(8,0) /**/ |
87 inline void ad_20_reg(unsigned short); /**/ | 87 inline void ad_20_reg(unsigned short); /**/ |
88 inline void ad_40_reg(unsigned short); /**/ | 88 inline void ad_40_reg(unsigned short); /**/ |
89 inline void ad_60_reg(unsigned short); /**/ | 89 inline void ad_60_reg(unsigned short); /**/ |