aboutsummaryrefslogtreecommitdiff
path: root/sounds.c
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-07 08:12:21 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-07 08:12:21 -0500
commitb3532358b55af97983418e6edbf76029bc2e7162 (patch)
tree71b05fe7f9ebc70fab2954775a49164e3bc9153b /sounds.c
parentebbc4a225ba2ecf3b7d54510884976c4e7a961cc (diff)
downloadtaipan-b3532358b55af97983418e6edbf76029bc2e7162.tar.gz
update readme, dike out unused sounds
Diffstat (limited to 'sounds.c')
-rw-r--r--sounds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sounds.c b/sounds.c
index de6ea83..f6a4ac0 100644
--- a/sounds.c
+++ b/sounds.c
@@ -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;