Changeset 5110 in orxonox.OLD for trunk/src/util
- Timestamp:
- Aug 23, 2005, 11:07:40 PM (19 years ago)
- Location:
- trunk/src/util
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/animation/animation3d.cc
r5062 r5110 58 58 // delete all the KeyFrames 59 59 tIterator<KeyFrame3D>* itKF = keyFrameList->getIterator(); 60 KeyFrame3D* enumKF = itKF-> nextElement();60 KeyFrame3D* enumKF = itKF->firstElement(); 61 61 while (enumKF) 62 62 { -
trunk/src/util/animation/animation_player.cc
r4836 r5110 86 86 // deleting the Animation List AND all the elements of the List 87 87 tIterator<Animation>* animIt = this->animationList->getIterator(); 88 Animation* anim = animIt-> nextElement();88 Animation* anim = animIt->firstElement(); 89 89 while( anim != NULL) 90 90 { … … 109 109 // iterate through all the animations and tick them. 110 110 tIterator<Animation>* animIt = this->animationList->getIterator(); 111 Animation* anim = animIt-> nextElement();111 Animation* anim = animIt->firstElement(); 112 112 while( anim != NULL) 113 113 { … … 147 147 { 148 148 tIterator<Animation>* animIt = this->animationList->getIterator(); 149 Animation* anim = animIt-> nextElement();149 Animation* anim = animIt->firstElement(); 150 150 while( anim != NULL) 151 151 { … … 176 176 // Per ANIMATION DEBUG 177 177 tIterator<Animation>* animIt = this->animationList->getIterator(); 178 Animation* anim = animIt-> nextElement();178 Animation* anim = animIt->firstElement(); 179 179 while( anim != NULL) 180 180 { -
trunk/src/util/animation/t_animation.h
r5039 r5110 108 108 // delete all the KeyFrames 109 109 tIterator<KeyFrameF>* itKF = keyFrameList->getIterator(); 110 KeyFrameF* enumKF = itKF-> nextElement();110 KeyFrameF* enumKF = itKF->firstElement(); 111 111 while (enumKF) 112 112 { -
trunk/src/util/garbage_collector.cc
r4979 r5110 156 156 // 157 157 // tIterator<WorldEntity>* iterator = list->getIterator(); 158 // WorldEntity* entity = iterator-> nextElement();158 // WorldEntity* entity = iterator->firstElement(); 159 159 // while( entity != NULL) 160 160 // { -
trunk/src/util/loading/load_param.cc
r5102 r5110 295 295 296 296 tIterator<LoadParamDescription>* iterator = this->paramList->getIterator(); 297 LoadParamDescription* enumParamDesc = iterator-> nextElement();297 LoadParamDescription* enumParamDesc = iterator->firstElement(); 298 298 while (enumParamDesc) 299 299 { … … 314 314 { 315 315 tIterator<LoadClassDescription>* iterator = LoadClassDescription::classList->getIterator(); 316 LoadClassDescription* enumClassDesc = iterator-> nextElement();316 LoadClassDescription* enumClassDesc = iterator->firstElement(); 317 317 while (enumClassDesc) 318 318 { … … 336 336 { 337 337 tIterator<LoadParamDescription>* iterator = this->paramList->getIterator(); 338 LoadParamDescription* enumParamDesc = iterator-> nextElement();338 LoadParamDescription* enumParamDesc = iterator->firstElement(); 339 339 while (enumParamDesc) 340 340 { … … 362 362 PRINT(3)(" Listing all the Loadable Options (loaded since Game started).\n\n"); 363 363 tIterator<LoadClassDescription>* classIT = LoadClassDescription::classList->getIterator(); 364 LoadClassDescription* enumClassDesc = classIT-> nextElement();364 LoadClassDescription* enumClassDesc = classIT->firstElement(); 365 365 while (enumClassDesc) 366 366 { 367 367 PRINT(3)("<%s>\n", enumClassDesc->className); 368 368 tIterator<LoadParamDescription>* paramIT = enumClassDesc->paramList->getIterator(); 369 LoadParamDescription* enumParamDesc = paramIT-> nextElement();369 LoadParamDescription* enumParamDesc = paramIT->firstElement(); 370 370 while (enumParamDesc) 371 371 { … … 394 394 395 395 tIterator<LoadClassDescription>* iterator = LoadClassDescription::classList->getIterator(); 396 LoadClassDescription* enumClassDesc = iterator-> nextElement();396 LoadClassDescription* enumClassDesc = iterator->firstElement(); 397 397 while (enumClassDesc) 398 398 { … … 412 412 // { 413 413 // tIterator<LoadClassDescription>* iterator = LoadClassDescription::classList->getIterator(); 414 // LoadClassDescription* enumClassDesc = iterator-> nextElement();414 // LoadClassDescription* enumClassDesc = iterator->firstElement(); 415 415 // while (enumClassDesc) 416 416 // { -
trunk/src/util/resource_manager.cc
r5101 r5110 74 74 // deleting the Directorie Lists 75 75 tIterator<char>* tmpIt = imageDirs->getIterator(); 76 char* tmpDir = tmpIt-> nextElement();76 char* tmpDir = tmpIt->firstElement(); 77 77 while(tmpDir) 78 78 { … … 144 144 // check if the Directory has been added before 145 145 tIterator<char>* tmpImageDirs = imageDirs->getIterator(); 146 char* tmpDir = tmpImageDirs-> nextElement();146 char* tmpDir = tmpImageDirs->firstElement(); 147 147 while(tmpDir) 148 148 { … … 363 363 { 364 364 tIterator<char>* iterator = imageDirs->getIterator(); 365 tmpDir = iterator->nextElement(); 366 //tmpDir = imageDirs->enumerate(); 365 tmpDir = iterator->firstElement(); 367 366 while(tmpDir) 368 367 { … … 492 491 { 493 492 tIterator<Resource>* iterator = resourceList->getIterator(); 494 Resource* enumRes = iterator-> nextElement();493 Resource* enumRes = iterator->firstElement(); 495 494 while (enumRes) 496 495 { … … 521 520 // Resource* enumRes = resourceList->enumerate(); 522 521 tIterator<Resource>* iterator = resourceList->getIterator(); 523 Resource* enumRes = iterator-> nextElement();522 Resource* enumRes = iterator->firstElement(); 524 523 while (enumRes) 525 524 { … … 603 602 // Resource* enumRes = resourceList->enumerate(); 604 603 tIterator<Resource>* iterator = resourceList->getIterator(); 605 Resource* enumRes = iterator-> nextElement();604 Resource* enumRes = iterator->firstElement(); 606 605 while (enumRes) 607 606 { … … 799 798 PRINT(0)(" List of Image-Directories: "); 800 799 tIterator<char>* tmpIt = imageDirs->getIterator(); 801 char* tmpDir = tmpIt-> nextElement();800 char* tmpDir = tmpIt->firstElement(); 802 801 while(tmpDir) 803 802 { … … 810 809 PRINT(0)("List of all stored Resources:\n"); 811 810 tIterator<Resource>* iterator = resourceList->getIterator(); 812 Resource* enumRes = iterator-> nextElement();811 Resource* enumRes = iterator->firstElement(); 813 812 while (enumRes) 814 813 { -
trunk/src/util/shell.cc
r5108 r5110 91 91 // delete all the Chars in the Buffers 92 92 tIterator<char>* charIterator = this->buffer->getIterator(); 93 char* charElem = charIterator-> nextElement();93 char* charElem = charIterator->firstElement(); 94 94 while (charElem != NULL) 95 95 { … … 191 191 // delete all the Chars in the Buffers 192 192 tIterator<char>* charIterator = this->buffer->getIterator(); 193 char* charElem = charIterator-> nextElement();193 char* charElem = charIterator->firstElement(); 194 194 195 195 while (charElem != NULL) … … 289 289 { 290 290 tIterator<char>* charIterator = this->buffer->getIterator(); 291 char* charElem = charIterator-> nextElement();291 char* charElem = charIterator->firstElement(); 292 292 293 293 int i = 1; … … 606 606 addLength = strlen(addString); 607 607 tIterator<const char>* charIterator = stringList->getIterator(); 608 const char* charElem = charIterator-> nextElement();608 const char* charElem = charIterator->firstElement(); 609 609 while (charElem != NULL) 610 610 { … … 655 655 656 656 tIterator<const char>* iterator = inputList->getIterator(); 657 const char* enumString = iterator-> nextElement();657 const char* enumString = iterator->firstElement(); 658 658 while (enumString != NULL) 659 659 { … … 687 687 688 688 tIterator<BaseObject>* iterator = inputList->getIterator(); 689 BaseObject* enumBO = iterator-> nextElement();689 BaseObject* enumBO = iterator->firstElement(); 690 690 while (enumBO != NULL) 691 691 { -
trunk/src/util/track/track_manager.cc
r5079 r5110 79 79 { 80 80 tIterator<TrackElement>* iterator = this->children->getIterator(); 81 TrackElement* enumElem = iterator-> nextElement();81 TrackElement* enumElem = iterator->firstElement(); 82 82 while (enumElem) 83 83 { … … 104 104 { 105 105 tIterator<TrackElement>* iterator = this->children->getIterator(); 106 TrackElement* enumElem = iterator-> nextElement();106 TrackElement* enumElem = iterator->firstElement(); 107 107 TrackElement* tmpElem; 108 108 while (enumElem) … … 133 133 { 134 134 tIterator<TrackElement>* iterator = this->children->getIterator(); 135 TrackElement* enumElem = iterator-> nextElement();135 TrackElement* enumElem = iterator->firstElement(); 136 136 TrackElement* tmpElem; 137 137 while (enumElem) … … 179 179 { 180 180 tIterator<TrackElement>* iterator = this->children->getIterator(); 181 TrackElement* enumElem = iterator-> nextElement();181 TrackElement* enumElem = iterator->firstElement(); 182 182 while (enumElem) 183 183 { … … 206 206 207 207 tIterator<TrackElement>* iterator = this->children->getIterator(); 208 TrackElement* enumElem = iterator-> nextElement();208 TrackElement* enumElem = iterator->firstElement(); 209 209 for (int i = 0; i < childCount; i++) 210 210 enumElem = iterator->nextElement(); … … 234 234 //TrackElement* enumElem = this->children->enumerate(); 235 235 tIterator<TrackElement>* iterator = this->children->getIterator(); 236 TrackElement* enumElem = iterator-> nextElement();236 TrackElement* enumElem = iterator->firstElement(); 237 237 while (enumElem) 238 238 { … … 331 331 //TrackElement* enumElem = this->children->enumerate(); 332 332 tIterator<TrackElement>* iterator = this->children->getIterator(); 333 TrackElement* enumElem = iterator-> nextElement();333 TrackElement* enumElem = iterator->firstElement(); 334 334 while (enumElem) 335 335 { … … 975 975 //TrackElement* enumElem = firstJoint->children->enumerate(); 976 976 tIterator<TrackElement>* iterator = firstJoint->children->getIterator(); 977 TrackElement* enumElem = iterator-> nextElement();977 TrackElement* enumElem = iterator->firstElement(); 978 978 while (enumElem) 979 979 { … … 1001 1001 { 1002 1002 tIterator<TrackElement>* iterator = tmpElem->children->getIterator(); 1003 TrackElement* enumElem = iterator-> nextElement();1003 TrackElement* enumElem = iterator->firstElement(); 1004 1004 //TrackElement* enumElem = tmpElem->children->enumerate(); 1005 1005 while (enumElem)
Note: See TracChangeset
for help on using the changeset viewer.