• 大小: 2.37MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-15
  • 语言: C/C++
  • 标签: VC++  军棋  

资源简介

一款非常帅的军棋源代码,分服务器/客户端,里面还有详细数据库及说明文档 VC++6编译通过

资源截图

代码片段和文件信息

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

#include “stdafx.h“
#include “CGameHallframe.h“

#include “MainFrm.h“
#include “CGameHallframeDoc.h“
#include “CGameHallframeView.h“

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

/////////////////////////////////////////////////////////////////////////////
// CCGameHallframeApp

BEGIN_MESSAGE_MAP(CCGameHallframeApp CWinApp)
//{{AFX_MSG_MAP(CCGameHallframeApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCGameHallframeApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CCGameHallframeApp object

CCGameHallframeApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCGameHallframeApp initialization

BOOL CCGameHallframeApp::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

// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

LoadStdProfileSettings();  // Load standard INI file options (including MRU)

// Register the application‘s document templates.  Document templates
//  serve as the connection between documents frame windows and views.

CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CCGameHallframeDoc)
RUNTIME_CLASS(CMainframe)       // main SDI frame window
RUNTIME_CLASS(CCGameHallframeView));
AddDocTemplate(pDocTemplate);

// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;

// The one and only window 

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

     文件    2502656  2006-05-12 11:21  军旗源代码\客户端.exe

     文件      49152  2005-12-22 14:56  军旗源代码\服务器.exe

     文件     299008  2006-05-30 17:10  军旗源代码\用户说明书.doc

     文件      46412  2005-12-22 10:54  军旗源代码\源程序\CServerframe\CServerframe.aps

     文件       3229  2006-05-08 16:31  军旗源代码\源程序\CServerframe\CServerframe.clw

     文件       4347  2005-12-13 10:53  军旗源代码\源程序\CServerframe\CServerframe.cpp

     文件       5084  2005-12-22 14:56  军旗源代码\源程序\CServerframe\CServerframe.dsp

     文件        547  2005-12-13 11:44  军旗源代码\源程序\CServerframe\CServerframe.dsw

     文件       1422  2005-12-13 10:53  军旗源代码\源程序\CServerframe\CServerframe.h

     文件     115712  2006-05-08 16:31  军旗源代码\源程序\CServerframe\CServerframe.ncb

     文件      55808  2006-05-08 16:31  军旗源代码\源程序\CServerframe\CServerframe.opt

     文件       4413  2005-12-22 14:57  军旗源代码\源程序\CServerframe\CServerframe.plg

     文件      13536  2005-12-22 10:54  军旗源代码\源程序\CServerframe\CServerframe.rc

     文件       1920  2005-12-22 11:04  军旗源代码\源程序\CServerframe\CServerframeDoc.cpp

     文件       1609  2005-12-13 10:53  军旗源代码\源程序\CServerframe\CServerframeDoc.h

     文件       1502  2005-12-16 10:26  军旗源代码\源程序\CServerframe\CServerframeSet.cpp

     文件       1366  2005-12-13 10:53  军旗源代码\源程序\CServerframe\CServerframeSet.h

     文件      17606  2005-12-22 10:40  军旗源代码\源程序\CServerframe\CServerframeView.cpp

     文件       3454  2006-05-08 12:31  军旗源代码\源程序\CServerframe\CServerframeView.h

     文件       2536  2005-12-22 11:03  军旗源代码\源程序\CServerframe\MainFrm.cpp

     文件       1581  2005-12-13 10:53  军旗源代码\源程序\CServerframe\MainFrm.h

     文件       4663  2005-12-13 10:53  军旗源代码\源程序\CServerframe\ReadMe.txt

     文件        919  2005-12-16 13:48  军旗源代码\源程序\CServerframe\Resource.h

     文件       1550  2006-05-08 14:55  军旗源代码\源程序\CServerframe\Server.cpp

     文件        681  2005-12-13 14:07  军旗源代码\源程序\CServerframe\Server.h

     文件       3383  2005-12-19 09:33  军旗源代码\源程序\CServerframe\ServerProtocol.cpp

     文件        933  2005-12-18 19:30  军旗源代码\源程序\CServerframe\ServerProtocol.h

     文件        214  2005-12-13 10:53  军旗源代码\源程序\CServerframe\StdAfx.cpp

     文件       1137  2005-12-15 11:29  军旗源代码\源程序\CServerframe\StdAfx.h

     文件       1078  2005-12-22 10:43  军旗源代码\源程序\CServerframe\res\CServerframe.ico

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

评论

共有 条评论