Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5480 in orxonox.OLD for trunk/src/util/loading/resource_manager.h


Ignore:
Timestamp:
Nov 3, 2005, 9:08:19 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better check for data-dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/resource_manager.h

    r5479 r5480  
    107107  inline const char* getDataDir() const { return this->dataDir; };
    108108
    109   bool checkDataDir(const char* fileInside);
    110  bool addImageDir(const char* imageDir);
     109
     110  bool tryDataDir(const char* dataDir);
     111  bool verifyDataDir(const char* fileInside);
     112  bool addImageDir(const char* imageDir);
    111113  BaseObject* load(const char* fileName, ResourcePriority prio = RP_NO,
    112114               void* param1 = NULL, void* param2 = NULL, void* param3 = NULL);
     
    120122
    121123
    122   // utility functions of this class
     124  // utility functions for handling files in and around the data-directory
    123125  static bool isDir(const char* directory);
    124126  static bool isFile(const char* fileName);
     
    130132
    131133  static const char* ResourceTypeToChar(ResourceType type);
     134
    132135
    133136 private:
Note: See TracChangeset for help on using the changeset viewer.