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
Spray.h
Package: g.rar [view]
Upload User: laitongbao
Upload Date: 2021-02-20
Package Size: 8176k
Code Size: 1k
Category:
Shot Game
Development Platform:
Visual C++
- // Spray.h: interface for the Spray class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_SPRAY_H__052D80DA_89CE_408D_BEA7_F98E6694E271__INCLUDED_)
- #define AFX_SPRAY_H__052D80DA_89CE_408D_BEA7_F98E6694E271__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "NodeObject.h"
- struct PARTICLE
- {
- BOOL m_bSpark; // Sparks are less energetic particles that
- // are generated where/when the main particles
- // hit the ground
- D3DXVECTOR3 m_vPos; // Current position
- D3DXVECTOR3 m_vVel; // Current velocity
- D3DXVECTOR3 m_vPos0; // Initial position
- D3DXVECTOR3 m_vVel0; // Initial velocity
- FLOAT m_fTime0; // Time of creation
- D3DXCOLOR m_clrDiffuse; // Initial diffuse color
- D3DXCOLOR m_clrFade; // Faded diffuse color
- FLOAT m_fFade; // Fade progression
- PARTICLE* m_pNext; // Next particle in list
- }
- class Spray : public NodeObject
- {
- friend class TransitionController;
- friend class ShaderController;
- friend class FileController;
- friend class SceneTree;
- friend class Cloud;
- public:
- Spray(TCHAR name,float x=0,float y=0,float z=0);
- virtual ~Spray();
- private:
- number
- };
- #endif // !defined(AFX_SPRAY_H__052D80DA_89CE_408D_BEA7_F98E6694E271__INCLUDED_)