home *** CD-ROM | disk | FTP | other *** search
- #ifndef __Drone_h__
- #define __Drone_h__
-
- #include "Vehicle.h"
- #include "Animator.h"
-
- typedef struct drone_dlpcCombo_s{
- DynamicLightParticleCluster* dlpc;
- GLfloat** jetsModel_colors;
- GLfloat** bodyModel_colors;
- GLfloat** weaponModel_colors[4];
- }drone_dlpcCombo_t;
-
- class Drone: public Vehicle{
- public:
- Drone(Client* client);
- virtual ~Drone();
-
- Model* bodyModel;
- Animator* bodyAnimator;
- Model* jetsModel;
- Animator* jetsAnimator;
- float jetsFrame;
-
- void moveForward(float deltaT);
- void moveBackward(float deltaT);
- void moveLeft(float deltaT);
- void moveRight(float deltaT);
- void moveUp(float deltaT);
- void moveDown(float deltaT);
-
- void move();
-
- vector<drone_dlpcCombo_t> dlpcs;
- GLfloat** jetsModelSecondaryColors;
- GLfloat** bodyModelSecondaryColors;
- GLfloat** weaponModelSecondaryColors[4];
- void addDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
- void removeDynamicLightParticleCluster(DynamicLightParticleCluster* dlpc);
- void render();
- };
-
- #endif /* __Drone_h__ */
-