Changeset 9833 in orxonox.OLD for branches/new_class_id/src/story_entities
- Timestamp:
- Sep 26, 2006, 4:59:49 PM (18 years ago)
- Location:
- branches/new_class_id/src/story_entities
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/story_entities/game_world.cc
r9823 r9833 20 20 #include "game_world_data.h" 21 21 22 #include "util/loading/resource_manager.h"23 22 #include "state.h" 24 23 -
branches/new_class_id/src/story_entities/game_world_data.cc
r9816 r9833 21 21 #include "game_world_data.h" 22 22 23 #include "util/loading/resource_manager.h"24 23 #include "state.h" 25 24 #include "substring.h" 26 25 27 26 #include "util/loading/game_loader.h" 27 #include "util/loading/new_resource_manager.h" 28 28 29 29 #include "world_entity.h" … … 301 301 302 302 // unload the resources loaded in this Level !! 303 ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL); 303 /// FIXME TODO HACK!! 304 // ResourceManager::getInstance()->unloadAllByPriority(RP_LEVEL); 304 305 305 306 if (State::getObjectManager() == this->objectManager) … … 378 379 { 379 380 PRINTF(3)("Setting Sound Track to %s\n", name.c_str()); 380 std::string oggFile = Resource Manager::getFullName(name);381 std::string oggFile = Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(name); 381 382 this->music = new OrxSound::OggPlayer(oggFile); 382 383 if (this->localPlayer != NULL) -
branches/new_class_id/src/story_entities/menu/game_menu.cc
r9716 r9833 25 25 #include "util/loading/load_param.h" 26 26 #include "util/loading/factory.h" 27 #include "util/loading/resource_manager.h"28 27 29 28 #include "graphics_engine.h" -
branches/new_class_id/src/story_entities/multi_player_world_data.cc
r9715 r9833 18 18 #include "multi_player_world_data.h" 19 19 20 #include "util/loading/resource_manager.h"21 20 #include "state.h" 22 21 #include "substring.h" -
branches/new_class_id/src/story_entities/story_entity.cc
r9729 r9833 22 22 #include "story_entity.h" 23 23 24 #include " util/loading/load_param.h"25 #include " util/loading/resource_manager.h"24 #include "loading/load_param.h" 25 #include "loading/new_resource_manager.h" 26 26 27 27 #include "debug.h" … … 107 107 } 108 108 else 109 this->loadFile = Resource Manager::getFullName(fileName);109 this->loadFile = Resources::NewResourceManager::getInstance()->prependAbsoluteMainPath(fileName); 110 110 111 111 this->grabWorldInfo();
Note: See TracChangeset
for help on using the changeset viewer.