char levelname[20];
char leveltheme[20];
char str[10];
+int sound_pos;
+
/* Local function prototypes: */
current_music = LEVEL_MUSIC;
halt_music();
}
+
if (!playing_music())
+ {
play_music( level_song, 1 );
+ sound_pos = 0;
+ }
+
if (tux_invincible_time > 0)
tux_invincible_time--;
+
+ if (current_music == LEVEL_MUSIC && time_left < 250)
+ {
+ if ((frame % 10) == 0)
+ {
+ set_music_position(sound_pos);
+ sound_pos++;
+ }
+ }
+ else
+ {
+ sound_pos = 0;
+ }
}