Changeset 4465 in orxonox.OLD for orxonox/trunk/src/util/resource_manager.cc
- Timestamp:
- Jun 2, 2005, 1:21:18 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.cc
r4463 r4465 167 167 /** 168 168 \brief loads resources 169 \param fileName The fileName of the resource to load 170 \param prio The ResourcePriority of this resource (will only be increased) 169 \param fileName: The fileName of the resource to load 170 \param prio: The ResourcePriority of this resource (will only be increased) 171 \param param1: an additional option to parse (see the constuctors for more help) 172 \param param2: an additional option to parse (see the constuctors for more help) 173 \param param3: an additional option to parse (see the constuctors for more help) 171 174 \returns a pointer to a desired Resource. 172 175 */ … … 201 204 /** 202 205 \brief loads resources 203 \param fileName The fileName of the resource to load 204 \param type The Type of Resource to load (\see ResourceType) 205 \param prio The ResourcePriority of this resource (will only be increased) 206 \param fileName: The fileName of the resource to load 207 \param type: The Type of Resource to load (\see ResourceType) 208 \param prio: The ResourcePriority of this resource (will only be increased) 209 \param param1: an additional option to parse (see the constuctors for more help) 210 \param param2: an additional option to parse (see the constuctors for more help) 211 \param param3: an additional option to parse (see the constuctors for more help) 206 212 \returns a pointer to a desired Resource. 207 213 */ 208 void* ResourceManager::load(const char* fileName, ResourceType type, ResourcePriority prio, void* param1, void* param2, void* param3) 214 void* ResourceManager::load(const char* fileName, ResourceType type, ResourcePriority prio, 215 void* param1, void* param2, void* param3) 209 216 { 210 217 // searching if the resource was loaded before. … … 357 364 /** 358 365 \brief unloads a Resource 359 \param pointer The pointer to free 366 \param pointer: The pointer to free 367 \param prio: the PriorityLevel to unload this resource 360 368 \returns true if successful (pointer found, and deleted), false otherwise 361 362 369 */ 363 370 bool ResourceManager::unload(void* pointer, ResourcePriority prio) … … 374 381 } 375 382 383 /** 384 \brief unloads a Resource 385 \param resource: The resource to unloade 386 \param prio the PriorityLevel to unload this resource 387 */ 376 388 bool ResourceManager::unload(Resource* resource, ResourcePriority prio) 377 389 { … … 441 453 /** 442 454 \brief Searches for a Resource by some information 443 \param fileName The name to look for 455 \param fileName: The name to look for 456 \param type the Type of resource to locate. 457 \param param1: an additional option to parse (see the constuctors for more help) 458 \param param2: an additional option to parse (see the constuctors for more help) 459 \param param3: an additional option to parse (see the constuctors for more help) 444 460 \returns a Pointer to the Resource if found, NULL otherwise. 445 461 */ … … 659 675 660 676 /** 661 \param fileName the Name of the file to check677 \param name the Name of the file to check 662 678 \returns The name of the file, including the HomeDir 663 679 IMPORTANT: this has to be deleted from the outside
Note: See TracChangeset
for help on using the changeset viewer.