电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

超级玛丽增强版源代码VIP免费

超级玛丽增强版源代码_第1页
1/25
超级玛丽增强版源代码_第2页
2/25
超级玛丽增强版源代码_第3页
3/25
1 //bitmaptool.h #ifndef __BITMAPTOOL #define __BITMAPTOOL #include "filereport.h" #define BM_BOTTOM_RIGHT 0 #define BM_BOTTOM_CENTER 1 #define BM_CENTER 2 #define BM_USER 3 // class MYBITMAP { public: MYBITMAP(); ~MYBITMAP(); //初始化 void Init(HINSTANCE hInstance,int iResource,int row,int col); void SetDevice(HDC hdest,HDC hsrc,int wwin,int hwin); // void SetPos(int istyle,int x,int y); //显示 void Draw(DWORD dwRop); void Stretch(int x,int y); void Stretch(int x,int y,int id); void Show(int x,int y); void ShowCenter(int y); void ShowLoop(int left,int top,int right,int bottom,int iframe); void ShowNoBack(int x,int y,int iFrame); void ShowNoBackLoop(int x,int y,int iFrame,int iNum); //动画播放 void ShowAni(); void SetAni(int x,int y); // FILEREPORT f; HBITMAP hBm; public: //按照行列平均分成几个 int inum; int jnum; int width; int height; int screenwidth; int screenheight; HDC hdcdest; HDC hdcsrc; //当前位置 int xpos; int ypos; int iStartAni; }; class MYBKSKY:public MYBITMAP { public: MYBKSKY(); ~MYBKSKY(); //show void DrawRoll(); //循环补空 void DrawRollStretch(int x,int y); void DrawRollStretch(int x,int y,int id); void MoveTo(int x,int y); void MoveRoll(int x); //data int xseparate; }; #define BM_SQUARE 1 class MYANIOBJ:public MYBITMAP { public: MYANIOBJ(); ~MYANIOBJ(); //init list void InitAniList(int *pw,int *ph,int inum,int ismask); void InitAniList(int style,int a,int b); //show void DrawItem(int x,int y,int id,int iframe); void DrawItemNoMask(int x,int y,int id,int iframe); //指定宽度 void DrawItemNoMaskWidth(int x,int y,int id,int w,int iframe); //自动播放 void PlayItem(int x,int y,int id); // int wlist[20]; int hlist[20]; int ylist[20]; int iframeplay; }; class MYANIMAGIC:public MYBITMAP { public: MYANIMAGIC(); ~MYANIMAGIC(); //init list...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

超级玛丽增强版源代码

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部