Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3798 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Apr 13, 2005, 5:22:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: play/rewind and so on work perfectly. (you can try them out on [1-5] keys
1 play
2 stop
3 pause
4 replay
5 rewind

File:
1 edited

Legend:

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

    r3794 r3798  
    940940      this->simpleAnimation->tick(seconds);
    941941     
    942       //      testAnim->tick(seconds);
     942            testAnim->tick(seconds);
    943943
    944944    }
     
    10501050  else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT);
    10511051  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
    10531058  return false;
    10541059}
Note: See TracChangeset for help on using the changeset viewer.