资源描述:
《麻将c语言源代码(求完善版)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、非吾之力,此资源:求更改,求完善,求分享!邮箱:1280271805@qq.com麻将源代码*/#include"dos.h"#include"stdio.h"#include"graphics.h"#include"bios.h"#include"conio.h"#include"stdlib.h"unsignedcharfar*video_buffer=(charfar*)0xA0000000L;#defineVGA2560x13/*图形模式13h*/#defineTEXT_MODE0x03/*普通文本模式*/#defineSET
2、VGASet_Video_Mode(VGA256)#defineOUTVGASet_Video_Mode(TEXT_MODE)#defineBYTEunsignedchar#defineWORDunsignedint#defineDWORDunsignedint#defineESC283#defineLEFT19200#defineRIGHT19712#defineH9064#defineENTER7181unsignedlongintz=54400,zz=0,zy=0,zyy=0,z1=0,zl=10140;intkey=0,key
3、y=0,sing=0,sing1=0,second=0,threes=0;structchi{intlg;intlgg;}ch[13];structmj{char*name;/*名字*/intdata1;/*是否已出,无用了*/intdata2;/*是否在手中,1为自己,2为对方*/intnumber;/*同一个花色的第几张,共4张*/}m[136]={"1.bmp",0,0,1,"1.bmp",0,0,2,"1.bmp",0,0,3,"1.bmp",0,0,4,"2.bmp",0,0,1,"2.bmp",0,0,2,"2.bmp",
4、0,0,3,"2.bmp",0,0,4,"3.bmp",0,0,1,"3.bmp",0,0,2,"3.bmp",0,0,3,"3.bmp",0,0,4,"4.bmp",0,0,1,"4.bmp",0,0,2,"4.bmp",0,0,3,"4.bmp",0,0,4,"5.bmp",0,0,1,"5.bmp",0,0,2,"5.bmp",0,0,3,"5.bmp",0,0,4,"6.bmp",0,0,1,"6.bmp",0,0,2,"6.bmp",0,0,3,"6.bmp",0,0,4,"7.bmp",0,0,1,"7.bmp",0,0,
5、2,"7.bmp",0,0,3,"7.bmp",0,0,4,"8.bmp",0,0,1,"8.bmp",0,0,2,"8.bmp",0,0,3,"8.bmp",0,0,4,"9.bmp",0,0,1,"9.bmp",0,0,2,"9.bmp",0,0,3,"9.bmp",0,0,4,"10.bmp",0,0,1,"10.bmp",0,0,2,"10.bmp",0,0,3,"10.bmp",0,0,4,"11.bmp",0,0,1,"11.bmp",0,0,2,"11.bmp",0,0,3,"11.bmp",0,0,4,"12.bmp"
6、,0,0,1,"12.bmp",0,0,2,"12.bmp",0,0,3,"12.bmp",0,0,4,"13.bmp",0,0,1,"13.bmp",0,0,2,"13.bmp",0,0,3,"13.bmp",0,0,4,"14.bmp",0,0,1,"14.bmp",0,0,2,"14.bmp",0,0,3,"14.bmp",0,0,4,"15.bmp",0,0,1,"15.bmp",0,0,2,"15.bmp",0,0,3,"15.bmp",0,0,4,"16.bmp",0,0,1,"16.bmp",0,0,2,"16.bmp"
7、,0,0,3,"16.bmp",0,0,4,"17.bmp",0,0,1,"17.bmp",0,0,2,"17.bmp",0,0,3,"17.bmp",0,0,4,"18.bmp",0,0,1,"18.bmp",0,0,2,"18.bmp",0,0,3,"18.bmp",0,0,4,"19.bmp",0,0,1,"19.bmp",0,0,2,"19.bmp",0,0,3,"19.bmp",0,0,4,"20.bmp",0,0,1,"20.bmp",0,0,2,"20.bmp",0,0,3,"20.bmp",0,0,4,"21.bmp"
8、,0,0,1,"21.bmp",0,0,2,"21.bmp",0,0,3,"21.bmp",0,0,4,"22.bmp",0,0,1,"22.bmp",0,0,2,"22.bmp",0,0,3,"22.bmp",0,0,