Changeset 7092 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Feb 7, 2006, 5:27:54 PM (19 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.h
r6947 r7092 22 22 23 23 virtual void loadParams(const TiXmlElement* root); 24 virtual void setAbsDirPlay(const Quaternion& rot){/* FIXME */}; 24 25 25 26 virtual void enter(); -
trunk/src/world_entities/space_ships/hover.h
r7072 r7092 19 19 20 20 virtual void loadParams(const TiXmlElement* root); 21 virtual void setAbsDirPlay(const Quaternion& rot) {/* FIXME */}; 21 22 22 23 virtual void enter(); -
trunk/src/world_entities/space_ships/space_ship.cc
r7087 r7092 248 248 { 249 249 Playable::loadParams(root); 250 251 LoadParam(root, "abs-dir", this, SpaceShip, setRelDir); 252 } 253 254 void SpaceShip::setRelDir(float angle, float axisX, float axisY, float axisZ) 255 { 256 this->mouseDir = Quaternion(angle, Vector(axisX, axisY, axisZ)); 250 } 251 252 void SpaceShip::setAbsDirPlay(const Quaternion& quat) 253 { 254 this->mouseDir = Quaternion(quat); 257 255 } 258 256 -
trunk/src/world_entities/space_ships/space_ship.h
r7085 r7092 27 27 virtual void loadParams(const TiXmlElement* root); 28 28 29 v oid setRelDir(float angle, float axisX, float axisY, float axisZ);29 virtual void setAbsDirPlay(const Quaternion& rot); 30 30 31 31 virtual void enter(); -
trunk/src/world_entities/space_ships/turbine_hover.h
r7001 r7092 23 23 24 24 virtual void loadParams(const TiXmlElement* root); 25 25 virtual void setAbsDirPlay(const Quaternion& rot) {/* FIXME */}; 26 26 virtual void enter(); 27 27 virtual void leave();
Note: See TracChangeset
for help on using the changeset viewer.