home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / GameObject.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-23  |  840 b   |  36 lines

  1. #ifndef __GameObject_h__
  2. #define __GameObject_h__
  3.  
  4. #include "vectormath.h"
  5. #include "LightEffectsParticleClusters.h"
  6.  
  7. #define GAME_OBJECT_MIN_PITCH    (0.0f)
  8. #define GAME_OBJECT_MAX_PITCH    (PI)
  9.  
  10.  
  11. class GameObject{
  12. public:
  13.     vec3_t pos, dir, up, left, vel;
  14.     float yaw, pitch;
  15.     float turnSpeed, moveSpeed;
  16.     list<DynamicLightParticleCluster*> attachedDlpcs;
  17.  
  18.     GameObject();
  19.     virtual ~GameObject();
  20.  
  21.     virtual void reconstructVectors();
  22.     virtual void vectorsFromAngles();
  23.     virtual void anglesFromVectors();
  24.  
  25.  
  26.     virtual void attachDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
  27.     virtual void detachDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
  28.  
  29. //    virtual void move(float deltaT) = 0;
  30. //    virtual bool collisionDetection(vec3_t displacement) = 0;
  31.  
  32. };
  33.  
  34.  
  35. #endif    /* __GameObject_h__ */
  36.