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
Manager.h
Package: LwGame2.0.rar [view]
Upload User: semy2100
Upload Date: 2013-01-22
Package Size: 3633k
Code Size: 2k
Category:
Shot Game
Development Platform:
Visual C++
- /********************************************************************
- * 空运爆发 *
- * Version 2.0 *
- * 本游戏全部代码由: *
- * 冲天实验室 梁锋 编写 *
- * 邮箱:lenwine@126.com *
- * bbs: http://free2.e-168.cn/lenwind (正在开发中...) *
- **********************************************************************/
- #ifndef MANAGER_H
- #define MANAGER_H
- #include "MusicPlace.h"
- class Manager
- {
- friend class OutScreen;
- friend class MemberStatus;
- friend class ObjectHit;
- HWND MgrFace;
- static const int printtime;
- double ts;
- struct{
- int EndTime,ObjectValue,st;
- }st;
- int OneKey,TwoKey;
- int flat,flat2;
- OutScreen *oWindow;
- OperatorPlace *oPeratorPlace,*oPeratorPlace2;
- BombSet *oPeratorbomb,*oEnermybomb;
- EnermyPlace *oEnermyPlace;
- ObjectHit *oHit;
- void PrintMember(MemberStatus *mStatus);
- void Updatest();
- void OutStatus();
- double GetTs(){return ts;}
- /************************************************************/
- public:
- LPDIRECTSOUND m_lpDS;//DirectSound对象
- MusicPlace* m_lPlay;//背景音乐缓冲区对象
- MusicPlace* ms_play;
- MusicPlace* co_play;
- MusicPlace* cs_play;
- int i;
- BOOL InitializeDirectSound(HWND hwnd);//初始化函数
- void ClearDSBuffer();//完成清除工作;
- void playcs();
- /************************************************************/
- public:
- static const int Imglong,Imgtall;
- static const double PI;
- long lenwin;
- int Time;
- Manager(HWND);
- virtual ~Manager();
- void Update();
- void KeyDown(WPARAM KeyCode);
- void KeyUp(WPARAM KeyCode);
- void EnermyShoot(Brock *bBrock);
- void OperatorShoot(OperatorPlace *oPeratorPlace,int rb=0);
- void OperatorShoot2(OperatorPlace *oPeratorPlace2,int rb=1);
- void RefreshScreen();
- void RefreshScreen2();
- };
- #endif