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/shell/shell_completion_plugin.cc

    r9833 r9836  
    2222
    2323#include "helper_functions.h"
    24 #include "loading/new_resource_manager.h"
     24#include "loading/resource_manager.h"
    2525
    2626#include "filesys/directory.h"
     
    9797    if (completionBegin.empty()) // if we do not yet have the beginning of the line, start with the chosen startDir.
    9898    {
    99       dir.setFileName(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + this->_subDir);
     99      dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + this->_subDir);
    100100      dir.open();
    101101      for(unsigned int i = 0; i < dir.fileCount(); i++ )
     
    112112        directoryName = completionBegin.substr(0, pos);
    113113
    114       dir.setFileName(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + directoryName);
     114      dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + directoryName);
    115115      dir.open();
    116116
     
    135135          continue;
    136136        }
    137         printf("%s\n", (Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + fileName).c_str());
     137        printf("%s\n", (Resources::ResourceManager::getInstance()->mainGlobalPath().name() + fileName).c_str());
    138138        if (!nocaseCmp(completionBegin, fileName, completionBegin.size()) &&
    139              Resources::NewResourceManager::getInstance()->checkFileInMainPath(fileName))
     139             Resources::ResourceManager::getInstance()->checkFileInMainPath(fileName))
    140140        {
    141141          printf("Dir %s\n", fileName.c_str());
Note: See TracChangeset for help on using the changeset viewer.