Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 12, 2009, 8:20:07 PM (15 years ago)
Author:
rgrieder
Message:

Merged core5 branch back to the trunk.
Key features include clean level unloading and an extended XML event system.

Two important notes:
Delete your keybindings.ini files! * or you will still get parser errors when loading the key bindings.
Delete build_dir/lib/modules/libgamestates.module! * or orxonox won't start.
Best thing to do is to delete the build folder ;)

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/libraries/core/CommandLine.cc

    r5738 r5929  
    3131#include <algorithm>
    3232#include <sstream>
    33 #include <boost/filesystem.hpp>
    3433
    3534#include "util/Convert.h"
     
    3837#include "util/StringUtils.h"
    3938#include "util/SubString.h"
    40 #include "Core.h"
     39#include "PathConfig.h"
    4140
    4241namespace orxonox
     
    285284        }
    286285
     286        infoStr << std::endl;
    287287        infoStr << "Usage: orxonox [options]" << std::endl;
    288288        infoStr << "Available options:" << std::endl;
     
    348348    {
    349349        std::string filename = CommandLine::getValue("optionsFile").getString();
    350         boost::filesystem::path filepath(Core::getConfigPath() / filename);
    351350
    352351        // look for additional arguments in given file or start.ini as default
    353352        // They will not overwrite the arguments given directly
    354353        std::ifstream file;
    355         file.open(filepath.string().c_str());
     354        file.open((PathConfig::getConfigPathString() + filename).c_str());
    356355        std::vector<std::string> args;
    357356        if (file)
Note: See TracChangeset for help on using the changeset viewer.