Changeset 4462 in orxonox.OLD for orxonox/trunk/src/util/resource_manager.h
- Timestamp:
- Jun 2, 2005, 12:50:37 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.h
r4381 r4462 19 19 template<class T> class tList; 20 20 21 //! An eumerator for different fileTypes the resourceManager supports \todo WAV, MP3, OGG support 22 enum ResourceType {OBJ, 23 PRIM, 24 WAV, 25 MP3, 26 OGG, 27 TTF, 28 IMAGE}; 21 //! An eumerator for different fileTypes the resourceManager supports 22 typedef enum ResourceType { OBJ, 23 PRIM, 24 MD2, 25 WAV, 26 MP3, 27 OGG, 28 TTF, 29 IMAGE }; 30 29 31 //! An enumerator for different UNLOAD-types. 30 32 /** 31 RP_NO: will be unloaded on request32 RP_LEVEL: will be unloaded at the end of a Level33 RP_CAMPAIGN: will be unloaded at the end of a Campaign34 RP_GAME: will be unloaded at the end of the whole Game (when closing orxonox)33 RP_NO: will be unloaded on request 34 RP_LEVEL: will be unloaded at the end of a Level 35 RP_CAMPAIGN: will be unloaded at the end of a Campaign 36 RP_GAME: will be unloaded at the end of the whole Game (when closing orxonox) 35 37 */ 36 enum ResourcePriority {RP_NO =0,37 RP_LEVEL =1,38 RP_CAMPAIGN =2,39 RP_GAME = 3};38 typedef enum ResourcePriority { RP_NO = 0, 39 RP_LEVEL = 1, 40 RP_CAMPAIGN = 2, 41 RP_GAME = 4 }; 40 42 41 43 //! A Struct that keeps track about A resource its name its Type, and so on … … 55 57 unsigned char ttfColorG; 56 58 unsigned char ttfColorB; 59 char* skinFileName; 57 60 }; 58 61 … … 66 69 67 70 It does it by looking, if a desired file has already been loaded. 68 69 \todo loading also dependant by parameters.70 71 */ 71 72 class ResourceManager : public BaseObject
Note: See TracChangeset
for help on using the changeset viewer.