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/loader/LevelLoader.h

    r708 r715  
    99#define _LevelLoader_H__
    1010
     11#include <string>
     12
    1113#include "LoaderPrereqs.h"
    12 
    13 #include "misc/String.h"
    1414#include "tinyxml/tinyxml.h"
    1515
     
    2323  public:
    2424    // Constructors, loads the level file and some information data
    25     LevelLoader(orxonox::String file, orxonox::String dir = "levels");
     25    LevelLoader(std::string file, std::string dir = "levels");
    2626    // Destructor
    2727    virtual ~LevelLoader();
     
    3030
    3131    // Getters
    32     inline orxonox::String name() {return name_; };
    33     inline orxonox::String description() {return description_; };
    34     inline orxonox::String image() {return image_; };
     32    inline std::string name() {return name_; };
     33    inline std::string description() {return description_; };
     34    inline std::string image() {return image_; };
    3535  private:
    3636    //! Level information
    37     orxonox::String name_;
    38     orxonox::String description_;
    39     orxonox::String image_;
    40     orxonox::String loadingBackgroundColor_;
    41     orxonox::String loadingBackgroundImage_;
    42     orxonox::String loadingBarImage_;
    43     orxonox::String loadingBarTop_;
    44     orxonox::String loadingBarLeft_;
    45     orxonox::String loadingBarWidth_;
    46     orxonox::String loadingBarHeight_;
     37    std::string name_;
     38    std::string description_;
     39    std::string image_;
     40    std::string loadingBackgroundColor_;
     41    std::string loadingBackgroundImage_;
     42    std::string loadingBarImage_;
     43    std::string loadingBarTop_;
     44    std::string loadingBarLeft_;
     45    std::string loadingBarWidth_;
     46    std::string loadingBarHeight_;
    4747
    4848    //! Set to true if it was possible to load the level file
Note: See TracChangeset for help on using the changeset viewer.