Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9836 in orxonox.OLD for branches/new_class_id/src/lib/network


Ignore:
Timestamp:
Sep 26, 2006, 5:16:10 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: Taken out the old ResourceManager.
On the way, i had to desintegrate the old MD3-model loading process (via ResourceManager) MD3 is untouched, but also not loaded anymore neither from ResourceMangers nor from the WorldEntity

@patrick: MD3-ModelLoading class must be implemented… this should be quite easy, with the way MD3 is, and the new Resource-paradigm
cheers

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

    r9833 r9836  
    2020#include "peer_info.h"
    2121
    22 #include "loading/new_resource_manager.h"
     22#include "loading/resource_manager.h"
    2323
    2424#include "multi_type.h"
     
    5656{
    5757  if(_font == NULL)
    58     _font = new Font(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/arial.ttf", 20);
     58    _font = new Font(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/arial.ttf", 20);
    5959
    6060  //this->_name.setFont(*_font);
  • branches/new_class_id/src/lib/network/network_stream.cc

    r9833 r9836  
    4141
    4242#include "loading/factory.h"
    43 #include "loading/new_resource_manager.h"
     43#include "loading/resource_manager.h"
    4444
    4545#include "debug.h"
     
    12991299    length = remainingBytesToWriteToDict;
    13001300
    1301   std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name();
     1301  std::string fileName = Resources::ResourceManager::getInstance()->mainGlobalPath().name();
    13021302  fileName += "/dicts/newdict";
    13031303
  • branches/new_class_id/src/lib/network/proxy/network_settings.cc

    r9833 r9836  
    2222
    2323#include "loading/load_param.h"
    24 #include "loading/new_resource_manager.h"
     24#include "loading/resource_manager.h"
    2525#include "debug.h"
    2626
     
    6464void NetworkSettings::loadData()
    6565{
    66   std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name();
     66  std::string fileName = Resources::ResourceManager::getInstance()->mainGlobalPath().name();
    6767  fileName += "configs/network_settings.conf";
    6868
  • branches/new_class_id/src/lib/network/zip.cc

    r9833 r9836  
    1515
    1616#include "zip.h"
    17 #include "loading/new_resource_manager.h"
     17#include "loading/resource_manager.h"
    1818#include "debug.h"
    1919
     
    5050int Zip::loadDictionary( std::string name )
    5151{
    52   std::string fileName = Resources::NewResourceManager::getInstance()->mainGlobalPath().name();
     52  std::string fileName = Resources::ResourceManager::getInstance()->mainGlobalPath().name();
    5353  //PRINTF(0)("datadir: %s\n", fileName.c_str());
    5454  fileName = fileName + "/dicts/" + name;
Note: See TracChangeset for help on using the changeset viewer.