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

bullet.h

Go to the documentation of this file.
00001 // Bullet Class    by Alan Baylis 2002
00002 
00003 #ifndef BulletH
00004 #define BulletH
00005 
00006 #include "object.h"
00007 #include "vector.h"
00008 #include "vertex.h"
00009 #include "polygon.h"
00010 #include "matrix.h"
00011 
00012 class BULLET : public OBJECT
00013 {
00014     public:
00015         BULLET();
00016         ~BULLET();
00017 
00018         void Reset();
00019         void Initialize();
00020         void Draw();
00021         void Delete();
00022 
00023         int active;
00024         int leaf;
00025         int flag;
00026         int collisionnode;
00027         int collisionpoly;
00028         VECTOR OriginalPosition;
00029         VECTOR VelocityVector;
00030         VECTOR CollisionVector;
00031         VECTOR PreviousPosition;
00032         int numverts;
00033         VERTEX* modelvertlist;
00034         int numpolys;
00035         POLYGON* modelpolylist;
00036         MATRIX Matrix;
00037 };
00038 
00039 void InitializeBullets();
00040 void UpdateBullets();
00041 void DeleteBullets();
00042 
00043 #endif
00044 

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