Changeset 4951 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Jul 24, 2005, 11:15:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4926 r4951 49 49 Weapon* wpLeft = new TestGun(this, Vector(-2.6, 0.1, -3.0), Quaternion(), 1); 50 50 51 this->weaponMan->addWeapon(wpRight , WM_CONFIG0, WM_SLOT0);51 this->weaponMan->addWeapon(wpRight); 52 52 // this->weaponMan->addWeapon(wpLeft, WM_CONFIG1, WM_SLOT1); 53 53 // this->weaponMan->addWeapon(wpRight, WM_CONFIG2); … … 83 83 Weapon* wpLeft = new TestGun(this, Vector(-2.6, 0.1, -3.0), Quaternion(), 1); 84 84 85 this->weaponMan->addWeapon(wpRight, WM_CONFIG0, WM_SLOT0); 86 this->weaponMan->addWeapon(wpLeft, WM_CONFIG1, WM_SLOT1); 87 this->weaponMan->addWeapon(wpRight, WM_CONFIG2); 88 this->weaponMan->addWeapon(wpLeft, WM_CONFIG2); 85 this->weaponMan->addWeapon(wpRight, 0,0); 86 this->weaponMan->addWeapon(wpLeft, 0, 1); 87 this->weaponMan->addWeapon(wpLeft, 1, 1); 88 this->weaponMan->addWeapon(wpRight, 2, 0); 89 /* this->weaponMan->addWeapon(wpRight, WM_CONFIG2); 90 this->weaponMan->addWeapon(wpLeft, WM_CONFIG2);*/ 89 91 } 90 92 … … 96 98 this->setClassID(CL_PLAYER, "Player"); 97 99 98 this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj", OBJ, RP_CAMPAIGN);100 // this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj", OBJ, RP_CAMPAIGN); 99 101 travelSpeed = 15.0; 100 102 velocity = new Vector();
Note: See TracChangeset
for help on using the changeset viewer.