Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2006, 4:59:49 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: almost killed off the old ResourceManager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/game_loader.cc

    r9794 r9833  
    2020#include "game_loader.h"
    2121#include "util/loading/load_param.h"
    22 
     22#include "util/loading/new_resource_manager.h"
    2323#include "debug.h"
    2424#include "campaign.h"
    25 
    26 #include "util/loading/resource_manager.h"
    2725
    2826#include "key_mapper.h"
     
    8583{
    8684  ErrorMessage errorCode;
    87   std::string campaignName = ResourceManager::getFullName(fileName);
     85  std::string campaignName = Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(fileName);
    8886  if (!campaignName.empty())
    8987  {
     
    105103{
    106104  ErrorMessage errorCode;
    107   std::string campaignName = ResourceManager::getFullName(fileName);
     105  std::string campaignName = Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(fileName);
    108106  if (!campaignName.empty())
    109107  {
Note: See TracChangeset for help on using the changeset viewer.