Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 11:33:10 PM (16 years ago)
Author:
rgrieder
Message:
  • the master has spoken…
  • misc/String.h is not anymore..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/SpaceShip.cc

    r708 r715  
    2626 */
    2727
     28#include <string>
     29
    2830#include <OIS/OIS.h>
    2931#include <OgreCamera.h>
     
    3436#include "tinyxml/tinyxml.h"
    3537#include "misc/String2Number.h"
    36 #include "misc/String.h"
    3738#include "../core/CoreIncludes.h"
    3839#include "../core/Debug.h"
     
    196197        if (xmlElem->Attribute("forward") && xmlElem->Attribute("rotateupdown") && xmlElem->Attribute("rotaterightleft") && xmlElem->Attribute("looprightleft"))
    197198        {
    198             String forwardStr = xmlElem->Attribute("forward");
    199             String rotateupdownStr = xmlElem->Attribute("rotateupdown");
    200             String rotaterightleftStr = xmlElem->Attribute("rotaterightleft");
    201             String looprightleftStr = xmlElem->Attribute("looprightleft");
     199            std::string forwardStr = xmlElem->Attribute("forward");
     200            std::string rotateupdownStr = xmlElem->Attribute("rotateupdown");
     201            std::string rotaterightleftStr = xmlElem->Attribute("rotaterightleft");
     202            std::string looprightleftStr = xmlElem->Attribute("looprightleft");
    202203
    203204            String2Number<float>(this->maxSpeedForward_, forwardStr);
     
    212213        {
    213214
    214             String msStr = xmlElem->Attribute("maxSpeed");
    215             String msabsStr = xmlElem->Attribute("maxSideAndBackSpeed");
    216             String mrStr = xmlElem->Attribute("maxRotation");
    217             String taStr = xmlElem->Attribute("transAcc");
    218             String raStr = xmlElem->Attribute("rotAcc");
    219             String tdStr = xmlElem->Attribute("transDamp");
    220             String rdStr = xmlElem->Attribute("rotDamp");
     215            std::string msStr = xmlElem->Attribute("maxSpeed");
     216            std::string msabsStr = xmlElem->Attribute("maxSideAndBackSpeed");
     217            std::string mrStr = xmlElem->Attribute("maxRotation");
     218            std::string taStr = xmlElem->Attribute("transAcc");
     219            std::string raStr = xmlElem->Attribute("rotAcc");
     220            std::string tdStr = xmlElem->Attribute("transDamp");
     221            std::string rdStr = xmlElem->Attribute("rotDamp");
    221222
    222223            String2Number<float>(this->maxSpeed_, msStr);
Note: See TracChangeset for help on using the changeset viewer.