Added some sound effects
This commit is contained in:
@@ -160,7 +160,10 @@ void beep_win() {
|
|||||||
play_jingle(880, 660, 660, 880, 880, 1760);
|
play_jingle(880, 660, 660, 880, 880, 1760);
|
||||||
}
|
}
|
||||||
void beep_lose() {
|
void beep_lose() {
|
||||||
|
unsigned short i;
|
||||||
play_jingle(110, 55, 220, 110, 110, 55);
|
play_jingle(110, 55, 220, 110, 110, 55);
|
||||||
|
for(i=0;i<4000;++i);
|
||||||
|
play_jingle(110, 55, 110, 55, 110, 55);
|
||||||
}
|
}
|
||||||
void beep_err() {
|
void beep_err() {
|
||||||
play_jingle(330, 220, 330, 220, 330, 220);
|
play_jingle(330, 220, 330, 220, 330, 220);
|
||||||
|
|||||||
Reference in New Issue
Block a user