• 大小: 9.51MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-07
  • 语言: C/C++
  • 标签: 麻将  c++  源代码  游戏  

资源简介

有麻将游戏的相关资源及源代码,里边的相关算法比较好,有兴趣的朋友可以看下

资源截图

代码片段和文件信息

// CMajiangGame.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CMajiangGame.h“
#include “CMajiangGameDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCMajiangGameApp

BEGIN_MESSAGE_MAP(CCMajiangGameApp CWinApp)
//{{AFX_MSG_MAP(CCMajiangGameApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCMajiangGameApp construction

CCMajiangGameApp::CCMajiangGameApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CCMajiangGameApp object

CCMajiangGameApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCMajiangGameApp initialization

BOOL CCMajiangGameApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CCMajiangGameDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     105266  2005-11-02 10:20  样图.JPG

     文件        328  2005-11-08 20:47  游戏说明.txt

     文件      64942  2005-11-07 09:47  Images\BG.jpg

     文件       9535  2005-11-07 09:47  Images\close.jpg

     文件      11573  2005-11-07 09:48  Images\E_BUNAI.jpg

     文件      11396  2005-09-26 00:22  Images\E_LE.jpg

     文件      11438  2005-09-26 00:22  Images\E_NU.jpg

     文件      11354  2005-09-26 00:22  Images\E_SAI.jpg

     文件      11406  2005-09-26 00:22  Images\E_XI.jpg

     文件      11272  2005-09-26 00:22  Images\E_YUYE.jpg

     文件     137982  2005-11-07 09:48  Images\MJ.jpg

     文件       8051  2005-09-26 00:22  Images\open1.jpg

     文件       7969  2005-09-26 00:22  Images\OPen2.jpg

     文件       8062  2005-09-26 00:22  Images\open3.jpg

     文件      13865  2005-09-23 23:11  Images\STATE.jpg

     文件       1145  2005-09-24 12:32  Images\tingpai.jpg

     文件     136962  2005-11-07 09:47  Images\title.jpg

     文件      28379  2005-11-07 09:46  Images\title2.jpg

    ..A.SH.     46592  2005-11-07 09:48  Images\Thumbs.db

     文件       9875  2005-11-07 09:48  Images\HupaiTable.JPG

     文件       7001  2005-11-07 09:45  Images\Start2.jpg

     文件       6807  2005-11-06 22:08  Images\Start1.JPG

     目录          0  2005-09-27 15:58  Images

     文件      71468  2002-11-05 19:30  Sound\b_Luju.wav

     文件      39212  2002-11-05 19:30  Sound\b_One01.wav

     文件      48428  2002-11-05 19:30  Sound\b_One02.wav

     文件      62252  2002-11-05 19:30  Sound\b_One03.wav

     文件      64556  2002-11-05 19:30  Sound\b_One04.wav

     文件      48428  2002-11-05 19:30  Sound\b_One05.wav

     文件      50732  2002-11-05 19:30  Sound\b_One06.wav

............此处省略158个文件信息

评论

共有 条评论