Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Menu.h
Package: 3dexplorerTest.rar [view]
Upload User: hkb425
Upload Date: 2007-06-16
Package Size: 34191k
Code Size: 1k
Category:
Game Engine
Development Platform:
Visual C++
- // 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_)