Changeset 3798 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Apr 13, 2005, 5:22:56 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation.cc
r3797 r3798 47 47 { 48 48 this->rewind(); 49 this->bRunning = true; 50 this->tick(0.0); 49 51 this->bRunning = false; 50 52 } -
orxonox/trunk/src/animation.h
r3797 r3798 170 170 this->currentKeyFrame = keyFrameList->firstElement(); 171 171 this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement()); 172 this->localTime = 0.0; 172 173 } 173 174 -
orxonox/trunk/src/orxonox.conf
r3643 r3798 18 18 4=view3 19 19 5=view4 20 5=view520 6=view5 -
orxonox/trunk/src/story_entities/world.cc
r3794 r3798 940 940 this->simpleAnimation->tick(seconds); 941 941 942 //testAnim->tick(seconds);942 testAnim->tick(seconds); 943 943 944 944 } … … 1050 1050 else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT); 1051 1051 else if( !strcmp( cmd->cmd, "view5")) this->localCamera->setViewMode(VIEW_TOP); 1052 1052 if (!strcmp(cmd->cmd, "view0")) testAnim->play(); 1053 if (!strcmp(cmd->cmd, "view1")) testAnim->stop(); 1054 if (!strcmp(cmd->cmd, "view2")) testAnim->pause(); 1055 if (!strcmp(cmd->cmd, "view3")) testAnim->replay(); 1056 if (!strcmp(cmd->cmd, "view4")) testAnim->rewind(); 1057 1053 1058 return false; 1054 1059 }
Note: See TracChangeset
for help on using the changeset viewer.