SBCMS.H
资源名称:泡泡龙源代码.zip [点击查看]
上传用户:junwei_58
上传日期:2007-05-15
资源大小:79k
文件大小:1k
源码类别:
其他智力游戏
开发平台:
Visual C++
- #ifndef SBCMS_H
- #define SBCMS_H
- #ifdef EXTERN
- #undef EXTERN
- #endif
- #define EXTERN extern
- #ifdef SBCMS_CPP
- #undef EXTERN
- #define EXTERN
- #endif
- //#include "sbtimer.h"
- #define Note_A 30
- #define Note_Ah 31
- #define Note_B 58
- #define Note_C 83
- #define Note_Ch 107
- #define Note_D 130
- #define Note_Dh 151
- #define Note_E 172
- #define Note_F 191
- #define Note_Fh 209
- #define Note_G 226
- #define Note_Gh 242
- #define baseport 0x220
- EXTERN unsigned timevoice[12];
- EXTERN char cmsonfreq[12];
- EXTERN char cmsonnoise[12];
- //EXTERN char counter;
- EXTERN char freqtot,noisetot;
- EXTERN void playnote(char voice, // which lane
- char ampl, // volume
- char tone, // cdefgab
- char octave,// level of tone
- char sort, // shape?
- char noiseclock,//?
- char envelope, //
- unsigned duration);//?
- EXTERN void initMusic();
- EXTERN void interrupt newtim(...);
- EXTERN void resetcms();
- EXTERN void initcms();
- #endif