Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

decal.h

Go to the documentation of this file.
00001 // Decal Class    by Alan Baylis 2001
00002 
00003 #ifndef DecalH
00004 #define DecalH
00005 
00006 #include "vector.h"
00007 #include "polygon.h"
00008 #include "vertex.h"
00009 #include "quat.h"
00010 
00011 class DECAL
00012 {
00013     public:
00014         DECAL();
00015           ~DECAL();
00016 
00017     int Compare(const DECAL& Decal);
00018     int GetMyPosition() const {return linkPosition;}
00019     void SetMyPosition(int newPosition) {linkPosition = newPosition;}
00020     int linkPosition;
00021     
00022     int type;
00023     int flag;
00024     int counter;
00025     int active;
00026     VECTOR CollisionVector;
00027     VERTEX Vertex[4];
00028     float Size;
00029     VECTOR Position;
00030     QUAT Orientation;
00031 };
00032 
00033 void CreateDecal(VECTOR pt, POLYGON* face, DECAL* decal);
00034 void RenderBulletDecal(DECAL decal);
00035 void RenderBurnDecal(DECAL decal);
00036 void DrawImpactFlash();
00037 void DrawMuzzleFlash();
00038 void DrawDecals();
00039 
00040 #endif

Generated on Fri Dec 23 05:19:54 2005 for Particles by doxygen1.2.15