Changeset 9833 in orxonox.OLD for branches/new_class_id/src/lib/network
- Timestamp:
- Sep 26, 2006, 4:59:49 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/network/monitor/network_stats_widget.cc
r9715 r9833 20 20 #include "peer_info.h" 21 21 22 #include "loading/new_resource_manager.h" 23 22 24 #include "multi_type.h" 23 25 24 26 #include "shell_command.h" 25 26 #include "loading/resource_manager.h"27 27 28 28 // this fcuk does not work! … … 56 56 { 57 57 if(_font == NULL) 58 _font = new Font(Resource Manager::getInstance()->getDataDir() + "/fonts/arial.ttf", 20);58 _font = new Font(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/arial.ttf", 20); 59 59 60 60 //this->_name.setFont(*_font); -
branches/new_class_id/src/lib/network/network_stream.cc
r9757 r9833 36 36 #include "zip.h" 37 37 38 #include "src/lib/util/loading/resource_manager.h"39 40 38 #include "network_log.h" 41 39 42 40 #include "player_stats.h" 43 41 44 #include "lib/util/loading/factory.h" 42 #include "loading/factory.h" 43 #include "loading/new_resource_manager.h" 45 44 46 45 #include "debug.h" … … 1300 1299 length = remainingBytesToWriteToDict; 1301 1300 1302 std::string fileName = Resource Manager::getInstance()->getDataDir();1301 std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name(); 1303 1302 fileName += "/dicts/newdict"; 1304 1303 -
branches/new_class_id/src/lib/network/proxy/network_settings.cc
r9715 r9833 21 21 #include "shared_network_data.h" 22 22 23 #include "loading/resource_manager.h"24 23 #include "loading/load_param.h" 25 24 #include "loading/new_resource_manager.h" 26 25 #include "debug.h" 27 26 … … 65 64 void NetworkSettings::loadData() 66 65 { 67 std::string fileName = Resource Manager::getInstance()->getDataDir();66 std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name(); 68 67 fileName += "configs/network_settings.conf"; 69 68 -
branches/new_class_id/src/lib/network/zip.cc
r8623 r9833 15 15 16 16 #include "zip.h" 17 18 #include "src/lib/util/loading/resource_manager.h" 17 #include "loading/new_resource_manager.h" 19 18 #include "debug.h" 20 19 … … 51 50 int Zip::loadDictionary( std::string name ) 52 51 { 53 std::string fileName = Resource Manager::getInstance()->getDataDir();52 std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name(); 54 53 //PRINTF(0)("datadir: %s\n", fileName.c_str()); 55 54 fileName = fileName + "/dicts/" + name;
Note: See TracChangeset
for help on using the changeset viewer.