krzys_h

Colobot - music

Dec 28th, 2013
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. extern void object::MusicPlease()
  2. {
  3.     int a = 0;
  4.     string[] songs;
  5.     songs[a++] = "Constructive.ogg";
  6.     songs[a++] = "Humanitarian.ogg";
  7.  
  8.     while(true) {
  9.         for(int i=0; i<a; i++) {
  10.             playmusic(songs[i], 1);
  11.             wait(20);
  12.         }
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment