qmus2mid.h
资源名称:21.rar [点击查看]
上传用户:xuyinpeng
上传日期:2021-05-12
资源大小:455k
文件大小:2k
源码类别:
射击游戏
开发平台:
Visual C++
- #if !defined( QMUS2MID_H )
- #define QMUS2MID_H
- typedef unsigned short int2; /* a two-byte int, use short.*/
- typedef unsigned int int4; /* a four-byte int, use int unless int is
- 16 bits, then use long. Don't use long
- on an alpha. */
- #define NOTMUSFILE 1 /* Not a MUS file */
- #define COMUSFILE 2 /* Can't open MUS file */
- #define COTMPFILE 3 /* Can't open TMP file */
- #define CWMIDFILE 4 /* Can't write MID file */
- #define MUSFILECOR 5 /* MUS file corrupted */
- #define TOOMCHAN 6 /* Too many channels */
- #define MEMALLOC 7 /* Memory allocation error */
- /* some (old) compilers mistake the "MUSx1A" construct (interpreting
- it as "MUSx1A") */
- #define MUSMAGIC "MUS 32" /* this seems to work */
- #define MIDIMAGIC "MThd 00 00 00 06 00 01"
- #define TRACKMAGIC1 "