- Timestamp:
- Jun 2, 2010, 12:27:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/worldentities/pawns/FpsPlayer.h
r7073 r7075 58 58 virtual void rotatePitch(const Vector2& value); 59 59 virtual void rotateRoll(const Vector2& value); 60 61 60 61 62 62 inline void setMeshSource(const std::string& meshname) 63 63 { this->meshSrc_ = meshname; this->changedMesh(); } 64 64 inline const std::string& getMeshSource() const 65 65 { return this->meshSrc_; } 66 67 void boost();//acctually jump66 67 void boost(); //acctually jump 68 68 69 69 virtual void fire(); 70 71 bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);72 70 73 virtual void addedWeaponPack(WeaponPack* wPack); 74 71 bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 72 73 virtual void addedWeaponPack(WeaponPack* wPack); 74 75 75 protected: 76 76 virtual void setPlayer(PlayerInfo* player); … … 84 84 float auxilaryThrust_; 85 85 float rotationThrust_; 86 86 std::string weaponMashName_; 87 87 btVector3 localLinearAcceleration_; 88 88 btVector3 localAngularAcceleration_; … … 92 92 float speed_; 93 93 94 95 96 94 void changedMesh(); 95 Mesh mesh_; 96 std::string meshSrc_; 97 97 float yaw_; 98 98 float pitch_; 99 99 float roll_; 100 100 Vector3 localVelocity_; 101 102 103 104 105 101 bool isFloor_; 102 bool thisTickBoost_; 103 Quaternion savedOrientation_; 104 Ogre::SceneNode* weaponNode_; 105 }; 106 106 } 107 107
Note: See TracChangeset
for help on using the changeset viewer.