diff options
author | B. Watson <yalhcru@gmail.com> | 2016-01-07 08:12:21 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-01-07 08:12:21 -0500 |
commit | b3532358b55af97983418e6edbf76029bc2e7162 (patch) | |
tree | 71b05fe7f9ebc70fab2954775a49164e3bc9153b /sounds.c | |
parent | ebbc4a225ba2ecf3b7d54510884976c4e7a961cc (diff) | |
download | taipan-b3532358b55af97983418e6edbf76029bc2e7162.tar.gz |
update readme, dike out unused sounds
Diffstat (limited to 'sounds.c')
-rw-r--r-- | sounds.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -80,6 +80,7 @@ void under_attack_sound(void) { stop_sound(); } +#ifdef NEW_SOUNDS void cannon_sound(void) { unsigned char i; @@ -113,11 +114,11 @@ void weve_been_hit_sound(void) { stop_sound(); } +#endif #ifdef TESTXEX int main(void) { for(;;) { - /* puts("Bad joss, Taipan!"); bad_joss_sound(); jsleep(30); @@ -129,8 +130,8 @@ int main(void) { puts("1.0E+97 hostile ships approaching, Taipan!"); under_attack_sound(); jsleep(30); - */ +#ifdef NEW_SOUNDS puts("We're firing on them!"); cannon_sound(); jsleep(30); @@ -138,6 +139,7 @@ int main(void) { puts("We've been hit!"); weve_been_hit_sound(); jsleep(30); +#endif } hang: goto hang; |