Changeset 3629 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 22, 2005, 11:15:54 AM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.cc
r3618 r3629 42 42 Projectile::~Projectile () 43 43 { 44 44 /* 45 do not delete the test projectModel, since it is pnode 46 and will be cleaned out by world 47 */ 48 //delete this->projectileModel; 45 49 } 46 50 … … 78 82 this->getAbsDir().matrix (matrix); 79 83 glMultMatrixf((float*)matrix); 80 this->model->draw(); 84 //this->model->draw(); 85 PRINTF(1)("draw draw draw draw draw draw \n"); 86 this->projectileModel->draw(); 81 87 82 88 glPopMatrix(); -
orxonox/trunk/src/world_entities/test_gun.cc
r3620 r3629 25 25 26 26 #include "vector.h" 27 #include "list.h" 27 28 28 29 using namespace std; … … 77 78 { 78 79 printf("TestGun::fire() - firing weapon now ---------------------------\n"); 79 //this->myWorld; 80 //WorldEntity* pj = new Projectile(); 81 //this->worldEntities->add(pj); 80 82 } 81 83 -
orxonox/trunk/src/world_entities/weapon.h
r3620 r3629 69 69 virtual void draw(void); 70 70 71 protected: 72 tList<WorldEntity>* worldEntities; 71 73 72 74 private: … … 76 78 Projectile* projectile; 77 79 //WeaponSound sound; 78 tList<WorldEntity>* worldEntities;79 80 80 }; 81 81
Note: See TracChangeset
for help on using the changeset viewer.