Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 26, 2005, 3:33:06 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: resource now also gets loaded if the data-directory is not where it is supposed to be… this will be better in the future (i hope)

File:
1 edited

Legend:

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

    r3911 r3983  
    7373  bool unload(Resource* resource, ResourcePriority = RP_NO);
    7474  bool unloadAllByPriority(ResourcePriority prio);
     75
    7576  void debug(void);
     77
     78  // utility functions of this class
     79  static bool isDir(const char* directory);
     80  static bool isFile(const char* directory);
    7681
    7782 private:
     
    8792  Resource* locateResourceByPointer(const void* pointer);
    8893 
    89   bool isDir(const char* directory);
    90   bool isFile(const char* directory);
    91 
    9294};
    9395
Note: See TracChangeset for help on using the changeset viewer.