Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 21, 2006, 3:13:27 AM (19 years ago)
Author:
bensch
Message:

trunk: ResourceManager: make the ResourceManager more modular

File:
1 edited

Legend:

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

    r6633 r6640  
    1414    (NO_TEXT)
    1515    (NO_TEXTURES)
     16    (NO_SHADERS)
    1617*/
    1718
     
    114115  bool verifyDataDir(const char* fileInside);
    115116  bool addImageDir(const char* imageDir);
     117
     118  void cache(const char* fileName, ResourceType type, ResourcePriority prio = RP_NO,
     119             void* param1 = NULL, void* param2 = NULL, void* param3 = NULL);
     120
    116121  BaseObject* load(const char* fileName, ResourcePriority prio = RP_NO,
    117122               void* param1 = NULL, void* param2 = NULL, void* param3 = NULL);
     
    142147 private:
    143148  ResourceManager();
     149  Resource* loadResource(const char* fileName, ResourceType type, ResourcePriority prio,
     150                     void* param1, void* param2, void* param3);
    144151
    145152 private:
Note: See TracChangeset for help on using the changeset viewer.