- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
Spray.h
资源名称:g.rar [点击查看]
上传用户:laitongbao
上传日期:2021-02-20
资源大小:8176k
文件大小:1k
源码类别:
射击游戏
开发平台:
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_)