www.pudn.com > PtGame.rar > PtGameDlg.h
// PtGameDlg.h : header file // #if !defined(AFX_PTGAMEDLG_H__40507DAB_5FE7_4A98_8A7B_36479124EA90__INCLUDED_) #define AFX_PTGAMEDLG_H__40507DAB_5FE7_4A98_8A7B_36479124EA90__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include///////////////////////////////////////////////////////////////////////////// // CPtGameDlg dialog class CPtGameDlg : public CDialog { // Construction public: CStatusBarCtrl m_wndStatusBar; UINT gamepicture; CBitmap bitmap; CPtGameDlg(CWnd* pParent = NULL); // standard constructor ~CPtGameDlg(); // Dialog Data //{{AFX_DATA(CPtGameDlg) enum { IDD = IDD_PTGAME_DIALOG }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPtGameDlg) public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: BOOL m_bMouseTell; int m_iStart; CString m_strInfo; void PlayMusic(); void winornot(); void initialgame(); struct site { int x; int y; }; void paintpic(struct site destsite , struct site srcsite); void paintblack(); void paintline(); void initialsiteinfo(); HICON m_hIcon; int hnums; int vnums; int tracksteps; int tempsteps; struct site blacksite; struct site siteinfo[11][11]; int cellwidth; int cellheight; int cellwidth1; int cellheight1; int clientwidth; int clientheight; int track[1001]; BOOL musiconoff; CString musicfilename; BOOL autoplay; MCIDEVICEID m_wID; // Generated message map functions //{{AFX_MSG(CPtGameDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnNewgame(); afx_msg void OnAutoplay(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnExit(); afx_msg void OnSet(); afx_msg void OnUserpic(); afx_msg void OnAbout(); afx_msg void OnPrelook(); afx_msg void OnPic1(); afx_msg void OnPic2(); afx_msg void OnPic3(); afx_msg void OnPic4(); afx_msg void OnPic5(); afx_msg void OnPic6(); afx_msg void OnClose(); afx_msg void OnMousetell(); afx_msg void OnMouseMove(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PTGAMEDLG_H__40507DAB_5FE7_4A98_8A7B_36479124EA90__INCLUDED_)