diff options
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -584,6 +584,7 @@ int sea_battle(int id, int num_ships) { gotoxy(0, 3); clrtoeol(); cputs("Taipan, what shall we do??\r\n(Fight, Run, Throw cargo)"); + under_attack_sound(); // timeout(-1); while ((input != 'f') && (input != 'r') && @@ -849,6 +850,7 @@ int sea_battle(int id, int num_ships) { gotoxy(0, 3); clrtoeol(); cputs("There's nothing there, Taipan!"); + good_joss_sound(); // gotoxy(0, 18); // clrtobot(); @@ -955,6 +957,7 @@ int sea_battle(int id, int num_ships) { gotoxy(0, 3); clrtoeol(); cputs("We've been hit, Taipan!!"); + under_attack_sound(); timed_getch(TMOUT_3S); @@ -974,6 +977,7 @@ int sea_battle(int id, int num_ships) { gotoxy(0, 3); clrtoeol(); cputs("The buggers hit a gun, Taipan!!"); + under_attack_sound(); fight_stats(num_ships, orders); timed_getch(TMOUT_3S); @@ -1699,11 +1703,13 @@ void transfer(void) } else if (in_use == 10000) { gotoxy(0, 21); cputs("Your warehouse is full, Taipan!"); + good_joss_sound(); } else { gotoxy(0, 21); cputs("Your warehouse will only hold an\r\nadditional "); cprintulong(10000 - in_use); cputs(", Taipan!"); + good_joss_sound(); timed_getch(TMOUT_5S); } @@ -1713,6 +1719,7 @@ void transfer(void) cputs("You have only "); cprintulong(hold_[i]); cputs(", Taipan.\r\n"); + good_joss_sound(); timed_getch(TMOUT_5S); } @@ -1915,6 +1922,7 @@ void quit(void) if(sunk) { cputs("We're going down, Taipan!!\r\n"); + under_attack_sound(); timed_getch(TMOUT_5S); final_stats(); @@ -2191,6 +2199,7 @@ void elder_brother_wu(void) cputs("Taipan, you only have "); cputs(fancy_num); cputs("\r\nin cash.\r\n"); + good_joss_sound(); timed_getch(TMOUT_5S); } @@ -2216,7 +2225,7 @@ void elder_brother_wu(void) break; } else { cputs("\r\n\r\nHe won't loan you so much, Taipan!"); - + good_joss_sound(); timed_getch(TMOUT_5S); } } @@ -2239,6 +2248,7 @@ void elder_brother_wu(void) cputs(" of your bodyguards have been killed\r\n"); cputs("by cutthroats and you have been robbed\r\n"); cputs("of all of your cash, Taipan!!\r\n"); + under_attack_sound(); timed_getch(TMOUT_5S); } @@ -2701,6 +2711,7 @@ void visit_bank(void) cputs("Taipan, you only have "); cputs(fancy_num); cputs("\r\nin cash.\r\n"); + good_joss_sound(); timed_getch(TMOUT_5S); } @@ -2727,6 +2738,7 @@ void visit_bank(void) cputs("Taipan, you only have "); cputs(fancy_num); cputs("\r\nin the bank."); + good_joss_sound(); timed_getch(TMOUT_5S); } @@ -2910,6 +2922,7 @@ int main(void) { cputs("robbed of "); cputs(fancy_num); cputs(" in cash, Taipan!!\r\n"); + under_attack_sound(); timed_getch(TMOUT_5S); } |