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
SmokeParticle.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++
- // SmokeParticle.h: interface for the CSmokeParticle class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SMOKEPARTICLE_H__87239981_B5DF_11D6_90D2_5254AB37CDC9__INCLUDED_)
- #define AFX_SMOKEPARTICLE_H__87239981_B5DF_11D6_90D2_5254AB37CDC9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "structdef.h"
- class CSmokeParticle
- {
- public:
- CSmokeParticle();
- virtual ~CSmokeParticle();
- void InitParticle(unsigned int texid,float fade=0,int particleNumber=50,float size=1);
- void SetSmokeSize(float size);
- void SetSmokeColor(float red,float green,float blue);
- void SetGravity(float gravity);
- void Reset();
- void DrawParticle();
- PARTICLE *particle;
- float m_smokeLife;
- float m_smokeFade;
- float m_size;
- float m_gravity;
- private:
- void SetSmokeParticle(int number);
- int m_numParticle;
- float m_color[3];
- unsigned int m_texID;
- };
- #endif // !defined(AFX_SMOKEPARTICLE_H__87239981_B5DF_11D6_90D2_5254AB37CDC9__INCLUDED_)