Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/proxy/network_settings.cc

    r9656 r9869  
    2121#include "shared_network_data.h"
    2222
     23#include "loading/load_param.h"
    2324#include "loading/resource_manager.h"
    24 #include "loading/load_param.h"
    25 
    2625#include "debug.h"
    2726
    2827
     28ObjectListDefinition(NetworkSettings);
    2929
    3030NetworkSettings* NetworkSettings::singletonRef = NULL;
     
    3636{
    3737  /* set the class id for the base object */
    38   this->setClassID(CL_NETWORK_SETTINGS, "NetworkSettings");
     38  this->registerObject(this, NetworkSettings::_objectList);
    3939
    4040  // suggest a good standard max players value
     
    6464void NetworkSettings::loadData()
    6565{
    66   std::string fileName = ResourceManager::getInstance()->getDataDir();
     66  std::string fileName = Resources::ResourceManager::getInstance()->mainGlobalPath().name();
    6767  fileName += "configs/network_settings.conf";
    6868
Note: See TracChangeset for help on using the changeset viewer.