⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gamedlg.h

📁 网络游戏魔域源代码 测试可以完整变异
💻 H
字号:
// GameDlg.h : header file
//

#if !defined(AFX_GAMEDLG_H__37A0FED3_C548_43DB_A508_E3FB43B45F7D__INCLUDED_)
#define AFX_GAMEDLG_H__37A0FED3_C548_43DB_A508_E3FB43B45F7D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <DEQUE>
#include "DialogWeb.h"
using namespace std;
/////////////////////////////////////////////////////////////////////////////
// CGameDlg dialog
class CMyButton
{
public:
	void Init(const char* pszAniFile, const char* pszAniIndex, int nX, int nY);
	BOOL Process(int nMouseX, int nMouseY,BOOL bClick);
private:
	int m_nX, m_nY;
	char m_szAniFile[256];
	char m_szAniIndex[256];
};

class CGameDlg : public CDialog
{
// Construction
public:
	CGameDlg(CWnd* pParent = NULL);	// standard constructor
	virtual ~CGameDlg();
// Dialog Data
	//{{AFX_DATA(CGameDlg)
	enum { IDD = IDD_GAME_DIALOG };
	CStatic	m_picMain;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGameDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CGameDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	void GameMain();
	void Loop();
	void ShowBG();
	void ShowString();
private:
	int m_nMouseX, m_nMouseY;
	int m_nOffset;
	char m_szVersion[256];
	CMyButton m_bnEnterGame;
	CMyButton m_bnExitGame;
	
	CMyButton m_bnPage;
	CMyButton m_bnRegist;
	CMyButton m_bnPay;
	CMyButton m_bnSystem;
	CMyButton m_bnCredit;
	CDialogWeb* m_pWebDlg;
	DWORD		m_dwFrameTimer;
	BOOL		m_bClick;
	deque<CString>	m_setString;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GAMEDLG_H__37A0FED3_C548_43DB_A508_E3FB43B45F7D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -