diff options
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 62 |
1 files changed, 0 insertions, 62 deletions
@@ -368,7 +368,6 @@ int get_time(void); void cprint_taipan_comma(void); void cprint_taipan_colon(void); void cprint_taipan_bang(void); -void cprint_taipan_bangbang(void); void cprint_taipan_period(void); void cprint_taipan_prompt(void); void cprint_elder_brother_wu(void); @@ -577,11 +576,6 @@ void cprint_taipan_bang(void) { cprint_bang(); } -void cprint_taipan_bangbang(void) { - cprint_taipan_bang(); - cprint_bang(); -} - void cprint_taipan_period(void) { comma_space(); cprint_taipan(); @@ -804,7 +798,6 @@ void overload(void) { compradores_report(); // cputs("Your ship is overloaded"); print_msg(M_overloaded); - cprint_taipan_bangbang(); good_joss_timed_getch(); return; } @@ -875,7 +868,6 @@ void new_gun(void) { if(yngetc(0) == 'y') { if(hold < 10) { print_msg(M_overburdened); - cprint_taipan_bang(); bad_joss_timed_getch(); return; } @@ -1063,9 +1055,6 @@ void fight_stats(int ships) { pluralize(ships); // cputs(" attacking"); print_msg(M_space_attacking); - cprint_taipan_bang(); - cspace(); - crlf(); // cputs("Your orders are: "); print_msg(M_your_orders_are); @@ -1186,7 +1175,6 @@ char sea_battle(char id, int num_ships) { if(!orders) { turbo = 0; gotox0y3_clrtoeol(); - cprint_taipan_comma(); // cputs("what shall we do??\n(Fight, Run, Throw cargo)"); print_msg(M_what_shall_we_do); under_attack_sound(); @@ -1207,12 +1195,10 @@ char sea_battle(char id, int num_ships) { ik = 1; // cputs("Aye, we'll fight 'em"); print_combat_msg(M_aye_fight); - cprint_taipan_period(); set_orders(); // cputs("We're firing on 'em"); print_combat_msg(M_were_firing); - cprint_taipan_bang(); set_orders(); for(i = 1; i <= guns; i++) { @@ -1279,12 +1265,10 @@ char sea_battle(char id, int num_ships) { cprintuint(sk); // cputs(" of the buggers"); print_msg(M_of_the_buggers); - cprint_taipan_bang(); if(!turbo) bad_joss_sound(); } else { // cputs("Hit 'em, but didn't sink 'em"); print_combat_msg(M_didnt_sink); - cprint_taipan_bang(); } set_orders(); @@ -1300,7 +1284,6 @@ char sea_battle(char id, int num_ships) { cprintuint(ran); // cputs(" ran away"); print_msg(M_ran_away); - cprint_taipan_bang(); bad_joss_sound(); if(num_ships <= 10) { @@ -1325,7 +1308,6 @@ char sea_battle(char id, int num_ships) { } else if ((orders == 1) && (guns == 0)) { // cputs("We have no guns"); print_combat_msg(M_we_have_no_guns); - cprint_taipan_bangbang(); bad_joss_sound(); turbo = 0; orders = 0; @@ -1338,7 +1320,6 @@ char sea_battle(char id, int num_ships) { if(hold_is_empty()) { print_combat_msg(M_you_have_no_cargo); - cprint_taipan_bangbang(); bad_joss_sound(); orders = 0; set_orders(); @@ -1404,7 +1385,6 @@ char sea_battle(char id, int num_ships) { if(total > 0) { // cputs("Let's hope we lose 'em"); print_combat_msg(M_hope_we_lose_em); - cprint_taipan_bang(); bad_joss_sound(); if (choice < 4) { hold_[choice] -= amount; @@ -1420,7 +1400,6 @@ char sea_battle(char id, int num_ships) { } else { // cputs("There's nothing there"); print_combat_msg(M_nothing_there); - cprint_taipan_bang(); good_joss_sound(); set_orders(); @@ -1432,7 +1411,6 @@ char sea_battle(char id, int num_ships) { if(orders == 2) { // cputs("Aye, we'll run"); print_combat_msg(M_aye_run); - cprint_taipan_period(); set_orders(); } @@ -1440,7 +1418,6 @@ char sea_battle(char id, int num_ships) { if(randi()%ok > randi()%num_ships) { // cputs("We got away from 'em"); print_combat_msg(M_we_got_away); - cprint_taipan_bang(); good_joss_sound(); /* don't use set_orders() here! it allows changing from Run to Fight, *after* getting away, so you end up getting booty @@ -1487,7 +1464,6 @@ char sea_battle(char id, int num_ships) { if(num_ships > 0) { // cputs("They're firing on us"); print_combat_msg(M_theyre_firing); - cprint_taipan_bang(); set_orders(); if(!turbo) explosion(); @@ -1497,7 +1473,6 @@ char sea_battle(char id, int num_ships) { // cputs("We've been hit"); print_combat_msg(M_weve_been_hit); - cprint_taipan_bangbang(); under_attack_sound(); set_orders(); @@ -1517,7 +1492,6 @@ char sea_battle(char id, int num_ships) { fight_stats(num_ships); // cputs("The buggers hit a gun"); print_combat_msg(M_buggers_hit_gun); - cprint_taipan_bangbang(); if(!turbo) under_attack_sound(); fight_stats(num_ships); update_guns(); @@ -1580,7 +1554,6 @@ char sea_battle(char id, int num_ships) { fight_stats(num_ships); // cputs("We got 'em all"); print_combat_msg(M_we_got_em_all); - cprint_taipan_bang(); bad_joss_timed_getch(); return 1; @@ -1848,7 +1821,6 @@ void port_stats(void) { void mchenry(void) { compradores_report(); - cprint_taipan_comma(); /* cputs("Mc Henry from the Hong Kong\n" "Shipyards has arrived!! He says, 'I see\n" @@ -2215,8 +2187,6 @@ void transfer(void) { clrtobot(); // cputs("You have no cargo"); print_msg(M_you_have_no_cargo); - cprint_taipan_period(); - crlf(); good_joss_timed_getch(); return; } @@ -2248,7 +2218,6 @@ void transfer(void) { gotox0y(21); // cputs("Your warehouse is full"); print_msg(M_whouse_full); - cprint_taipan_bang(); good_joss_timed_getch(); } else { gotox0y(21); @@ -2347,7 +2316,6 @@ unsigned char choose_port(void) { if(choice == port) { // cputs("\n\nYou're already here"); print_msg(M_already_here); - cprint_taipan_period(); good_joss_timed_getch(); } else if(choice <= 7) { return choice; @@ -2386,8 +2354,6 @@ void quit(void) { // if(num_ships != 1) cputc_s(); // cputs(" approaching"); print_msg(M_approaching); - cprint_taipan_bang(); - crlf(); under_attack_timed_getch(); result = sea_battle(GENERIC, num_ships); @@ -2410,9 +2376,6 @@ void quit(void) { // cprint_li_yuen(); // cputs("'s pirates"); print_msg(M_s_pirates); - cprint_taipan_bangbang(); - crlf(); - crlf(); bad_joss_timed_getch(); if(li > 0) { @@ -2430,7 +2393,6 @@ void quit(void) { /* "ships" will always be plural (at least 5 of them) */ // cputs(" ships of Li Yuen's pirate\nfleet"); print_msg(M_ships_of_fleet); - cprint_taipan_bangbang(); under_attack_timed_getch(); /* WTF, the original code reads: @@ -2461,7 +2423,6 @@ void quit(void) { } else { // cputs("The buggers got us"); print_msg(M_buggers_got_us); - cprint_taipan_bangbang(); // cputs("!\nIt's all over, now!!!"); print_msg(M_all_over_now); under_attack_timed_getch(); @@ -2475,9 +2436,6 @@ void quit(void) { clear_msg_window(); // cputs("Storm"); print_msg(M_storm); - cprint_taipan_bangbang(); - crlf(); - crlf(); bad_joss_timed_getch(); if(one_chance_in(30)) { @@ -2502,8 +2460,6 @@ void quit(void) { if(sunk) { // cputs("We're going down"); print_msg(M_were_going_down); - cprint_taipan_bangbang(); - crlf(); under_attack_timed_getch(); final_stats(); @@ -2635,7 +2591,6 @@ void li_yuen_extortion(void) { li = 1; } else { clear_msg_window(); - cprint_taipan_comma(); // cputs("you do not have enough cash!!\n\n"); print_msg(M_not_enough_cash); @@ -2673,8 +2628,6 @@ void li_yuen_extortion(void) { "wary of pirates if I were you."); */ print_msg(M_will_not_pay); - cprint_taipan_period(); - crlf(); } timed_getch(); } @@ -2687,7 +2640,6 @@ void li_yuen_extortion(void) { void you_only_have(unsigned char in_bank) { clear_msg_window(); - cprint_taipan_comma(); // cputs("you only have "); print_msg(M_you_only_have); if(in_bank) @@ -2846,7 +2798,6 @@ void elder_brother_wu(void) { } else { // cputs("\n\nHe won't loan you so much"); print_msg(M_wont_loan); - cprint_taipan_bang(); good_joss_timed_getch(); } } @@ -2874,8 +2825,6 @@ void elder_brother_wu(void) { "of all of your cash"); */ print_msg(M_bodyguards_killed); - cprint_taipan_bangbang(); - crlf(); under_attack_timed_getch(); } @@ -2920,7 +2869,6 @@ int port_choices(void) { compradores_report(); - cprint_taipan_comma(); // cputs("present prices per unit here are"); /* NB: exactly 40 cols */ print_msg(M_prices_here_are); @@ -3262,7 +3210,6 @@ void too_much_cash(void) { clear_msg_window(); // cputs("\nYou cannot carry so much cash"); print_msg(M_too_much_cash); - cprint_taipan_bang(); // cputs("\nYour ship would sink under the weight\nof your riches.\n"); print_msg(M_ship_would_sink); bad_joss_timed_getch(); @@ -3452,7 +3399,6 @@ int main(void) { if(wu_assassin) { wu_assassin = 0; compradores_report(); - cprint_taipan_comma(); // cputs("you have been assassinated!"); print_msg(M_assassinated_1); under_attack_timed_getch(); @@ -3488,8 +3434,6 @@ int main(void) { cprintuint(braves); // cputs(" braves\nto escort you to the Wu mansion"); print_msg(M_braves_to_escort); - cprint_taipan_period(); - crlf(); timed_getch(); @@ -3512,8 +3456,6 @@ int main(void) { "He hopes no such fate awaits you, his\nfriend"); */ print_msg(M_wu_warn_2); - cprint_taipan_period(); - crlf(); timed_getch(); @@ -3576,8 +3518,6 @@ int main(void) { compradores_report(); // cputs("Messenger reports large theft\nfrom warehouse"); print_msg(M_whouse_theft); - cprint_taipan_period(); - crlf(); timed_getch(); } @@ -3617,8 +3557,6 @@ int main(void) { cprintfancy(robbed); // cputs(" in cash"); print_msg(M_in_cash); - cprint_taipan_bangbang(); - crlf(); under_attack_timed_getch(); } |