Menu.h
上传用户:hkb425
上传日期:2007-06-16
资源大小:34191k
文件大小:1k
- // Menu.h: interface for the CMenu class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MENU_H__6EA9431C_32DB_4F6A_BAD7_40217E191381__INCLUDED_)
- #define AFX_MENU_H__6EA9431C_32DB_4F6A_BAD7_40217E191381__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "audio.h"
- class CMenu
- {
- public:
- CMenu(float FOVangle);
- virtual ~CMenu();
- int DoMenu(HWND hWnd,HDC hDC,bool IsMainMenu);
- void DoMainMenu(HDC hDC);
- void DoSaveAndLoadMenu(HDC hDC);
- void DoSinglePlayerMenu(HDC hDC);
- void DoMultiPlayerMenu(HDC hDC);
- void DoOptionMenu(HDC hDC);
- void DoAboutMenu(HDC hDC,bool IsAboutEngine);
- void DoExitMenu();
- void DoNewGameMenu(HDC hDC);
- void DoLoadGameMenu(HDC hDC);
- void DoSaveGameMenu(HDC hDC);
- void DrawPicture(int xpos,int ypos,AUX_RGBImageRec *pData);
- bool LoadPicture(char* filename,AUX_RGBImageRec *pData);
- void DeletePicture(AUX_RGBImageRec *pData);
- protected:
- bool m_bExit,m_bLBtnDown,m_bLBtnUp;
- POINT m_mpos;
- int m_iCurMenu,m_iOldMenu;
- int GameReturn;
- CAudio cSelect;
- CAudio cBkg;
- };
- #endif // !defined(AFX_MENU_H__6EA9431C_32DB_4F6A_BAD7_40217E191381__INCLUDED_)