Changeset 9869 in orxonox.OLD for trunk/src/lib/network/proxy/network_settings.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/network/proxy/network_settings.cc
r9656 r9869 21 21 #include "shared_network_data.h" 22 22 23 #include "loading/load_param.h" 23 24 #include "loading/resource_manager.h" 24 #include "loading/load_param.h"25 26 25 #include "debug.h" 27 26 28 27 28 ObjectListDefinition(NetworkSettings); 29 29 30 30 NetworkSettings* NetworkSettings::singletonRef = NULL; … … 36 36 { 37 37 /* set the class id for the base object */ 38 this-> setClassID(CL_NETWORK_SETTINGS, "NetworkSettings");38 this->registerObject(this, NetworkSettings::_objectList); 39 39 40 40 // suggest a good standard max players value … … 64 64 void NetworkSettings::loadData() 65 65 { 66 std::string fileName = Resource Manager::getInstance()->getDataDir();66 std::string fileName = Resources::ResourceManager::getInstance()->mainGlobalPath().name(); 67 67 fileName += "configs/network_settings.conf"; 68 68
Note: See TracChangeset
for help on using the changeset viewer.