Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 469 for code/branches/FICN/src


Ignore:
Timestamp:
Dec 12, 2007, 2:15:24 PM (17 years ago)
Author:
nicolape
Message:

Disabled some stuff on loader

Location:
code/branches/FICN/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/loader/LevelLoader.cc

    r347 r469  
    1515        dir.append("/");
    1616        dir.append(file);       
    17         rootNode = XMLNode::openFileHelper(dir.c_str(),"WorldDataFile");
     17        rootNode = XMLNode::openFileHelper(dir.c_str(),"orxonoxworld");
    1818        // TODO: Error handling
    1919
    2020        // Assing general level infos to class variables
    21         this->name_ = rootNode.getChildNode("name").getText();
    22         this->description_ = rootNode.getChildNode("description").getText();
    23         this->image_ = rootNode.getChildNode("image").getText();
     21        //this->name_ = (std::string)rootNode.getAttribute("name").getText();
     22        //this->image_ = (std::string)rootNode.getAttribute("image").getText();
     23        //this->description_ = (std::string)rootNode.getChildNode("description").getText();
    2424 
    25         this->loadingScreen();
     25        //this->loadingScreen();
    2626 
    2727  // Assign sub-nodes
  • code/branches/FICN/src/loader/LevelLoader.h

    r379 r469  
    2525                // XML Nodes
    2626                XMLNode rootNode;
     27                XMLNode loadingScreenNode;
    2728                XMLNode worldNode;
    28                 XMLNode scriptNode;
    29                 XMLNode cameraNode;
    30                 XMLNode lightNode;
     29                XMLNode audioNode;
     30                XMLNode scriptsNode;
    3131               
    3232                // Level information
  • code/branches/FICN/src/orxonox/orxonox.cc

    r462 r469  
    221221    auMan_ = new audio::AudioManager();
    222222    // load this file from config
    223     string levelFile = "sp_level_moonstation.oxw";
     223    string levelFile = "sample.oxw";
    224224    loader_ = new loader::LevelLoader(levelFile);
    225225    //TODO: run engine
Note: See TracChangeset for help on using the changeset viewer.