Changeset 715 for code/branches/FICN/src/orxonox/objects/Fighter.cc
- Timestamp:
- Dec 28, 2007, 11:33:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/Fighter.cc
r708 r715 26 26 */ 27 27 28 #include <string> 29 28 30 #include <OgreCamera.h> 29 31 #include <OgreRenderWindow.h> … … 33 35 #include "tinyxml/tinyxml.h" 34 36 #include "misc/String2Number.h" 35 #include "misc/String.h"36 37 #include "../core/CoreIncludes.h" 37 38 #include "../Orxonox.h" … … 174 175 if (xmlElem->Attribute("forward") && xmlElem->Attribute("rotateupdown") && xmlElem->Attribute("rotaterightleft") && xmlElem->Attribute("looprightleft")) 175 176 { 176 String forwardStr = xmlElem->Attribute("forward");177 String rotateupdownStr = xmlElem->Attribute("rotateupdown");178 String rotaterightleftStr = xmlElem->Attribute("rotaterightleft");179 String looprightleftStr = xmlElem->Attribute("looprightleft");177 std::string forwardStr = xmlElem->Attribute("forward"); 178 std::string rotateupdownStr = xmlElem->Attribute("rotateupdown"); 179 std::string rotaterightleftStr = xmlElem->Attribute("rotaterightleft"); 180 std::string looprightleftStr = xmlElem->Attribute("looprightleft"); 180 181 181 182 String2Number<float>(this->maxSpeedForward_, forwardStr);
Note: See TracChangeset
for help on using the changeset viewer.