Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7306 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Apr 16, 2006, 10:12:11 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Play Stop Rewind and Pause work perfectly: you can test this in this revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r7304 r7306  
    273273    /* draw everything */
    274274    this->display ();
     275
     276    if (this->dataTank->music)
     277    {
     278      if (this->cycle%100 == 0)
     279      {
     280        printf("Cycle %d  ", this->cycle);
     281        this->dataTank->music->printState();
     282      }
     283      if (this->cycle == 500)
     284        this->dataTank->music->pause();
     285      if (this->cycle == 1000)
     286        this->dataTank->music->play();
     287      if (this->cycle == 1500)
     288        this->dataTank->music->stop();
     289      if (this->cycle == 2000)
     290        this->dataTank->music->play();
     291
     292
     293    }
    275294  }
    276295
Note: See TracChangeset for help on using the changeset viewer.