Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 25, 2008, 5:13:35 PM (16 years ago)
Author:
landauf
Message:

renamed Level to XMLFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/gamestates/GSDedicated.cc

    r2003 r2010  
    3535#include "core/CommandLine.h"
    3636#include "core/Loader.h"
     37#include "core/XMLFile.h"
    3738#include "core/Core.h"
    3839#include "network/Server.h"
     
    4849        , server_(0)
    4950        , sceneManager_(0)
    50         , startLevel_(0)
     51        , startFile_(0)
    5152    {
    5253    }
     
    7475        // call the loader
    7576        COUT(0) << "Loading level..." << std::endl;
    76         startLevel_ = new Level(Settings::getDataPath() + "levels/sample.oxw");
    77         Loader::open(startLevel_);
     77        startFile_ = new XMLFile(Settings::getDataPath() + "levels/sample.oxw");
     78        Loader::open(startFile_);
    7879
    7980        server_->open();
     
    8990        // TODO: Remove and destroy console command
    9091
    91         Loader::unload(startLevel_);
    92         delete this->startLevel_;
     92        Loader::unload(startFile_);
     93        delete this->startFile_;
    9394
    9495        this->server_->close();
Note: See TracChangeset for help on using the changeset viewer.