Revision 1378,
833 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Line | |
---|
1 | #include "weapon.h"
|
---|
2 |
|
---|
3 | class ParticleEmitter;
|
---|
4 | class ParticleGroup;
|
---|
5 | class Sprite;
|
---|
6 |
|
---|
7 | #define SPTR boost::shared_ptr
|
---|
8 | #define WPTR boost::weak_ptr
|
---|
9 |
|
---|
10 | class SimpleWeapon :
|
---|
11 | public Weapon
|
---|
12 | {
|
---|
13 | public:
|
---|
14 | SimpleWeapon(void);
|
---|
15 | ~SimpleWeapon(void);
|
---|
16 |
|
---|
17 | virtual void initWeapon();
|
---|
18 | virtual void setPlayer(Player &_player);
|
---|
19 |
|
---|
20 | static const int TYPE_MG = 0;
|
---|
21 | static const int TYPE_BOMB = 1;
|
---|
22 | static const int TYPE_ALIEN = 2;
|
---|
23 | static const int TYPE_FIRE = 3;
|
---|
24 | static const int TYPE_ICE = 4;
|
---|
25 |
|
---|
26 | virtual void calcWorldMatrix(D3DXMATRIX &pMatWorld);
|
---|
27 |
|
---|
28 | virtual Node* clone();
|
---|
29 | protected:
|
---|
30 | virtual void doFire();
|
---|
31 | void attachFlameEmitter(Node* node, bool fireEmitter = true);
|
---|
32 |
|
---|
33 | ParticleEmitter* leftFire;
|
---|
34 | ParticleEmitter* rightFire;
|
---|
35 | Sprite* fire[2];
|
---|
36 | ParticleEmitter* leftIce;
|
---|
37 | ParticleEmitter* rightIce;
|
---|
38 | Sprite* ice[2];
|
---|
39 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.