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/story_entities/game_world_data.cc

    r9816 r9833  
    2121#include "game_world_data.h"
    2222
    23 #include "util/loading/resource_manager.h"
    2423#include "state.h"
    2524#include "substring.h"
    2625
    2726#include "util/loading/game_loader.h"
     27#include "util/loading/new_resource_manager.h"
    2828
    2929#include "world_entity.h"
     
    301301
    302302  // unload the resources loaded in this Level !!
    303   ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL);
     303  /// FIXME TODO HACK!!
     304//  ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL);
    304305
    305306  if (State::getObjectManager() == this->objectManager)
     
    378379  {
    379380    PRINTF(3)("Setting Sound Track to %s\n", name.c_str());
    380     std::string oggFile = ResourceManager::getFullName(name);
     381    std::string oggFile = Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(name);
    381382    this->music = new OrxSound::OggPlayer(oggFile);
    382383    if (this->localPlayer != NULL)
Note: See TracChangeset for help on using the changeset viewer.