Changeset 3881 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Apr 18, 2005, 8:05:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r3878 r3881 44 44 */ 45 45 this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj", OBJ, RP_CAMPAIGN); 46 //this->model = (Model*)ResourceManager::getInstance()->load("models/weapon_packet.obj", OBJ, RP_CAMPAIGN);47 46 travelSpeed = 15.0; 48 47 velocity = new Vector(); … … 53 52 //weapons: 54 53 this->weaponMan = new WeaponManager(); 55 Weapon* wpRight = new TestGun(this, new Vector(-2.6, 0.1, 3.0), newQuaternion(), 0);56 Weapon* wpLeft = new TestGun(this, new Vector(-2.6, 0.1, -3.0), newQuaternion(), 1);54 Weapon* wpRight = new TestGun(this,Vector(-2.6, 0.1, 3.0), Quaternion(), 0); 55 Weapon* wpLeft = new TestGun(this, Vector(-2.6, 0.1, -3.0), Quaternion(), 1); 57 56 58 57 this->weaponMan->addWeapon(wpRight, W_CONFIG0); 59 58 this->weaponMan->addWeapon(wpLeft, W_CONFIG1); 60 61 //this->weapons->add(wpRight); 62 //this->activeWeapon = wpRight; 63 //this->activeWeaponL = wpLeft; 59 this->weaponMan->addWeapon(wpRight, W_CONFIG2); 60 this->weaponMan->addWeapon(wpLeft, W_CONFIG2); 61 64 62 } 65 63
Note: See TracChangeset
for help on using the changeset viewer.