Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9833 in orxonox.OLD for branches/new_class_id/src/lib/script_engine


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/script_engine/script.cc

    r9757 r9833  
    1818#include "luaincl.h"
    1919#include "debug.h"
    20 #include "util/loading/resource_manager.h"
    21 
     20
     21#include "loading/new_resource_manager.h"
    2222#include "loading/load_param.h"
    2323#include "parser/tinyxml/tinyxml.h"
     
    100100bool Script::loadFile(const std::string& filename)
    101101 {
    102    std::string filedest(ResourceManager::getInstance()->getDataDir());
     102   std::string filedest(Resources::NewResourceManager::getInstance()->mainGlobalPath().name());
    103103   filedest += "scripts/" + filename;
    104104
Note: See TracChangeset for help on using the changeset viewer.