Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3731 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Apr 6, 2005, 12:44:49 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: animation player now works for two keyframes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r3678 r3731  
    723723      printf(" Removing 1st reference from list:\t%11.2f\n", mi);
    724724     
    725      
     725
     726      printf("\nList operations tests: \t\t\t\t\t%i\n", LIST_MAX);
     727      list = new tList<char>();
     728      printf(" Adding[1..10] elements to list, found:\n");
     729      list->add("1");
     730      list->add("2");
     731      list->add("3");
     732      list->add("4");
     733      list->add("5");
     734      list->add("6");
     735      list->add("7");
     736      list->add("8");
     737      list->add("9");
     738      list->add("10");
     739     
     740      /*give list out */
     741      iterator = list->getIterator();
     742      name = iterator->nextElement();
     743      printf("  List Elements: \t\t");
     744      while( name != NULL)
     745        {
     746          printf("%s,", name);
     747          name = iterator->nextElement();
     748        }
     749      delete iterator;
     750      printf("\n");
     751     
     752     
     753      int c = 0;
     754      printf(" Going trough list with nextElement(el) func: ");
     755      name = list->firstElement();
     756      while(c < 20)
     757        {
     758          printf("%s,", name);
     759          name = list->nextElement(name);
     760          c++;
     761        }
     762      printf("\n");
     763     
     764
    726765     
    727766    }
Note: See TracChangeset for help on using the changeset viewer.