?? bmframe.h
字號:
#if !defined(AFX_SFFRAME_H__F2A55585_8D1B_4A6B_805D_8C65440F3C52__INCLUDED_)
#define AFX_SFFRAME_H__F2A55585_8D1B_4A6B_805D_8C65440F3C52__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BMFrame.h : header file
//
//const
const int MAINMENU = 0;
const int SINGLE = 1;
const int VERSUS = 2;
const int COORPERATE = 3;
/////////////////////////////////////////////////////////////////////////////
// BMFrame frame
class BMFrame : public CFrameWnd
{
DECLARE_DYNCREATE(BMFrame)
public:
BMFrame(); // protected constructor used by dynamic creation
void CreateDDPla(int width,int height,char* filename,int num);
void ColorKey(int num);
void CreateDSBuf(char* filename,int num);
void InitDD();
void InitDS();
void InitDI();
void readMap();
void playSingle();
void playVersus();
void checkAction();
void delBomb();
void renderFrame();
void Over();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(SFFrame)
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~BMFrame();
// Generated message map functions
//{{AFX_MSG(SFFrame)
// NOTE - the ClassWizard will add and remove member functions here.
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SFFRAME_H__F2A55585_8D1B_4A6B_805D_8C65440F3C52__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -