Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/bsp_manager.cc

    r9833 r9836  
    4141#include "world_entity.h"
    4242
    43 #include "util/loading/new_resource_manager.h"
     43#include "util/loading/resource_manager.h"
    4444#include "util/loading/load_param.h"
    4545#include "util/loading/factory.h"
     
    9292  this->bspFile = new BspFile();
    9393  this->bspFile->scale =  scale;
    94   if(this->bspFile->read(Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(fileName).c_str()) == -1)
     94  if(this->bspFile->read(Resources::ResourceManager::getInstance()->prependAbsoluteMainPath(fileName).c_str()) == -1)
    9595    return -1;
    9696
Note: See TracChangeset for help on using the changeset viewer.