LLKDlg.h
资源名称:LLK.rar [点击查看]
上传用户:dengling
上传日期:2022-05-24
资源大小:3782k
文件大小:2k
源码类别:
其他游戏
开发平台:
Visual C++
- // LLKDlg.h : header file
- //
- #if !defined(AFX_LLKDLG_H__EC27B69E_2532_4405_BC66_3D497FD157BA__INCLUDED_)
- #define AFX_LLKDLG_H__EC27B69E_2532_4405_BC66_3D497FD157BA__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CLLKDlg dialog
- class CLLKDlg : public CDialog
- {
- // Construction
- public:
- CLLKDlg(CWnd* pParent = NULL); // standard constructor
- virtual ~CLLKDlg();
- void StartNewGame();
- BOOL IsLink(int x1, int y1, int x2, int y2);
- BOOL X1_Link_X2(int x1, int y1, int y2);
- BOOL Y1_Link_Y2(int x1, int x2, int y1);
- BOOL OneCornerLink(int x1, int y1, int x2, int y2);
- BOOL TwoCornerLink(int x1, int y1, int x2, int y2);
- BOOL XThrough(int x, int y1, int temp );
- BOOL YThrough(int y, int x1, int temp );
- BOOL IsWin();
- void DrawGame(CDC * pDC);
- CDC m_men3DBkDC;
- CBitmap m_men3DBkBmp;
- CDC m_menAnimalDC;
- CBitmap m_menAnimalBmp;
- CDC m_menDC;
- CBitmap m_menBitmap;
- int * m_map;
- int m_nRow;
- int m_nCol;
- int m_nX1;
- int m_nY1;
- // Dialog Data
- //{{AFX_DATA(CLLKDlg)
- enum { IDD = IDD_LLK_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CLLKDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CLLKDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnLButtonDown(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_LLKDLG_H__EC27B69E_2532_4405_BC66_3D497FD157BA__INCLUDED_)