Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_completion_plugin.cc

    r8330 r9869  
    2121#include "shell_command.h"
    2222
    23 #include "substring.h"
    24 #include "class_list.h"
     23#include "helper_functions.h"
    2524#include "loading/resource_manager.h"
    2625
     
    9897    if (completionBegin.empty()) // if we do not yet have the beginning of the line, start with the chosen startDir.
    9998    {
    100       dir.setFileName(ResourceManager::getInstance()->getDataDir() + this->_subDir);
     99      dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + this->_subDir);
    101100      dir.open();
    102101      for(unsigned int i = 0; i < dir.fileCount(); i++ )
     
    113112        directoryName = completionBegin.substr(0, pos);
    114113
    115       dir.setFileName(ResourceManager::getInstance()->getDataDir() + directoryName);
     114      dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + directoryName);
    116115      dir.open();
    117116
     
    136135          continue;
    137136        }
    138         printf("%s\n", (ResourceManager::getInstance()->getDataDir() + fileName).c_str());
     137        printf("%s\n", (Resources::ResourceManager::getInstance()->mainGlobalPath().name() + fileName).c_str());
    139138        if (!nocaseCmp(completionBegin, fileName, completionBegin.size()) &&
    140              ResourceManager::isInDataDir(fileName))
     139             Resources::ResourceManager::getInstance()->checkFileInMainPath(fileName))
    141140        {
    142141          printf("Dir %s\n", fileName.c_str());
Note: See TracChangeset for help on using the changeset viewer.